History of
src
/
sixtypical
/
compiler.py
@master
git clone https://git.catseye.tc/SixtyPical/
-
Support more modes on `add` and `sub`.
Chris Pressey
5 years ago
-
Add example test program for cmp-against-literal-word. Fix it.
Chris Pressey
5 years ago
-
`cmp` can compare against a literal word.
Chris Pressey
5 years ago
-
Fix order of operands in word-sized `cmp`.
Chris Pressey
5 years ago
-
If add and sub can work on words, then cmp can work on words too.
Chris Pressey
5 years ago
-
Initial attempt at 16-bit compare. Not super well tested yet.
Chris Pressey
5 years ago
-
Support `save X, Y, Z {}` as a shortcut syntax for nested `save`s.
Chris Pressey
5 years ago
-
pyflakes.
Chris Pressey
5 years ago
-
Not making any promises, but reduce the errors under Python 3.
Chris Pressey
5 years ago
-
Support save'ing user-defined locations.
Chris Pressey
6 years ago
-
Compile code for saving a, x, or y on the stack.
Chris Pressey
6 years ago
-
Compile byte-table add, sub, cmp, and, or, xor, shl, shr, inc, dec.
Chris Pressey
6 years ago
-
Support for `shl foo` and `shr foo` where `foo` is a byte storage.
Chris Pressey
6 years ago
-
Support for `copy [ptra]+y, [ptrb]+y` to indirect LDA indirect STA
Chris Pressey
6 years ago
-
Generate zero-page code for and, or, and xor, when possible.
Chris Pressey
6 years ago
-
Optimize away `RTS` and `JMP` when possible. Fallthru stuff done.
Chris Pressey
6 years ago
-
Begin hooking the fallthru analysis up to the compilation phase.
Chris Pressey
6 years ago
-
Support branching and looping on the `n` flag.
Chris Pressey
6 years ago
-
Fix bug when zero page address was $00.
Chris Pressey
6 years ago
-
A `byte` or `word` table can be initialized with a list of constants.
Chris Pressey
6 years ago
-
Initial support for initializing byte tables with list of bytes.
Chris Pressey
6 years ago
-
Accessing zero-page with `ld` and `st` generates zero-page opcodes.
Chris Pressey
6 years ago
-
Support of NOP opcode.
Chris Pressey
6 years ago
-
Make compilation tests pass.
Chris Pressey
6 years ago
-
Almost compile `for` loops correctly.
Chris Pressey
6 years ago
-
Refine the AST classes even more.
Chris Pressey
6 years ago
-
Flatten more.
Chris Pressey
6 years ago
-
Attempt to flatten the code for generating code for `copy`.
Chris Pressey
6 years ago
-
Label the various cases for compiling a `copy` instruction.
Chris Pressey
6 years ago
-
Start trying to clean up the code for compiling `copy`.
Chris Pressey
6 years ago