Commit Graph
20 Commits
Author SHA1 Message Date
samsonium bbdf91ee02 fix: cutted space in string literal begin 2026-10-29 17:46:08 +03:00
samsonium bbdaa4a9b9 ref: split reader into separate files 2026-10-28 23:12:46 +03:00
samsonium e11089c90f feat: implement format strings 2026-10-28 17:57:18 +03:00
samsonium 7cfb8efef4 feat: implement break 2026-10-22 21:30:32 +03:00
samsonium cc5bbd61f2 feat: implement loops 2026-10-22 18:24:28 +03:00
samsonium 1289f6c150 fix: sanitizer checks fix (iteration 1) 2026-10-19 19:41:39 +03:00
samsonium 04b367e7a0 fix: warnings fix (after -Wall -Wextra) 2026-10-19 18:39:40 +03:00
samsonium 8c33464656 feat: add null as value token 2026-10-17 21:23:50 +03:00
samsonium 683dd08181 wip: working on classes 2026-10-15 21:41:45 +03:00
samsonium 69b2253c34 feat: enhance compiler
- Add comments and test for it
- Add semicolon as required end of some expressions
- Add new arguments parser
- Add multi-file compilation
- Add colors in output
2026-10-15 17:20:43 +03:00
samsonium 1035b9193c feat: add comments 2026-10-15 15:52:47 +03:00
samsonium 2c206822ca feat: implement functions 2026-10-15 02:23:43 +03:00
samsonium 83ff0b5774 feat: implement conditions 2026-10-14 19:56:27 +03:00
samsonium b8769ac81c fix: reader lines counter fix 2026-10-12 17:21:34 +03:00
samsonium 2c76277a68 wip: working on variables 2026-10-11 19:11:49 +03:00
samsonium 83e20d78f3 feat+ref: refactor + new types 2026-10-11 08:51:54 +03:00
samsonium b9c43c6ad2 feat: implement math in compiler 2026-10-11 02:10:54 +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 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