1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-22 01:32:13 +00:00
Commit Graph

501 Commits

Author SHA1 Message Date
Chris Pressey
0093c7b7d9 First cut at support for targetting the Atari 2600. 2018-03-28 14:20:53 +01:00
Chris Pressey
bb0e7aa992 Track the gotos that we have encountered in a routine. 2018-03-27 17:27:09 +01:00
Chris Pressey
f86041721d Try to spell out my idea for an algorithm for this. 2018-03-27 17:05:41 +01:00
Chris Pressey
c707105cd3 Describe the behaviour just implemented. 2018-03-27 16:49:20 +01:00
Chris Pressey
6744ad29a9 Beginnings of modularity. 2018-03-27 16:23:22 +01:00
Chris Pressey
d9e625db30 Clean up driver code, add filename to error messages. 2018-03-27 15:55:29 +01:00
Chris Pressey
3f0e36a67c Add symbolic constants. 2018-03-27 12:36:33 +01:00
Chris Pressey
330e61f327
Merge pull request #10 from catseye/develop-0.14
Develop 0.14
2018-03-27 09:50:24 +01:00
Chris Pressey
b91c3ed2f1 Add three more tests. Ensure they pass. 2018-03-26 17:40:43 +01:00
Chris Pressey
68b46c7be7 Small edits to history. 2018-03-26 14:44:54 +01:00
Chris Pressey
877f55b6cd VIC-20 example and rewrite docs. 2018-03-26 13:43:33 +01:00
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