99 Commits

Author SHA1 Message Date
multipleof4
7052cc5323 Docs: Update test results 2025-09-26 17:14:42 +00:00
1aa4c04240 Fix: Resolve ambiguity in statement rule with GATE 2025-09-26 10:14:30 -07:00
multipleof4
c1e55680cf Docs: Update test results 2025-09-26 17:10:00 +00:00
673fb04494 Feat: Support ObjectLiteral; keep IIFE for blocks 2025-09-26 10:09:48 -07:00
1d1e168756 Fix: Add objects/rel ops/assignable; stable member chain 2025-09-26 10:09:41 -07:00
edf64a5b55 Fix: Disambiguate grammar; add objects/rel ops/assignable 2025-09-26 10:09:35 -07:00
multipleof4
91db5422dd Docs: Update test results 2025-09-26 15:43:22 +00:00
b85d128186 Fix: Correct Chevrotain DSL for binary expressions 2025-09-26 08:43:06 -07:00
multipleof4
4e251b1b32 Docs: Update test results 2025-09-26 15:41:18 +00:00
6e51b569da Fix: Replace non-existent SEPERATED_LIST with pattern 2025-09-26 08:41:03 -07:00
multipleof4
d17d098e24 Docs: Update test results 2025-09-26 15:38:55 +00:00
b8d434531d Fix: Reorder parser rules to fix initialization error 2025-09-26 08:38:37 -07:00
36069fcb01 Fix: Correctly build binary expression AST 2025-09-26 08:38:31 -07:00
multipleof4
aefd5cab75 Docs: Update test results 2025-09-26 15:30:48 +00:00
16dc9cc99a Feat: Add test for operator precedence 2025-09-26 08:30:35 -07:00
50ab73cf1e Feat: Add test for function declaration and invocation 2025-09-26 08:30:31 -07:00
eb00d983e2 Feat: Add test for conditional (ternary) expressions 2025-09-26 08:30:23 -07:00
d1b3e6aaf7 Feat: Add test for array literals and access 2025-09-26 08:30:18 -07:00
21d77c13dc Feat: Add expected output for precedence test 2025-09-26 08:30:15 -07:00
b96885ebad Feat: Add expected output for functions test 2025-09-26 08:30:11 -07:00
e64ef24aec Feat: Add expected output for conditionals test 2025-09-26 08:30:08 -07:00
e3cd55010e Feat: Add expected output for arrays test 2025-09-26 08:30:05 -07:00
b14e1a1aa3 Docs: Reset test results for new test run 2025-09-26 08:30:01 -07:00
f3bfc01be7 Feat: Generate JS for new AST nodes and implicit returns 2025-09-26 08:29:56 -07:00
1589f8affe Feat: Build AST nodes for new language features 2025-09-26 08:29:51 -07:00
5c39bae274 Feat: Implement operator precedence and new syntax rules 2025-09-26 08:29:46 -07:00
71bd4b500e Feat: Add tokens for expressions, arrays, and functions 2025-09-26 08:29:41 -07:00
multipleof4
f90d4fa879 Docs: Update test results 2025-09-26 15:22:47 +00:00
05ce8122c4 Refactor: Update import path for transpiler 2025-09-26 08:22:31 -07:00
7f3967ab0b Refactor: Update import path for transpiler 2025-09-26 08:22:27 -07:00
03b32da9a4 Refactor: Update import path for transpiler 2025-09-26 08:22:24 -07:00
8780854a21 Feat: Create main transpiler entry point 2025-09-26 08:22:16 -07:00
f4b52641f2 Feat: Create dedicated JS code generator module 2025-09-26 08:22:07 -07:00
fe41631ff3 Feat: Create dedicated AST builder module 2025-09-26 08:21:55 -07:00
16ad4b59fe Feat: Create dedicated parser module for grammar 2025-09-26 08:21:50 -07:00
c239424522 Feat: Create dedicated lexer module for tokens 2025-09-26 08:21:46 -07:00
multipleof4
addd8135a1 Docs: Update test results 2025-09-26 15:21:32 +00:00
b6471e6a3b Delete: Replaced by src/generator.js and src/index.js 2025-09-26 08:21:20 -07:00
660a45fafa Delete: Decompose into src/lexer, src/parser, src/ast-builder 2025-09-26 08:21:18 -07:00
multipleof4
eba1bce8c1 Docs: Update test results 2025-09-26 15:14:55 +00:00
189baa1d18 Refactor: Add global error handlers to test runner 2025-09-26 08:14:38 -07:00
multipleof4
0db6dece76 Docs: Update test results 2025-09-26 15:14:18 +00:00
01b5d5b62a Fix: Correct comment token regex to prevent lexer error 2025-09-26 08:14:03 -07:00
d521acf9bd Refactor: Remove parser build step after Chevrotain migration 2025-09-26 08:04:40 -07:00
ef0995c74f Refactor: Replace Nearley with Chevrotain parser workflow 2025-09-26 08:04:35 -07:00
41f3e9e8c8 Feat: Implement lexer, parser, and AST builder using Chevrotain 2025-09-26 08:04:30 -07:00
f7c7856961 Feat: Replace Nearley with Chevrotain and remove build script 2025-09-26 08:04:24 -07:00
4e0782831e Delete: Remove Nearley grammar file for Chevrotain migration 2025-09-26 08:04:03 -07:00
multipleof4
07ed9ec1e5 Docs: Update test results 2025-09-26 15:00:12 +00:00
b31cd378f7 Fix: Generate CommonJS parser to align with grammar 2025-09-26 07:59:56 -07:00