tokeniser/syntax: (db varname: -> db varname) dropped colon, updated tests.

This commit is contained in:
2025-06-29 00:22:10 +01:00
parent 6ceb35d439
commit 21582f1297
2 changed files with 175 additions and 5 deletions
+5 -5
View File
@@ -5,7 +5,7 @@
include print "./lib/print.dsa"
// "print hello world"
db program: "++++++++++++++++++++++++++++++++++++++++++++
db program "++++++++++++++++++++++++++++++++++++++++++++
>++++++++++++++++++++++++++++++++
>++++++++++++++++
>
@@ -35,10 +35,10 @@ db program: "++++++++++++++++++++++++++++++++++++++++++++
]
<<++..."
db error: "Invalid Instruction!"
dw stack: 0x10000
dw input: 0x30000
resb data: 1024
db error "Invalid Instruction!"
dw stack 0x10000
dw input 0x30000
resb data 1024
// set up a stack so we can call functions
_init_stack: