git @ Cat's Eye Technologies SixtyPical / 6e9b15e
Small documentation updates. Chris Pressey 3 years ago
2 changed file(s) with 9 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
99 references in _all_ operations will be resolved after parsing.
1010 * As a consequence, trying to call or goto a non-routine-typed symbol
1111 is now an analysis error, not a syntax error.
12 * Deprecated `routine foo ...` syntax has been removed.
1213 * Split TODO off into own file.
1314 * `sixtypical` no longer writes the compiled binary to standard
1415 output. The `--output` command-line argument should be given
55 **SixtyPical** is a low-level programming language with advanced
66 static analysis. Many of its primitive instructions resemble
77 those of the 6502 CPU — in fact it is intended to be compiled to
8 6502 machine code — but along with these are constructs which
9 ease structuring and analysizing the code.
10
11 SixtyPical aims to fill this niche:
8 6502 machine code — but along with these instructions are
9 constructs which ease structuring and analyzing the code. The
10 language aims to fill this niche:
1211
1312 * You'd use assembly, but you don't want to spend hours
1413 debugging (say) a memory overrun that happened because of a
1514 ridiculous silly error.
16 * You'd use C, but you don't want the overhead of compiler-added
17 code to manage the stack and registers.
15 * You'd use C or some other "high-level" language, but you don't
16 want the extra overhead added by the compiler to manage the
17 stack and registers.
1818
1919 SixtyPical gives the programmer a coding regimen on par with assembly
2020 language in terms of size and hands-on-ness, but also able to catch
4242
4343 SixtyPical is defined by a specification document, a set of test cases,
4444 and a reference implementation written in Python 2. The reference
45 implementation can analyze and compile SixtyPical programs to 6502 machine code,
46 which can be run on several 6502-based 8-bit architectures:
45 implementation can analyze and compile SixtyPical programs to 6502 machine
46 code, which can be run on several 6502-based 8-bit architectures:
4747
4848 * Commodore 64
4949 * Commodore VIC-20