Commit Graph

64 Commits

Author SHA1 Message Date
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
d0a8e1dc08 Fix: Use CommonJS for Nearley grammar preprocessor 2025-09-26 07:59:49 -07:00
multipleof4
b187f9e42b Docs: Update test results 2025-09-26 14:35:22 +00:00
f9ac5b2e0d Fix: Implement global try/catch to log all errors 2025-09-26 07:34:46 -07:00
7c704655aa Fix: Generate ESM parser to match project type 2025-09-26 07:33:49 -07:00
425367106a Refactor: Add concurrency and remove workflow name 2025-09-26 07:27:45 -07:00
bffbfbc655 Fix: Use npx to ensure nearleyc is found 2025-09-26 07:26:01 -07:00
cd99d813a1 Refactor: Move nearley to devDependencies 2025-09-26 07:21:08 -07:00
d54557c8d4 Fix: Add npm install step to CI workflow 2025-09-26 07:21:00 -07:00
d0bc019400 Refactor: Use ES Modules in grammar definition 2025-09-26 07:20:54 -07:00
multipleof4
f32744e660 Docs: Update test results 2025-09-26 08:59:05 +00:00
502be5a4ae Feat: Ensure test report is always generated on failure 2025-09-26 01:58:53 -07:00
bb69101f33 Refactor: Delegate parser build step to test_runner.js 2025-09-26 01:58:50 -07:00
d271a4f857 Refactor: Implement AST generator for new grammar 2025-09-26 01:53:15 -07:00
32d7292e47 Feat: Implement robust AST parser for Hi language 2025-09-26 01:53:11 -07:00
072eeb7e99 Refactor: Implement AST parser and generator 2025-09-26 01:41:42 -07:00
efef571d39 Feat: Initial Hi language grammar for declarations 2025-09-26 01:41:39 -07:00
78853de006 Feat: Add nearley and moo for AST parsing 2025-09-26 01:41:36 -07:00
f36fa53031 Test: Expected 5 for nested_object 2025-09-26 01:41:28 -07:00
82901c0cf3 Test: Nested object parsing 2025-09-26 01:41:26 -07:00
9dc4d85232 Test: Expected 3 for object_multi 2025-09-26 01:41:23 -07:00
8f4bfab76f Test: Object with multi props + sum 2025-09-26 01:41:21 -07:00
25c1ae45ae Fix: Correct table Status key, keep code 2025-09-26 01:41:16 -07:00
multipleof4
9c9e5a1f11 Docs: Update test results 2025-09-26 08:16:03 +00:00
2f0d649b81 Fix: Grant write permissions to workflow 2025-09-26 01:15:51 -07:00
9712243d99 Feat: Add GitHub Action workflow for tests 2025-09-26 01:14:34 -07:00
68ae25fc20 Feat: Create test runner script 2025-09-26 01:14:14 -07:00
d75a67e2f7 Feat: Add expected output for simple_io test 2025-09-26 01:14:04 -07:00
f6e024a34d Feat: Add passing test for basic I/O 2025-09-26 01:14:01 -07:00
44176e9984 Feat: Add expected output for declarations test 2025-09-26 01:13:44 -07:00
578e25052e Feat: Add failing test for block declarations 2025-09-26 01:13:39 -07:00
c16ac60cc1 Feat: Add test script to package.json 2025-09-26 01:13:18 -07:00
4d3a5659a6 Delete test/blocks.hi 2025-09-26 01:05:09 -07:00
0c87e5392b Delete test/primitives.hi 2025-09-26 01:05:00 -07:00
227e690486 Revert: Update transpiler.js 2025-09-26 01:04:44 -07:00
c34adf2c94 Revert: Update package.json 2025-09-26 01:04:41 -07:00