Basic: more memory savings
authorJoel Martin <github@martintribe.org>
Thu, 3 Nov 2016 04:36:44 +0000 (23:36 -0500)
committerJoel Martin <github@martintribe.org>
Thu, 3 Nov 2016 04:36:44 +0000 (23:36 -0500)
commit4fab6aa5174180799e85a588de1f8212778c2a89
tree4d64b93b7235cecacbfec4eda8b6bebd49ebc3e2
parent259dd13c56b130dac08d333237dd89195489e6b4
Basic: more memory savings

- Do the pop of CALL return value at the end of the subroutine
  (callee) rather than at the call point (caller)
- shorten some character variables (CH$->C$, CH->C)
- remove spaces after OPEN, GET
- print REPL header directly in BASIC code

Together saves 404 bytes of memory.
basic/basicpp.py
basic/reader.in.bas
basic/readline.in.bas
basic/stepA_mal.in.bas
basic/types.in.bas
basic/variables.txt