Parser
- Allow dereferencing
this
without thethis
keyword (chain the dot operators). - Correct typings for
SliceExpression
. - Nest the binary expressions according to the binary operator precedence.
Walker 0.1.0
If the recursive walker fails, include the latest visited node in the error.
Interpreter 0.1.0
- Ignore the imaginary operator
^^
, recognise the existing one||
. - Fix built-in object method lookup.
- Set default values to declared variables.
- Introduce built-in objects
Assoc
,List
andRegex
. - Add runtime type checking to the built-in functions and object methods.
- Include the last interpreted node in the runtime error report.
- Inline the preparation of AST from an extra preprocessing step to the interpretation phase.
BREAKING CHANGE: The second parameters of interpret
is an object with options. The parameter globals
has been moved to a property in the options
object.