samsonium
0fc6406e97
fix: missing freeing and type (in CIF prepare)
2026-11-08 18:46:21 +03:00
samsonium
d09b4f2761
wip: working on externs loading
...
- Feat: finish FFI CIF prepare
2026-11-08 18:40:44 +03:00
samsonium
2488e9fb07
fix: add loaded symbols count increment
2026-11-08 17:26:46 +03:00
samsonium
899c22eece
ref: move extern fns prepare into main
2026-11-08 17:26:32 +03:00
samsonium
1c57525604
wip: working on externs loading
...
- WIP: add extern objects initializing/freeing functions
- Feat: add extern objects loading in VM initializer
2026-11-08 17:12:31 +03:00
samsonium
5de995a3c2
feat: add debug print for CALL_EXTERN opcode
2026-11-06 14:06:18 +03:00
samsonium
7759136aa8
feat: add linking tests
2026-11-06 14:06:07 +03:00
samsonium
d38365f10c
feat: add extern functions call support
2026-11-06 14:06:01 +03:00
samsonium
317b846108
feat+fix: add extern fns reading; fix VM reading issues
2026-11-06 13:32:41 +03:00
samsonium
376e7bd1b4
fix: add strings terminators
2026-11-06 12:02:37 +03:00
samsonium
d95ff88b66
wip: working on extern in VM
...
- Feat: add usage of vm reader instead of old way in vm.c
- Ref: update debug opcodes printing
2026-11-05 23:23:38 +03:00
samsonium
1db42c1e8e
wip: working on extern in VM
...
- Feat: add writer externs writing fns
- Feat: add VM reader functions
2026-11-05 21:48:40 +03:00
samsonium
84572edb0d
feat: implement extern libs data writing
2026-11-05 18:40:02 +03:00
samsonium
d91ba3d63a
fix: add missing RM_ENVTABLE opcode
2026-11-05 18:39:48 +03:00
samsonium
de0e88f2e9
wip: begin writer impl for externs
2026-11-05 04:01:23 +03:00
samsonium
66f31ab865
fix: fix parser/generator issues
2026-11-05 03:46:16 +03:00
samsonium
bd8272abc7
feat: finish generator
2026-11-05 00:04:12 +03:00
samsonium
181458ecda
feat: add prepared error/null ok returns from gen_* functions
2026-11-04 22:52:40 +03:00
samsonium
aae183c0c0
ref: add type/classname result for each gen_* function
2026-11-04 22:25:25 +03:00
samsonium
b278e8bb74
wip: working on generator
...
- Feat: add break handler
- Feat: add class handler
- Feat: add format string handler
- Feat: add loop handler
2026-11-04 20:04:33 +03:00
samsonium
7fe3fe3ff3
wip: working on generator
...
- Feat: add typedefs' branches
2026-11-04 19:33:17 +03:00
samsonium
731b662cfc
wip: working on generator
...
- Feat: add extern type resolving to type slot
- Feat: add extern block handling
- Feat: add extern function handling
2026-11-04 18:30:02 +03:00
samsonium
f2b88e448e
feat: add .clangd
2026-11-04 17:16:52 +03:00
samsonium
c5c522cde8
feat: add generators' main entry
2026-11-04 17:10:21 +03:00
samsonium
c0bd0d95b2
fix: add classname value for structs and handles
2026-11-04 17:04:09 +03:00
samsonium
26decf2626
wip: working on extern
...
- Feat: add new generator scope to replace walker
- Feat: add generators' context functions
- Feat: add generators' ops array functions
- Feat: add generators' utility functions
2026-11-04 17:03:48 +03:00
samsonium
358ede4c8c
wip: working on extern
...
- Feat: stabilize extern header
- Feat: add externs to walker
- Feat: add extern node walking logic
2026-11-02 20:31:43 +03:00
samsonium
6a035a71eb
wip: working on extern
...
- Ref: move extern header into common scope
- Feat: add extern symbols descriptors
- Feat: add `is_out` flag in declaration node
2026-11-02 19:24:09 +03:00
samsonium
8975d2fece
feat: add out type arg info storing in declaration node
2026-11-02 18:55:40 +03:00
samsonium
3dd70ac293
wip: working on extern
...
Add TODOs for new nodes
2026-11-01 21:24:23 +03:00
samsonium
4d9c4ddd21
wip: working on walker (externs)
...
Begin working on extern walking (libs metadata collet + opcode gen)
2026-10-31 18:45:33 +03:00
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
0448be0d38
ref: update linking example
2026-10-29 20:24:06 +03:00
samsonium
01dabd2bdd
ref: remove build-release dependency from install make target
2026-10-29 20:23:54 +03:00
samsonium
6f54286724
doc: update project building steps
2026-10-29 18:18:50 +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
a885746fdd
feat: add object escaping on assing to variable in outer env
2026-10-29 17:46:56 +03:00
samsonium
2cf96d06c6
fix: fmtstring printing
2026-10-29 17:46:20 +03:00
samsonium
bbdf91ee02
fix: cutted space in string literal begin
2026-10-29 17:46:08 +03:00
samsonium
27374a96eb
fix: AST levels print
2026-10-29 17:45:39 +03:00
samsonium
dcab2a8875
feat: add runtime speed comparison between fz, c and cpython
2026-10-29 05:21:31 +03:00
samsonium
7b804b8809
feat: optimize runtime (2x+ faster)
2026-10-29 05:21:00 +03:00
samsonium
eeca5e653d
feat: add benchmar Make target
2026-10-29 03:25:48 +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