Closed tamasfe closed 2 years ago
All upstream example code parse tests succeed, I'm sure it's not perfect and edge-cases can occur (especially with string interpolations).
The parser performance improved a lot as well as we now rarely create errors and thus there are a lot less allocations:
All tokens are available from the Rhai book.
Only very simple code can be parsed right now, a Pratt parsing algorithm is required for expressions (and precedence).