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

234 Commits

Author SHA1 Message Date
Chris Pressey
9b74fd358f Add sixtypical-py2.7.md appliance and have tests pass under 2.7. 2023-03-08 12:50:22 +00:00
Chris Pressey
b38b94ed67 sixtypical and dcc6502-adapter run under Python 3 by default. 2023-03-07 22:17:11 +00:00
Chris Pressey
92b1cfeefb Implement tail-call optimization. 2019-10-22 12:23:15 +01:00
Chris Pressey
44d97c33a2 Better generation of code at tail of routines. 2019-10-22 11:37:00 +01:00
Chris Pressey
ea788264f7 Make test as intended. It fails atm. Simplify driver code. 2019-10-22 10:18:56 +01:00
Chris Pressey
3d88226058 Implement --prune-unreachable-routines. 2019-10-22 09:41:30 +01:00
Chris Pressey
1df6941b01 Callgraph uses reachability. 2019-10-22 09:07:16 +01:00
Chris Pressey
1098347fa5 Routines can be declared preserved. 2019-10-21 21:45:59 +01:00
Chris Pressey
a84cd4de8c Expand on the callgraph tests. 2019-10-21 21:35:28 +01:00
Chris Pressey
40d9c57d64 Fix test, dump format. 2019-10-21 21:23:14 +01:00
Chris Pressey
684256f7e9 Start of tests for this. 2019-10-21 17:29:38 +01:00
Chris Pressey
5912bf2684 Fix dcc6502-adapter for latest version of tcarmelveilleux/dcc6502. 2019-10-21 13:34:53 +01:00
Chris Pressey
2e2e80664e Forbid nested with interrupts blocks, and more refactoring. 2019-05-14 15:01:10 +01:00
Chris Pressey
3f666f4385 Add reset instruction; much refactoring. 2019-05-14 08:56:35 +01:00
Chris Pressey
dd29b6fd4a Implement local locations that aren't statically initialized. 2019-05-13 12:32:18 +01:00
Chris Pressey
c246424930 Fix bug raising InconsistentExitError, and type-bug in ribos2.60p. 2019-04-15 17:35:17 +01:00
Chris Pressey
b19267d3ba Checkpoint import of changes for version 0.19. 2019-04-08 11:50:54 +01:00
Chris Pressey
75449d7271
Merge pull request #18 from catseye/more-modes-on-add-and-sub
More modes on add and sub
2018-12-12 15:13:26 +00:00
Chris Pressey
35a1053439 Support more modes on add and sub. 2018-12-12 10:34:25 +00:00
Chris Pressey
2803aa2d05 Add failing tests for add and sub on locations other than a. 2018-12-12 10:11:16 +00:00
Chris Pressey
69df175230 Merge branch 'develop-0.18' of https://github.com/catseye/SixtyPical into inconsistent-initialization 2018-12-12 09:58:26 +00:00
Chris Pressey
d1a29709f2 Add example test program for cmp-against-literal-word. Fix it. 2018-12-12 09:09:45 +00:00
Chris Pressey
97e6e619ff cmp can compare against a literal word. 2018-12-12 09:01:46 +00:00
Chris Pressey
538365f1e1 Add one more test case, to demonstrate that it's not just output. 2018-12-11 22:42:59 +00:00
Chris Pressey
d13c6a94a2 Drop the check for "consistent initialization" inside if blocks. 2018-12-11 19:27:40 +00:00
Chris Pressey
3a4c2e46c1 inc and dec on a known range usually keeps it known, now. 2018-12-11 17:35:01 +00:00
Chris Pressey
bf3f1835ed Merge branch 'develop-0.18' of https://github.com/catseye/SixtyPical into goto-at-end-of-block 2018-11-29 17:47:48 +00:00
Chris Pressey
d598b505e0 Add more tests. 2018-11-27 17:40:25 +00:00
Chris Pressey
3814d2624d Improve tests. 2018-11-27 17:26:58 +00:00
Chris Pressey
21e623f3ad Collect exit contexts. Disturbs fallthru analysis, but otherwise? 2018-11-27 16:59:16 +00:00
Chris Pressey
0c481845e9 Add failing test. 2018-11-27 14:52:59 +00:00
Chris Pressey
6dbce205d1 goto is no longer restricted to appearing in tail position. 2018-11-27 14:25:43 +00:00
Chris Pressey
9e9284bee5 goto may only occur at the end of a block. 2018-11-27 13:43:36 +00:00
Chris Pressey
94ee042a1e Fix order of operands in word-sized cmp. 2018-11-27 13:12:55 +00:00
Chris Pressey
dcc944d732 If add and sub can work on words, then cmp can work on words too. 2018-11-23 23:00:41 +00:00
Chris Pressey
e74c7f2b31 Initial attempt at 16-bit compare. Not super well tested yet. 2018-11-23 22:09:28 +00:00
Chris Pressey
92db4ac3f0 More tests for "for" loops. 2018-09-16 21:30:53 +01:00
Chris Pressey
dd86015cd5 Add another test for for. There's another one I want to add too. 2018-09-16 18:45:09 +01:00
Chris Pressey
38119dbe29 Convert all tests to new syntax. 2018-09-07 22:55:54 +01:00
Chris Pressey
5e692446b8 Convert remainder of routine declarations in this file. 2018-09-07 22:49:39 +01:00
Chris Pressey
da44e1b22e Many, many define main routine, define foo routine, etc. 2018-09-07 18:49:39 +01:00
Chris Pressey
0c63de9351 Merge branch 'develop-0.17' into remove-legacy-syntax 2018-09-07 17:49:03 +01:00
Chris Pressey
af0e1b41c7 Forward-reference resolution becomes increasingly general. 2018-09-07 13:40:41 +01:00
Chris Pressey
7c9f76c007 Removing support for it is one thing, updating all tests another. 2018-09-07 13:03:57 +01:00
Chris Pressey
e7674c44ce Confirm constraint on saveing a. 2018-09-07 11:33:24 +01:00
Chris Pressey
b63bcfcd2b Begin introducing shortcut syntax for nested saves. 2018-09-07 09:36:51 +01:00
Chris Pressey
8efa73f79d Explicitly sort the chains by their content, for stable sort. 2018-09-06 17:15:10 +01:00
Chris Pressey
10062fe2fb Fix whitespace (but not sorting) issue in --dump-fallthru-info. 2018-09-06 16:32:48 +01:00
Chris Pressey
4bba75857f --output cmdline argument, serialize() returns an array of bytes. 2018-09-06 16:18:41 +01:00
Chris Pressey
3fd7e52bc7 Reduce number of errors under Python 3 another smidge. 2018-09-06 14:21:29 +01:00