ng

Steps to add new syntax:

Steps:

  1. Create new token type (if not exists)
  2. Add lexer method to lex the token
  3. Check if reserved tokens were used and update
  4. Add lexer test
  5. Add new AST type
  6. Implement the parser
  7. Add parser test
  8. Add new visitor method for the AST type
  9. Implement interpreter
  10. Update examples for the new syntax
  11. Update integration test to include new syntax example file
  12. Implement serializer