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
Hello,
I tried to start using parakeet because its API looks good and is practically used.
Well, at the very beginning I ran into the problem of which nuggets to install in order for the example given on CodeProject to work. I solved that.
I had a problem with practical use, I corrected the grammar, but the ReadMe lacks how to parse the input, how to pass AST or tokens,...
Could you add a complete example to the ReadMe, for example a simple calculator? It would be enough to show the grammar, show its notation in Parakeet, how to parse the input, display the AST/tokens on the console, calculate the result of the math formula (eg. 32 + 14 * (2 + 3) - 1).
I mean the grammar for the calculator, which is often used in examples for parsers:
E ::= E '+' T | E '-' T | T
T ::= T '*' F | T '/' F | F
F ::= number | '(' E ')'
number ::= `[1-9]\d*`
The text was updated successfully, but these errors were encountered:
Hello,
I tried to start using parakeet because its API looks good and is practically used.
Well, at the very beginning I ran into the problem of which nuggets to install in order for the example given on CodeProject to work. I solved that.
I had a problem with practical use, I corrected the grammar, but the ReadMe lacks how to parse the input, how to pass AST or tokens,...
Could you add a complete example to the ReadMe, for example a simple calculator? It would be enough to show the grammar, show its notation in Parakeet, how to parse the input, display the AST/tokens on the console, calculate the result of the math formula (eg.
32 + 14 * (2 + 3) - 1
).I mean the grammar for the calculator, which is often used in examples for parsers:
The text was updated successfully, but these errors were encountered: