Commit Graph

21 Commits

Author SHA1 Message Date
cff6bb77a3 [Example]添加函数示例 2025-12-22 14:00:24 +08:00
26bc387032 fix 2025-12-22 13:39:17 +08:00
720ae2bb26 # 2025-12-22 00:02:19 +08:00
2e02960f03 directory organize and lexer now ignores comments 2025-12-22 00:01:24 +08:00
46a169b88a README 2025-12-21 23:23:10 +08:00
014803b705 feat: implement for-loops with proper scope management
- Add support for C-style for loops: for (init; condition; increment) { body }
- Implement three-level scoping: loop context + per-iteration contexts
- Add semicolon disabler for increment statements using RAII guards
- Support break/continue/return control flow with scope validation
- Fix semicolon handling in parser for flexible for-loop syntax
2025-12-21 22:55:46 +08:00
acc2d33dbc command -v(--version) support. ast typeName method now returns magic_enum::enum_name 2025-12-21 20:18:05 +08:00
8323b9023a add docs(test 2025-12-21 11:48:46 +08:00
17799ff939 value operator for numeric values now explicit 2025-12-20 22:34:30 +08:00
ea33ad31dd license 2025-12-20 21:54:09 +08:00
55ec10c032 Update license (include utils' license 2025-12-20 21:53:53 +08:00
9e92bf62d4 Logo! 2025-12-20 21:40:57 +08:00
ec1917665e use new function syntax 2025-12-20 20:46:06 +08:00
946ef22849 closure doc 2025-12-20 20:43:47 +08:00
9085cb7ad3 remove trash :D 2025-12-20 20:41:48 +08:00
56459a5eeb support closure!!!!! 2025-12-20 20:38:59 +08:00
e7ca714a89 support function literal, set builtins to global context. great! 2025-12-20 20:27:36 +08:00
b9a98150ae ignored test.fig 2025-12-19 20:44:07 +08:00
e2fd42297f v0.3.1 2025-12-19 20:42:29 +08:00
47fc704434 Initial commit 2025-12-19 20:40:47 +08:00
73c828d99b v0.3.1 2025-12-19 20:38:40 +08:00