Moved ideas into the tracker and left rest in README.

This commit is contained in:
Rob Greene 2018-05-13 13:24:06 -05:00
parent da30dde0de
commit f008a950c3
2 changed files with 26 additions and 38 deletions

View File

@ -1,38 +0,0 @@
Ideas
=====
* Get simple solution working.
* Allow removal of REM statements.
* Allow code comments (' for basic?) that don't make it into resulting code.
* Compress lines to some maximum byte size. Needs to be aware of line numbers and references.
* Remove line numbers and use labels.
* Move constants to variables.
* Optimize expressions
Metadata (v1)
========
Program
- Lines
- Line number
- Statements
- Statement
- Tokens
- Strings (including numbers and variables!)
Metadata (v2)
========
Program
- Routines
- Label (default = "__main__" or something)
- Statements
- Distinct statements with expression trees
- LET
- FOR
- CALL
- POKE
- PRINT
- etc

26
README.md Normal file
View File

@ -0,0 +1,26 @@
Metadata (v1)
========
Program
- Lines
- Line number
- Statements
- Tokens (AppleSoft "token", strings, syntax, etc)
Metadata (v2)
========
Program
- Routines
- Label (default = "__main__" or something)
- Statements
- Distinct statements with expression trees
- LET
- FOR
- CALL
- POKE
- PRINT
- etc