-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoc.go
74 lines (39 loc) · 1.59 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*
Package parsing is a multi-package Go repo focused on text parsing, with lexers, parsers, and related utils.
Goal
This repo aspires to be the best toolset for creating hand-written lexers and parsers in Golang.
Multi-Module Repo
The modules within this repo are intended to work together, but are allowed to evolve separately.
Exported Modules
The following packages are currently exported:
* github.com/tekwizely/go-parsing/lexer
* github.com/tekwizely/go-parsing/lexer/token
* github.com/tekwizely/go-parsing/parser
Lexer
Base components of a lexical analyzer, enabling the
creation of hand-written lexers for tokenizing textual content.
The tokenized data is suitable for processing with a parser.
Some Features of this Lexer:
* Rune-Centric
* Infinite Lookahead
* Mark / Reset Functionality
Lexer-Token
Token-related types and interfaces used between the lexer and the parser.
Parser
Base components of a token analyzer, enabling the
creation of hand-written parsers for generating Abstract Syntax Trees.
Some Features of this Parser:
* Infinite Lookahead
* Mark / Reset Functionality
Links
You can learn more online:
* GitHub https://github.com/TekWizely/go-parsing
* GoDoc https://godoc.org/github.com/tekwizely/go-parsing
NOTE
Although useful in its own right, this file (doc.go) mostly exists to prevent pre-commit hooks from generating
"no file" errors against the root folder. See:
https://github.com/TekWizely/go-parsing/issues/3
License
The go-parsing repo and all contained packages are released under the MIT License. See LICENSE file.
*/
package parsing