samsonium
a4aa220cfa
feat: implement extern block analyzer
2026-10-31 01:58:10 +03:00
samsonium
5c96f96220
wip: working on dynamic linking
...
- Feat: add analyzers for:
- external functions
- reference
- structures
- type definitions
- Feat: add new nodes to debug print (ast)
2026-10-30 20:32:14 +03:00
samsonium
f769313169
feat: implement extern block reading and parsing
2026-10-29 22:13:28 +03:00
samsonium
fe5fcd7b96
feat: add compiler installation step
...
- Ref: add `-debug` suffix to debug targets
- Ref: remove `-release` suffix from release targets
- Feat: add `make install` command
- Feat: add cmake variables:
- `FZL_TESTS` for enable testing
- `FZL_SKIP_C` to not build the compiler
- `FZL_SKIP_VM` to not build the vm
2026-10-29 18:18:35 +03:00
samsonium
f4c97795fa
feat: optimize VM using dispatch table
2026-10-29 02:59:38 +03:00
samsonium
e2de23ed57
fix: suppress libffi cmake warnings
2026-10-29 00:26:33 +03:00
samsonium
8c90d54782
ref: split parser into separate files
2026-10-29 00:08:44 +03:00
samsonium
62b0030e4a
ref: move analyzer fn defs into compiler/iternals
2026-10-28 23:24:17 +03:00
samsonium
bbdaa4a9b9
ref: split reader into separate files
2026-10-28 23:12:46 +03:00
samsonium
7c04d8b7ec
ref: remove unused loop checker
2026-10-28 23:12:06 +03:00
samsonium
ea28c470d2
wip: begin dynamic library loading dev
2026-10-28 15:20:58 +03:00
samsonium
70bf63e2ea
feat: add libffi cmake dependency
2026-10-28 00:31:09 +03:00
samsonium
a263b6206f
wip: working on analyzer
...
- Feat: add assigns analysis
- Fix: change node check condition in binary math analysis
- Feat: add unary and binary conditions analysis
- Fix: add type passtrough in declaration analysis
- Feat: add unary math analysis
2026-10-27 12:21:49 +03:00
samsonium
25991c6f15
wip: working on analyzer
...
- Feat: add binary math analysis
- Fix: check for function context in block analysis
- Feat: add 'break' analysis
- Fix: few fixes in call analysis
- Feat: add class analysis
- Feat: add construct analysis
- Feat: add declaration analysis
- Feat: add field analysis
- Feat: add function analysis
- Feat: add loop analysis
- Ref: updated utilities and context functions
2026-10-27 05:18:36 +03:00
samsonium
a70ad011f3
wip: working on analyzer
...
- Feat: add `nest_ctx` and `fin_ctx` fns for working with context and
environment
- Feat: add block analyzer
- Feat: add conditional statement analyzer
2026-10-26 21:34:54 +03:00
samsonium
62ae05b4cd
wip: working on analyzer
...
- Feat: now symbols table store node on PUT
- Feat: call analyzer with callee resolving and arguments validate
- Feat: identifier analyzer
- Feat: analyzer utils (types compat, tok-to-type, type-to-string)
2026-10-26 20:47:24 +03:00
samsonium
4904f40037
wip: working on analyzer
2026-10-25 19:24:02 +03:00
samsonium
e3878047d7
upd: rename neg1 tests (for negative in runtime) to negr
2026-10-25 01:53:46 +03:00
samsonium
b5ae959d14
feat: add test name format for runtime-only error
2026-10-22 21:30:17 +03:00
samsonium
5dde75523d
wip: working on loop infinity checker
2026-10-22 18:25:07 +03:00
samsonium
160c6c6488
fix: incorrect test file directory prefix
2026-10-21 04:30:16 +03:00
samsonium
e49ebba346
feat: add new tests
2026-10-21 04:00:03 +03:00
samsonium
04b367e7a0
fix: warnings fix (after -Wall -Wextra)
2026-10-19 18:39:40 +03:00
samsonium
d09468cc6b
fix: critical fixes for newer compiler versions
...
- Add token check before parsing statement or program
- Fix program freeing
2026-10-19 17:50:31 +03:00
samsonium
0c8c206677
upd: update tests
2026-10-18 17:37:18 +03:00
samsonium
645120eda6
feat: implement objects moving and borrowing
2026-10-17 19:24:03 +03:00
samsonium
bc5d887ec4
feat: implement objects and classes
2026-10-16 18:11:28 +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
36ed86b07c
feat: add tests
2026-10-15 03:07:20 +03:00
samsonium
c0dc14a0c7
feat: finished variables declaration / assign
2026-10-14 01:00:01 +03:00
samsonium
e7573743aa
feat: implement environment table for vm
2026-10-12 17:20:41 +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
7744a28a12
feat: add compile commands export for clangd
2026-10-09 23:01:36 +03:00
samsonium
45206e3d07
feat: implement lexer+parser for example program
2026-10-09 15:30:50 +03:00