Tree @0.3 (Download .tar.gz)
SixtyPical is a very low-level programming language, similar to 6502 assembly, with static analysis through abstract interpretation.
In practice, this means it catches things like
- you forgot to clear carry before adding something to the accumulator
- a subroutine that you call trashes a register you thought was preserved
It is a work in progress, currently at the proof-of-concept stage.
The current released version of SixtyPical is 0.3.
- Design Goals — coming soon.
- SixtyPical specification
- Literate test suite for SixtyPical execution
- Literate test suite for SixtyPical analysis
- 6502 Opcodes used/not used in SixtyPical
- explicitly-addressed memory locations
- add line number (or at least routine name) to error messages.
- hexadecimal literals.
- 6502-mnemonic aliases (
- other handy aliases (
- source code comments.
tabletype constructor and indirect addressing.
git clone https://git.catseye.tc/SixtyPical/
- Bump version number for release of version 0.3. Chris Pressey 4 years ago
- Don't generate code for empty `else` blocks. Chris Pressey 4 years ago
- Get serialization of relative labels correct. Chris Pressey 4 years ago
- Pass address when serializing. Still wrong, of course. Chris Pressey 4 years ago
- Implement compiling `if`, but we need relative addressing first. Chris Pressey 4 years ago
- Compile the rest of the instructions. Chris Pressey 4 years ago
- Compile access of defined memory locations. Chris Pressey 4 years ago
- Call defined routines. Chris Pressey 4 years ago
- Compiler object, labels, compile 'call'... It prints 'A'! Chris Pressey 4 years ago
- Make extern routines survive analysis. Chris Pressey 4 years ago