1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-29 18:49:22 +00:00
Commit Graph

540 Commits

Author SHA1 Message Date
Chris Pressey
766de6a455 Reformat READMEs. 2018-03-26 13:33:07 +01:00
Chris Pressey
a8a53e2ca9 Save a few bytes in the demo game by using a for loop. 2018-03-26 13:23:36 +01:00
Chris Pressey
7f38d04536 Documentation updates. 2018-03-26 13:16:53 +01:00
Chris Pressey
ceaae962d5 Make tests pass. Add two more tests towards completeness of spec. 2018-03-26 12:48:57 +01:00
Chris Pressey
d88757c32b Rudimentarily document for; add failing test cases for it. 2018-03-23 17:13:46 +00:00
Chris Pressey
42864bf125 Add SixtyPical translations of Ribos and "The PETulant Cursor". 2018-03-15 10:56:09 +00:00
Chris Pressey
ed917566ea We have a for loop now. 2018-03-14 16:45:35 +00:00
Chris Pressey
96fbe03ce7 Make compilation tests pass. 2018-03-14 16:27:33 +00:00
Chris Pressey
adb53f7a04 Almost compile for loops correctly. 2018-03-14 15:33:11 +00:00
Chris Pressey
b79059faa4 Two seperate words looks better. 2018-03-14 09:51:24 +00:00
Chris Pressey
b073fe54a0 Tests for the downto variant too. 2018-03-13 17:49:48 +00:00
Chris Pressey
9a9db83fc6 Analyze the range in the for loop. All unit tests pass again. 2018-03-13 17:44:44 +00:00
Chris Pressey
7a3b52dc1e More correct determination of tail position for purposes of goto. 2018-03-13 17:00:49 +00:00
Chris Pressey
5f62de11c2 Add failing test for multiple gotos that are all in tail position. 2018-03-13 13:33:30 +00:00
Chris Pressey
b1e9df0d45 Add --output-format and --origin command-line options. 2018-03-13 13:33:01 +00:00
Chris Pressey
689670a69e Small bugfixes and changes. 2018-03-13 09:25:06 +00:00
Chris Pressey
994449ecb0 Make the loop variable unwriteable in the body of the "for" loop. 2018-03-08 17:41:42 +00:00
Chris Pressey
f73a2313bd Add some failing tests for analyzing "for". 2018-03-08 17:17:49 +00:00
Chris Pressey
d815e05e0c Syntax for "open-faced for loop". 2018-03-08 16:54:12 +00:00
Chris Pressey
d7ada8949c Tweaks to README. 2018-03-08 15:34:28 +00:00
Chris Pressey
db5dc78872
Merge pull request #9 from catseye/develop-0.13
Develop 0.13
2018-03-08 15:30:42 +00:00
Chris Pressey
d4adddc734 This repository hasn't had a Mercurial counterpart for a while. 2018-03-08 14:26:09 +00:00
Chris Pressey
af09bd8875 Add screenshot. 2018-03-08 13:36:30 +00:00
Chris Pressey
2b9c457ffc Try to improve the description in the documentation, and notes. 2018-03-08 13:24:00 +00:00
Chris Pressey
95fb2bb8f6 Make loadngo.sh able to handle both C64 (x64) and VIC-20 (xvic). 2018-03-07 13:27:57 +00:00
Chris Pressey
72efecbb1a Support different preludes for different archs (c64 and vic20 now.) 2018-03-06 17:00:39 +00:00
Chris Pressey
dbba7cc7b9 Use ArgumentParser instead of OptionParser. 2018-03-06 16:28:34 +00:00
Chris Pressey
8298ad38f9 Expand on what the range-checking includes in this version. 2018-03-06 16:04:02 +00:00
Chris Pressey
731b83d20f Update copyright dates. 2018-03-06 15:52:55 +00:00
Chris Pressey
1d1612761b Make the demo game compilable again. 2018-03-06 15:52:21 +00:00
Chris Pressey
bda0202dee Confirm that AND clips the range and INC/DEC invalidate it. 2018-03-06 15:42:12 +00:00
Chris Pressey
1eaec602e3 The exception object now contains an AST node, renders name. 2018-03-06 14:39:47 +00:00
Chris Pressey
7023fb9c1d Update notes. 2018-03-06 14:15:53 +00:00
Chris Pressey
42cbd73a20 Show line numbers in static analysis errors (clumsily.) 2018-03-06 13:13:18 +00:00
Chris Pressey
e44c802314 Syntax errors have line numbers in them now. 2018-03-06 12:23:57 +00:00
Chris Pressey
9ad34ed34f Refine the AST classes even more. 2018-03-06 10:43:23 +00:00
Chris Pressey
2fdba72959 Re-organize the example programs. 2018-03-06 10:32:52 +00:00
Chris Pressey
8a7e3aaebb Flatten more. 2018-03-05 15:32:08 +00:00
Chris Pressey
1180d2fe2a Attempt to flatten the code for generating code for copy. 2018-03-05 15:22:47 +00:00
Chris Pressey
c194808e64 Label the various cases for compiling a copy instruction. 2018-03-05 13:23:09 +00:00
Chris Pressey
c85159a9c0 Start trying to clean up the code for compiling copy. 2018-03-05 12:34:24 +00:00
Chris Pressey
b579e8b2eb Refs have indexes. Instructions do not. 2018-03-05 12:19:27 +00:00
Chris Pressey
0a83d90515 Tighten structure of AST more. 2018-03-05 12:13:15 +00:00
Chris Pressey
4b43ba734e Make AST more structured (borrowed from ALPACA.) 2018-03-05 11:55:06 +00:00
Chris Pressey
b42aa8b051 Fix error message. 2018-03-05 11:28:08 +00:00
Chris Pressey
d24e9fa2e1 I can no longer see a reason to require that it is a power of two. 2018-03-05 10:38:20 +00:00
Chris Pressey
a115c2bc9f Add notes for for-like loop. 2018-03-05 10:34:49 +00:00
Chris Pressey
42c4bed36e Make tests pass. 2018-02-16 15:46:55 +00:00
Chris Pressey
15fa4889e7 Add some more tests (failing currently). 2018-02-16 12:28:11 +00:00
Chris Pressey
e2d10d7d33 Documentation/notes changes for the 0.13 branch. 2018-02-16 09:51:24 +00:00