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
Expected:
This kind of error can be handled by the parser, so we can get the parsing tree and the error info like Unexpected character or Unexpected Token.
Grammar file: https://github.com/opencybersecurityalliance/kestrel-lang/blob/develop/src/kestrel/syntax/kestrel.lark
Generated parser:
kestrelParser.js.zip
When parsing this statement

procs2 = GET process abc, the parser throws the exception like below which is not caught by parser.Code
Expected:
This kind of error can be handled by the parser, so we can get the parsing tree and the error info like
Unexpected characterorUnexpected Token.