Alejandro Mery
|
9f4f801066
|
env: extend Reader{} to implement io.Closer
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
3 years ago |
Alejandro Mery
|
26366f82bd
|
env: add skeleton of io.Reader wrapper
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
3 years ago |
Alejandro Mery
|
d289643458
|
build-sys: replace gofmt.sh with `make fmt`
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
3 years ago |
Alejandro Mery
|
76e566b92e
|
go.mod: add initial go.mod
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
3 years ago |
Alejandro Mery
|
33dbfec54a
|
ebnf/token: Add initial TokenType
|
10 years ago |
Alejandro Mery
|
2797253a96
|
scanner: adjust comments to make golint happy
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
71599c9adb
|
scanner: change NewScannerFromString() to accept empty strings
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
538ebfe37b
|
scanner.Scanner: rename NextLine() to NewLine()
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
42a75bf4d9
|
ebnf: add some doc
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
100d6d5cec
|
scanner: add initial dummy doc
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
f9405e7fe1
|
scanner.Scanner: Add .NewLine() helper to increment line of the cursor
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
7a4713a353
|
scanner.Scanner: add StepBack(), Reset() and Skip() methods
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
d4dbc28aee
|
scanner.Scanner: initial struct and methods for the low level text scanner
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
ca274e51a3
|
scanner.Terminal: A literal (utf8) string within a document
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
e55382c583
|
Import gofmt.sh helper from asciigoat.org/ini
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
2991b67b39
|
ebnf: replace ebnf.ebnf with grammar from the iso 14977
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
494855f0d1
|
ebnf:doc: add final draft of iso 14977
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
b402063aae
|
ebnf:doc: add syntax file for vim
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
6487b2a49d
|
ebnf: add empty package, and ebnf grammar copied from wikipedia
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
10 years ago |
Alejandro Mery
|
5a096152a2
|
Create asciigoat.org/core package
Signed-off-by: Alejandro Mery <amery@geeks.cl>
|
11 years ago |