You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current parser is generated using ohyacc, a version of goyacc that has been modified to allow:
The lexer to trigger the parser to exit abnormally (Ctrl-C pressed).
The parser to restart with a clear state for each command.
Additionally the lexer/parser have been hacked at to allow a partial parse in order to generate better completion candidates.
This works but a hand-written parser and a lexer that doesn't have to work around the constraints imposed by yacc would allow for more fine-grained control and, hopefully, less convoluted code.
The text was updated successfully, but these errors were encountered:
The current parser is generated using ohyacc, a version of goyacc that has been modified to allow:
Additionally the lexer/parser have been hacked at to allow a partial parse in order to generate better completion candidates.
This works but a hand-written parser and a lexer that doesn't have to work around the constraints imposed by yacc would allow for more fine-grained control and, hopefully, less convoluted code.
The text was updated successfully, but these errors were encountered: