Commit Graph
79 Commits
Author SHA1 Message Date
multipleof4 b8d434531d Fix: Reorder parser rules to fix initialization error 2025-09-26 08:38:37 -07:00
multipleof4 36069fcb01 Fix: Correctly build binary expression AST 2025-09-26 08:38:31 -07:00
multipleof4 16dc9cc99a Feat: Add test for operator precedence 2025-09-26 08:30:35 -07:00
multipleof4 50ab73cf1e Feat: Add test for function declaration and invocation 2025-09-26 08:30:31 -07:00
multipleof4 eb00d983e2 Feat: Add test for conditional (ternary) expressions 2025-09-26 08:30:23 -07:00
multipleof4 d1b3e6aaf7 Feat: Add test for array literals and access 2025-09-26 08:30:18 -07:00
multipleof4 21d77c13dc Feat: Add expected output for precedence test 2025-09-26 08:30:15 -07:00
multipleof4 b96885ebad Feat: Add expected output for functions test 2025-09-26 08:30:11 -07:00
multipleof4 e64ef24aec Feat: Add expected output for conditionals test 2025-09-26 08:30:08 -07:00
multipleof4 e3cd55010e Feat: Add expected output for arrays test 2025-09-26 08:30:05 -07:00
multipleof4 b14e1a1aa3 Docs: Reset test results for new test run 2025-09-26 08:30:01 -07:00
multipleof4 f3bfc01be7 Feat: Generate JS for new AST nodes and implicit returns 2025-09-26 08:29:56 -07:00
multipleof4 1589f8affe Feat: Build AST nodes for new language features 2025-09-26 08:29:51 -07:00
multipleof4 5c39bae274 Feat: Implement operator precedence and new syntax rules 2025-09-26 08:29:46 -07:00
multipleof4 71bd4b500e Feat: Add tokens for expressions, arrays, and functions 2025-09-26 08:29:41 -07:00
multipleof4 05ce8122c4 Refactor: Update import path for transpiler 2025-09-26 08:22:31 -07:00
multipleof4 7f3967ab0b Refactor: Update import path for transpiler 2025-09-26 08:22:27 -07:00
multipleof4 03b32da9a4 Refactor: Update import path for transpiler 2025-09-26 08:22:24 -07:00
multipleof4 8780854a21 Feat: Create main transpiler entry point 2025-09-26 08:22:16 -07:00
multipleof4 f4b52641f2 Feat: Create dedicated JS code generator module 2025-09-26 08:22:07 -07:00
multipleof4 fe41631ff3 Feat: Create dedicated AST builder module 2025-09-26 08:21:55 -07:00
multipleof4 16ad4b59fe Feat: Create dedicated parser module for grammar 2025-09-26 08:21:50 -07:00
multipleof4 c239424522 Feat: Create dedicated lexer module for tokens 2025-09-26 08:21:46 -07:00
multipleof4 b6471e6a3b Delete: Replaced by src/generator.js and src/index.js 2025-09-26 08:21:20 -07:00
multipleof4 660a45fafa Delete: Decompose into src/lexer, src/parser, src/ast-builder 2025-09-26 08:21:18 -07:00
multipleof4 189baa1d18 Refactor: Add global error handlers to test runner 2025-09-26 08:14:38 -07:00
multipleof4 01b5d5b62a Fix: Correct comment token regex to prevent lexer error 2025-09-26 08:14:03 -07:00
multipleof4 d521acf9bd Refactor: Remove parser build step after Chevrotain migration 2025-09-26 08:04:40 -07:00
multipleof4 ef0995c74f Refactor: Replace Nearley with Chevrotain parser workflow 2025-09-26 08:04:35 -07:00
multipleof4 41f3e9e8c8 Feat: Implement lexer, parser, and AST builder using Chevrotain 2025-09-26 08:04:30 -07:00
multipleof4 f7c7856961 Feat: Replace Nearley with Chevrotain and remove build script 2025-09-26 08:04:24 -07:00
multipleof4 4e0782831e Delete: Remove Nearley grammar file for Chevrotain migration 2025-09-26 08:04:03 -07:00
multipleof4 b31cd378f7 Fix: Generate CommonJS parser to align with grammar 2025-09-26 07:59:56 -07:00
multipleof4 d0a8e1dc08 Fix: Use CommonJS for Nearley grammar preprocessor 2025-09-26 07:59:49 -07:00
multipleof4 f9ac5b2e0d Fix: Implement global try/catch to log all errors 2025-09-26 07:34:46 -07:00
multipleof4 7c704655aa Fix: Generate ESM parser to match project type 2025-09-26 07:33:49 -07:00
multipleof4 425367106a Refactor: Add concurrency and remove workflow name 2025-09-26 07:27:45 -07:00
multipleof4 bffbfbc655 Fix: Use npx to ensure nearleyc is found 2025-09-26 07:26:01 -07:00
multipleof4 cd99d813a1 Refactor: Move nearley to devDependencies 2025-09-26 07:21:08 -07:00
multipleof4 d54557c8d4 Fix: Add npm install step to CI workflow 2025-09-26 07:21:00 -07:00
multipleof4 d0bc019400 Refactor: Use ES Modules in grammar definition 2025-09-26 07:20:54 -07:00
multipleof4 502be5a4ae Feat: Ensure test report is always generated on failure 2025-09-26 01:58:53 -07:00
multipleof4 bb69101f33 Refactor: Delegate parser build step to test_runner.js 2025-09-26 01:58:50 -07:00
multipleof4 d271a4f857 Refactor: Implement AST generator for new grammar 2025-09-26 01:53:15 -07:00
multipleof4 32d7292e47 Feat: Implement robust AST parser for Hi language 2025-09-26 01:53:11 -07:00
multipleof4 072eeb7e99 Refactor: Implement AST parser and generator 2025-09-26 01:41:42 -07:00
multipleof4 efef571d39 Feat: Initial Hi language grammar for declarations 2025-09-26 01:41:39 -07:00
multipleof4 78853de006 Feat: Add nearley and moo for AST parsing 2025-09-26 01:41:36 -07:00
multipleof4 f36fa53031 Test: Expected 5 for nested_object 2025-09-26 01:41:28 -07:00
multipleof4 82901c0cf3 Test: Nested object parsing 2025-09-26 01:41:26 -07:00
multipleof4 9dc4d85232 Test: Expected 3 for object_multi 2025-09-26 01:41:23 -07:00
multipleof4 8f4bfab76f Test: Object with multi props + sum 2025-09-26 01:41:21 -07:00
multipleof4 25c1ae45ae Fix: Correct table Status key, keep code 2025-09-26 01:41:16 -07:00
multipleof4 2f0d649b81 Fix: Grant write permissions to workflow 2025-09-26 01:15:51 -07:00
multipleof4 9712243d99 Feat: Add GitHub Action workflow for tests 2025-09-26 01:14:34 -07:00
multipleof4 68ae25fc20 Feat: Create test runner script 2025-09-26 01:14:14 -07:00
multipleof4 d75a67e2f7 Feat: Add expected output for simple_io test 2025-09-26 01:14:04 -07:00
multipleof4 f6e024a34d Feat: Add passing test for basic I/O 2025-09-26 01:14:01 -07:00
multipleof4 44176e9984 Feat: Add expected output for declarations test 2025-09-26 01:13:44 -07:00
multipleof4 578e25052e Feat: Add failing test for block declarations 2025-09-26 01:13:39 -07:00
multipleof4 c16ac60cc1 Feat: Add test script to package.json 2025-09-26 01:13:18 -07:00
multipleof4 4d3a5659a6 Delete test/blocks.hi 2025-09-26 01:05:09 -07:00
multipleof4 0c87e5392b Delete test/primitives.hi 2025-09-26 01:05:00 -07:00
multipleof4 227e690486 Revert: Update transpiler.js 2025-09-26 01:04:44 -07:00
multipleof4 c34adf2c94 Revert: Update package.json 2025-09-26 01:04:41 -07:00
multipleof4 c373dcc2e7 Refactor: Improve transpiler for blocks & functions 2025-09-26 01:01:45 -07:00
multipleof4 3256dc320d Feat: Add npm test script for automation 2025-09-26 01:00:28 -07:00
multipleof4 67bf4c6777 Refactor: Use ES Module import in browser app 2025-09-26 00:54:24 -07:00
multipleof4 0dccd0a413 Refactor: Use type=module for browser scripts 2025-09-26 00:54:19 -07:00
multipleof4 675923b5f8 Refactor: Update CLI to use ES Module import 2025-09-26 00:53:41 -07:00
multipleof4 df70da0c04 Refactor: Convert transpiler to an ES Module 2025-09-26 00:53:26 -07:00
multipleof4 9d29943fef Feat: Configure project for ES Modules 2025-09-26 00:53:04 -07:00
multipleof4 bb889c81d9 Feat: Add .gitattributes for .hi syntax highlighting 2025-09-26 00:18:24 -07:00
multipleof4 bf7ee6cc39 Refactor: Move block tests into test directory 2025-09-26 00:16:28 -07:00
multipleof4 e78e3db098 Refactor: Move primitive tests into test directory 2025-09-26 00:16:25 -07:00
multipleof4 4c409605d9 Delete README.md 2025-09-26 00:16:00 -07:00
multipleof4 c73235dd33 Delete primitives.hi 2025-09-26 00:15:50 -07:00
multipleof4 251b129cca Feat: Test declaration, assignment, and primitives 2025-09-26 00:14:46 -07:00
multipleof4 945c4e7bcb Initial commit 2025-09-21 19:05:03 -07:00