1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 01:57:09 +03:00
mal/basic
Joel Martin 0e508fa518 Basic: add read-file. Misc basicpp space savings.
- Add read-file which is similar to read-string but from a file name
  rather than a string. This allows steps 0-2 to load although each
  one eventuall crashes with out of memory after evaluating "123"
  a few times.
- basicpp:
    - Renumber the line numbers so they are ordinally increasing. This
      saves 150 or so bytes because GOTO/GOSUB calls have smaller line
      numbers.
    - Shrink 'IF 123' -> 'IF123' for almost 300 byte savings.[:w
    - Simplify PR_MEMORY_SUMMARY output. Save 75 bytes
- Add missing runtest.py change that allows basic tests to pass.
2016-10-23 22:18:08 -05:00
..
.args.mal Basic: step6 basics and atoms. Fix strings. 2016-09-19 21:23:21 -05:00
basicpp.py Basic: add read-file. Misc basicpp space savings. 2016-10-23 22:18:08 -05:00
cbmbasic_console.patch Basic: fix readline to work on C64 (Vice). 2016-09-16 01:38:44 -05:00
core.in.bas Basic: add read-file. Misc basicpp space savings. 2016-10-23 22:18:08 -05:00
debug.in.bas Basic: add read-file. Misc basicpp space savings. 2016-10-23 22:18:08 -05:00
env.in.bas Basic: hashmap functions. Basic metadata (on funcs) 2016-10-22 16:11:46 -05:00
Makefile Basic: stepA basics. 2016-10-09 20:31:22 -05:00
printer.in.bas Basic: hashmap functions. Basic metadata (on funcs) 2016-10-22 16:11:46 -05:00
qb2cbm.sh Basic: reduce memory usage by 614 bytes. 2016-09-20 21:11:46 -05:00
reader.in.bas Basic: add read-file. Misc basicpp space savings. 2016-10-23 22:18:08 -05:00
readline.in.bas Basic: basicpp adds, other misc. Shaves 3031 bytes. 2016-09-23 22:36:17 -05:00
run Basic: step6 basics and atoms. Fix strings. 2016-09-19 21:23:21 -05:00
step0_repl.in.bas Basic: variable renaming. Save 2 kbytes. 2016-10-14 22:42:56 -05:00
step1_read_print.in.bas Basic: hashmap functions. Basic metadata (on funcs) 2016-10-22 16:11:46 -05:00
step2_eval.in.bas Basic: hashmap functions. Basic metadata (on funcs) 2016-10-22 16:11:46 -05:00
step3_env.in.bas Basic: hashmap functions. Basic metadata (on funcs) 2016-10-22 16:11:46 -05:00
step4_if_fn_do.in.bas Basic: add read-file. Misc basicpp space savings. 2016-10-23 22:18:08 -05:00
step5_tco.in.bas Basic: add read-file. Misc basicpp space savings. 2016-10-23 22:18:08 -05:00
step6_file.in.bas Basic: add read-file. Misc basicpp space savings. 2016-10-23 22:18:08 -05:00
step7_quote.in.bas Basic: add read-file. Misc basicpp space savings. 2016-10-23 22:18:08 -05:00
step8_macros.in.bas Basic: add read-file. Misc basicpp space savings. 2016-10-23 22:18:08 -05:00
step9_try.in.bas Basic: add read-file. Misc basicpp space savings. 2016-10-23 22:18:08 -05:00
stepA_mal.in.bas Basic: add read-file. Misc basicpp space savings. 2016-10-23 22:18:08 -05:00
types.in.bas Basic: add read-file. Misc basicpp space savings. 2016-10-23 22:18:08 -05:00
variables.txt Basic: add read-file. Misc basicpp space savings. 2016-10-23 22:18:08 -05:00