saving definitions containing string literals

This was the whole proximal goal in implementing balanced terminals.

Printing these is still unreliable. It always surrounds in [], which may
not work.
This commit is contained in:
Kartik K. Agaram 2021-07-28 23:08:07 -07:00
parent 9f52758dfe
commit e2f6e9011e
1 changed files with 0 additions and 2 deletions

View File

@ -93,8 +93,6 @@ fn write-globals out: (addr stream byte), _self: (addr global-table) {
break-if-=
compare *curr-type, 6/keyboard
break-if-=
compare *curr-type, 3/stream # not implemented yet
break-if-=
write out, " ("
var curr-name-ah/eax: (addr handle array byte) <- get curr, name
var curr-name/eax: (addr array byte) <- lookup *curr-name-ah