Commit Graph
24 Commits
Author SHA1 Message Date
samsonium 01afe2e972 upd: add hint in fzl_vm 2026-10-11 09:22:33 +03:00
samsonium 83e20d78f3 feat+ref: refactor + new types 2026-10-11 08:51:54 +03:00
samsonium e3b8ec6b7d upd: update fmt
Add rules for more comfortable work with switch-case blocks
2026-10-11 08:51:05 +03:00
samsonium 028c8270f7 ref: merge stack and arg_stack into single stack 2026-10-11 06:00:26 +03:00
samsonium e01bf6e4ab feat: add README 2026-10-11 03:59:19 +03:00
samsonium 96cd855c5d upd: change binary file default output extension 2026-10-11 03:59:15 +03:00
samsonium 8696d5bfe7 feat: implement math in vm 2026-10-11 03:12:35 +03:00
samsonium 4577b541c3 feat: add debug-vm target 2026-10-11 03:12:27 +03:00
samsonium b9c43c6ad2 feat: implement math in compiler 2026-10-11 02:10:54 +03:00
samsonium 981603105b feat: add math example 2026-10-11 02:10:37 +03:00
samsonium a815cd1549 feat: add debug target 2026-10-11 02:10:30 +03:00
samsonium 1db985ecb5 feat+fix: make compiler STRONGAAA
- FEAT: add source code length field in `fzl_reader_t` struct
- FIX: check name, lpair (lparen) and rpair (rparen) when lexing call
- FIX: check string literal termination
- FIX: increment position even on empty string to prevent infinite
lexing loop
- FIX: add string terminator in `fzl_mktoken` when allocating space for
string value
- FIX: add check for errors in recursevly called `walk`
- FIX: change source code holder from stack-stored `char[8192]` to
dynamically allocated with actual file size holder
- FIX: correct constant hasing util to hash actual string value instead
of link
2026-10-10 21:03:23 +03:00
samsonium f49a54c878 upd+feat: change source file ext, add new examples
- UPD: now using `.fzs` (fromzero-source) file extension instead of
`.fzc`
- FEAT: add new examples: problematic hello world with unterminated
string and empty printline
2026-10-10 20:57:28 +03:00
samsonium 3f76cdcefb wip: wokring on grammar and spec 2026-10-10 20:55:39 +03:00
samsonium 92ec929e9f fix: help hint and --h/-h flags 2026-10-10 19:47:53 +03:00
samsonium cdf929dfc4 feat: implement vm 2026-10-10 05:38:16 +03:00
samsonium 96115b347e feat: implement file writer 2026-10-10 03:56:00 +03:00
samsonium e979a22739 feat: implement AST walker 2026-10-10 02:40:53 +03:00
samsonium 2fabd0ec2d feat: add AST freeing function 2026-10-09 23:46:17 +03:00
samsonium 7744a28a12 feat: add compile commands export for clangd 2026-10-09 23:01:36 +03:00
samsonium 1d7cc88c22 feat: add code style rules 2026-10-09 23:01:19 +03:00
samsonium 45206e3d07 feat: implement lexer+parser for example program 2026-10-09 15:30:50 +03:00
samsonium a46f79d538 upd: add example program 2026-10-09 15:30:30 +03:00
samsonium fc30746ea8 initial commit 2026-10-09 15:29:31 +03:00