35 Commits (main)
 

Author SHA1 Message Date
Alejandro Mery 5f816300f6 Merge pull request 'lexer: introduce Position.Add()' (#13) 11 months ago
Alejandro Mery 5f81eb0ea5 Merge pull request 'lexer: add Hint to Error, which is expanded as "%s" instead of "%q"' (#12) 11 months ago
Alejandro Mery ce75299e74 lexer: add Hint to Error, which is expanded as "%s" instead of "%q" 11 months ago
Alejandro Mery 1d7ee69ab7 lexer: refactor Error.Error()'s prefix generator 11 months ago
Alejandro Mery ec0fc8e508 lexer: introduce Position.Add() 11 months ago
Alejandro Mery 4aceeabdf2 chore: update dependencies 11 months ago
Alejandro Mery c31cfb9244 Merge pull request 'README: add initial description of the package' (#11) 11 months ago
Alejandro Mery 9fcc64347b README: add initial description of the package 11 months ago
Alejandro Mery 8e4f759260 Merge pull request 'lexer: introduce NewIsInRunes() shortcut for NewIsIn()' (#10) 11 months ago
Alejandro Mery 2ab838ea78 lexer: introduce NewIsInRunes() shortcut for NewIsIn() 11 months ago
Alejandro Mery 3bd2c58fc3 Merge pull request 'lexer: constants and helpers' (#9) 11 months ago
Alejandro Mery f8f6ff9e11 Merge pull request 'lexer: Reader.Accept(), AcceptAll(), and StateFn' (#5) 11 months ago
Alejandro Mery 05d504346e lexer: extend Run() to treat io.EOF as non-error termination 11 months ago
Alejandro Mery eb9261b478 lexer: NewIsNot(), NewIsIn(), NewIsOneOf() 11 months ago
Alejandro Mery 0098052142 lexer: IsSpace() 11 months ago
Alejandro Mery a02326a0a6 lexer: ErrUnacceptableRune and ErrNotImplemented 11 months ago
Alejandro Mery 93c58cdc26 Merge pull request 'lexer: introduce a Position (Line, Column) handler' (#8) 11 months ago
Alejandro Mery 9425ba0f7c lexer: introduce a Position (Line, Column) handler 11 months ago
Alejandro Mery 5a7b19bb06 Merge pull request 'build-sys: import build system from darvaza.org/core' (#7) 11 months ago
Alejandro Mery 6c189fd87d build-sys: import build system from darvaza.org/core 11 months ago
Alejandro Mery 1d62857e14 lexer: introduce StateFn and the basic state machine loop 11 months ago
Alejandro Mery f7e13e0978 Merge pull request 'lexer: introduce Error{}' (#6) 11 months ago
Alejandro Mery f67d8a2443 lexer: introduce Error{} 11 months ago
Alejandro Mery d83b128c30 lexer: introduce Reader.Accept()/AcceptAll() 11 months ago
Alejandro Mery 76e6146e9e Merge pull request 'introduce NewReadCloser to allow byte and string buffers to offer io.ReadCloser' (#1 11 months ago
Alejandro Mery f79e2bee9e Merge pull request 'lexer: rename runes.Reader to lexer.Reader and implement UnreadRune() and PeekRune()' (#4) 11 months ago
Alejandro Mery 6cca2996ca lexer: Implement Reader.UnreadRune() and Reader.PeekRune() 11 months ago
Alejandro Mery edcba80baa lexer: fix ReadRune() to actually move the cursor 11 months ago
Alejandro Mery 7230a74f49 lexer: runes.Reader renamed to lexer.Reader 11 months ago
Alejandro Mery 1b223e3751 introduce NewReadCloser to allow byte and string buffers to offer io.ReadCloser 11 months ago
Alejandro Mery 07b652c414 chore: rename module to asciigoat.org/core 11 months ago
Alejandro Mery eaa846b64b runes.Reader: simplify buffer handling 11 months ago
Alejandro Mery fef0d81610 runes.Reader: introduce String(), Emit() and Discard() 11 months ago
Alejandro Mery fad6357d91 runes: initial RuneReader implementation 11 months ago
Alejandro Mery f6a391904d Initial commit 11 months ago