1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-12-01 16:50:09 +00:00
Commit Graph

581 Commits

Author SHA1 Message Date
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
Chris Pressey
0e0a3d552a Implement Context.copy_range(), ranges for constants. Progress! 2018-02-14 16:35:19 +00:00
Chris Pressey
0687da80d5 Some headway on context.assert_in_range(). 2018-02-14 15:54:57 +00:00
Chris Pressey
2897a04718 Get and set top of range of a location. Make AND do this to A reg. 2018-02-14 15:13:35 +00:00
Chris Pressey
93e2dada16 Check for table size (in parser, thus tests are for syntax.) 2018-02-14 13:53:22 +00:00
Chris Pressey
aa5b06980c Add some initial failing tests. 2018-02-14 13:41:48 +00:00
Chris Pressey
ab33331924 Associate a range with each meaningful storage location in context. 2018-02-14 13:31:03 +00:00
Chris Pressey
c10e73bdcb
Merge pull request #8 from catseye/develop-0.12
Develop 0.12
2018-02-14 11:41:51 +00:00
Chris Pressey
5fa8c69bd2 Don't fudge the name of IndexRefs; dig in to find the ref's name. 2018-02-13 17:17:27 +00:00
Chris Pressey
6039e59999 Small documentation sorting. 2018-02-12 16:40:53 +00:00