[UNVERIFIED] update to spec 1.10, parser rewrite.

This commit is contained in:
2024-02-06 01:48:44 +02:00
parent cff855b9cb
commit f2b551a586
14 changed files with 182 additions and 70 deletions
+26
View File
@@ -0,0 +1,26 @@
; written by Labashki developer - aeris
@ 0
scan
scan
scan
|jmp 0
@ 1
add
meow
quit
@ 2
sub
meow dkdkd
quit
@ 3
mul
meow
quit
@ 4
div
meow
quit
+30
View File
@@ -0,0 +1,30 @@
push 72 ; H
putc ; Print to console
push 101 ; e
putc
push 108 ; l
putc
push 108 ; l
putc
push 111 ; o
putc
push 32 ; <space>
putc
push 76 ; L
putc
push 97 ; a
putc
push 98 ; b
putc
push 97 ; a
putc
push 115 ; s
putc
push 104 ; h
putc
push 107 ; k
putc
push 105 ; i
putc
push 33 ; !
putc
+1 -30
View File
@@ -1,30 +1 @@
push 72 ; H
putc ; Print to console
push 101 ; e
putc
push 108 ; l
putc
push 108 ; l
putc
push 111 ; o
putc
push 32 ; <space>
putc
push 76 ; L
putc
push 97 ; a
putc
push 98 ; b
putc
push 97 ; a
putc
push 115 ; s
putc
push 104 ; h
putc
push 107 ; k
putc
push 105 ; i
putc
push 33 ; !
putc
$print Hello Labashki!