Skip to content

Releases: Vovan-VE/go-lr0-parser

v0.1.0

06 Nov 10:47
a1b86a5
Compare
Choose a tag to compare
  • Add: A Terminal can now be defined with more trivial callbacks. The *TerminalFactory now has FuncByte() and FuncRune():
    NewTerm(tInt, "int").FuncByte(isDigit, bytesToInt)
    NewWhitespace().FuncRune(unicode.IsSpace)
    
    func isDigit(b byte) bool              { return b >= '0' && b <= '9' }
    func bytesToInt(b []byte) (int, error) { return strconv.Atoi(string(b)) }

v0.0.1

02 Nov 15:48
a7338ea
Compare
Choose a tag to compare

First release.