Closed QuestionPython closed 7 years ago
The documentation mentions a Unicode friendly runtime package for lex.
speed for me in important. i want use a good data type, like []byte or []rune! then also can get from file, or inline input.
The New function takes a io.RuneReader
as its argument.
available a sample calc with sample vm source with flex,yacc in go?
No, but have a look at the example.l source for inspiration. Or a more real-world example can be seen here.
@questionpython Seems like there's nothing left to do here, closing. Please reopen if you feel otherwise.
hello,
How set input of golex & goyacc as runes Data type?
lexer.l :
parser.y file:
main.go file:
speed for me in important. i want use a good data type, like []byte or []rune! then also can get from file, or inline input.
how fix? may write a good sample ? or help me?