Tree @0.9 (Download .tar.gz)
HISTORY.markdown @0.9 — view markup · raw · history · blame
History of SixtyPical
- Add word (constant or memory location) to word memory location.
- Add word to pointer (unchecked for now).
copyfrom word storage location to word table and back.
vectorcan name itself in its
--debugshows some extra info during analysis.
- Fixed bug where
copying literal word into word storage used wrong endianness.
- Fixed bug where every memory location was allocated 2 bytes of storage, regardless of type.
- Tests: use https://github.com/tcarmelveilleux/dcc6502 to disassemble code for comparison.
- Explicit word literals prefixed with
copyliterals into user-defined destinations.
- Fixed bug where loop variable wasn't being checked at end of
copy ^syntax to load the addr of a buffer into a pointer.
copy +ysyntax to read and write values to and from memory through a pointer.
bytelocations can be given an initial value.
wordtype locations which can be defined and
copydirectly from one user-defined
bytelocation to another.
- Both routines and vectors can declare
trashes, and these must be compatible to assign a routine or vector to a vector.
goto(tail call) instruction, jumps to routine or through vector.
callcan call a subroutine indirectly, via a vector.
- Routine name is now shown in analysis error messages.
byte tabletype locations and indexed addressing (
- Integer literals may be given in hexadecimal.
- Line comments may be included in source code by prefixing them with
repeatloops to the language, which can repeat until a flag is set (or
notset), or which can repeat
if notinverts the sense of the test.
- Added explicitly-addressed memory locations.
- Added external routine declarations.
- Added ability to compile to 6502 machine code and output a
A complete reboot of SixtyPical 0.1. The reference implementation was rewritten in Python. The language was much simplified. The aim was to get the analysis completely right before adding more sophisticated and useful features in future versions.
Initial inspired-but-messy version implemented in Haskell.