janis
|
b9712dacfb
|
fix ast gen with nested binary ops
|
2025-11-02 00:30:00 +01:00 |
|
janis
|
9b4d42ba3a
|
export ast defs to .inc file
|
2025-10-31 15:07:17 +01:00 |
|
janis
|
555f79f00e
|
args are var syms, recursively search parent scopes for symbols
|
2025-10-31 14:53:31 +01:00 |
|
janis
|
402d295fff
|
block is a scope
|
2025-10-31 14:26:23 +01:00 |
|
janis
|
c52b7ab8de
|
block as statement
|
2025-10-31 14:18:49 +01:00 |
|
janis
|
1201a6c45a
|
comments, skip empty semis in blocks
|
2025-10-31 13:17:47 +01:00 |
|
janis
|
e79af01925
|
ast: correctly resolves var refs
|
2025-10-31 01:55:04 +01:00 |
|
janis
|
935a3e0a53
|
fix odd initial scope (is now -1usize)
|
2025-10-31 01:20:19 +01:00 |
|
janis
|
cd04a5a4ca
|
try to redo scopes/symtable with passed down scope
|
2025-10-31 01:15:28 +01:00 |
|
janis
|
cd5b714051
|
fix return statement push op
|
2025-10-31 01:11:03 +01:00 |
|
janis
|
a769fece84
|
pass scope in walk_for_each
|
2025-10-31 00:58:27 +01:00 |
|
janis
|
746f82f732
|
try to resolve var refs
|
2025-10-30 23:28:31 +01:00 |
|
janis
|
928be75faf
|
sort symkey by ident before span
|
2025-10-30 23:00:36 +01:00 |
|
janis
|
adb30e983c
|
ast node: span
|
2025-10-30 22:54:14 +01:00 |
|
janis
|
56354237c6
|
build symbol table
|
2025-10-30 22:16:45 +01:00 |
|
janis
|
ad3b0205c2
|
ast walking
|
2025-10-30 21:41:27 +01:00 |
|
janis
|
525b78cdf4
|
pointer type
|
2025-10-30 14:35:49 +01:00 |
|
janis
|
e54313b6a2
|
args, var-ref
|
2025-10-30 13:48:08 +01:00 |
|
janis
|
84e87824ba
|
ast: placeness, assignment, var decl, deref, address-of
|
2025-10-30 01:41:16 +01:00 |
|
janis
|
2df4d182f9
|
ast: placeness
|
2025-10-30 00:31:51 +01:00 |
|
janis
|
099d774634
|
ast: sub, mul, div
|
2025-10-30 00:22:24 +01:00 |
|
janis
|
886525cf7e
|
support parenthesised expressions
|
2025-10-29 23:48:55 +01:00 |
|
janis
|
c609fe4ec6
|
fix blocks, increase AstNode by 1 qword
|
2025-10-29 23:31:52 +01:00 |
|
janis
|
d2597d2de7
|
can parse basic function
|
2025-10-29 23:17:02 +01:00 |
|
janis
|
4e55fa74f4
|
parse structs and functions from asm for rust tests
|
2025-10-29 22:10:14 +01:00 |
|
janis
|
5ae3e17693
|
initial ast
|
2025-10-29 20:39:32 +01:00 |
|
janis
|
46053090f4
|
initial parsing
|
2025-10-29 16:21:15 +01:00 |
|