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
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
66f31ab865
fix: fix parser/generator issues
2026-11-05 03:46:16 +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
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
c5c522cde8
feat: add generators' main entry
2026-11-04 17:10:21 +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
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
a885746fdd
feat: add object escaping on assing to variable in outer env
2026-10-29 17:46:56 +03:00
samsonium
7b804b8809
feat: optimize runtime (2x+ faster)
2026-10-29 05:21:00 +03:00
samsonium
f4c97795fa
feat: optimize VM using dispatch table
2026-10-29 02:59:38 +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
567bf49d27
wip: working on dynamic linking
...
- Feat: add example for wrapping dynamically linked library
- Feat: add new tokens (import, extern, type, handle, struct, ref, out)
2026-10-28 21:43:56 +03:00
samsonium
e11089c90f
feat: implement format strings
2026-10-28 17:57:18 +03:00
samsonium
ea28c470d2
wip: begin dynamic library loading dev
2026-10-28 15:20:58 +03:00
samsonium
dc80de66e4
fix: review problems
2026-10-27 15:40:25 +03:00
samsonium
c61322718d
fix: some analysis stage problems
2026-10-27 14:12: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
d7630dbb6a
wip: working on analyzer
...
- Feat: implement return analyzer
- Fix: add block return check if inside function
2026-10-26 22:20:09 +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
3bb60071bb
feat: add infinite loop control args
2026-10-25 04:52:07 +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
04b367e7a0
fix: warnings fix (after -Wall -Wextra)
2026-10-19 18:39:40 +03:00
samsonium
801b28e27d
feat: implement address deferencing
2026-10-18 18:42:02 +03:00
samsonium
c0df5fc9d4
feat: add exit builtin function
2026-10-18 18:41:49 +03:00
samsonium
dce64e8b4d
fix+ref: small objects rework
...
- Add nested objects escape on ESCAPE opcode
- Stabilize objects work in heap
2026-10-18 17:38:49 +03:00
samsonium
8c33464656
feat: add null as value token
2026-10-17 21:23:50 +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
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