History of
src
/
sixtypical
/
compiler.py
@master
git clone https://git.catseye.tc/SixtyPical/
-
Arrange license info in repo to follow REUSE 3.0 convention.
Chris Pressey
3 months ago
-
Implement tail-call optimization.
Chris Pressey
4 years ago
-
Simplify and improve Emitter abstraction.
Chris Pressey
4 years ago
-
Better generation of code at tail of routines.
Chris Pressey
4 years ago
-
Pass next routine to each routine being compiled.
Chris Pressey
4 years ago
-
Add `reset` instruction; much refactoring.
Chris Pressey
4 years ago
-
Implement local locations that aren't statically initialized.
Chris Pressey
4 years ago
-
Store type information in SymbolTable shared across phases.
Chris Pressey
5 years ago
-
Distinct AST nodes for call and goto instructions.
Chris Pressey
5 years ago
-
Checkpoint import of changes for version 0.19.
Chris Pressey
5 years ago
-
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