100 Commits
Author SHA1 Message Date
Chris Pressey df610e639c Fix link in README. 2024-03-16 11:53:54 +00:00
Chris Pressey 2bddea270f Remove old, out-of-sync license information. 2024-02-02 12:18:46 +00:00
Chris Pressey 5f8802b305 Arrange license info in repo to follow REUSE 3.0 convention. 2024-02-02 12:10:23 +00:00
Chris Pressey 5ecc4e6f56 Import "Future directions for SixtyPical" into doc subdirectory. 2023-12-10 12:16:14 +00:00
Chris Pressey d5e6eeacd3 Merge pull request #23 from catseye/develop-2023-1
Develop 2023 1
2023-03-09 09:58:21 +00:00
Chris Pressey 880d1f53a1 Update HISTORY for this minor revision. 2023-03-09 09:20:08 +00:00
Chris Pressey 1887ad9377 Update .gitignore. 2023-03-08 13:02:11 +00:00
Chris Pressey b670bd3316 Remove experimental Circle CI configuration. 2023-03-08 12:53:21 +00:00
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 075ba9ff2a Stylistic improvements to README. 2020-10-19 16:13:11 +01:00
Chris Pressey 918b400fd4 Update README to link to more related information. 2020-10-19 15:07:44 +01:00
Chris Pressey 4b539930bd Merge pull request #22 from catseye/develop-0.21
Develop 0.21
2019-10-25 12:51:24 +01:00
Chris Pressey 632c2f4517 Correct comment. 2019-10-23 15:00:03 +01:00
Chris Pressey ff67e15208 Link to new test suite from README 2019-10-23 10:34:37 +01:00
Chris Pressey 023a415a14 Don't search for filenames given on cmdline in the include path. 2019-10-23 10:32:26 +01:00
Chris Pressey a9917d3ea8 Tweak. 2019-10-23 10:23:43 +01:00
Chris Pressey f4577804c7 A little reshuffling and improving of READMEs and notes. 2019-10-23 10:21:02 +01:00
Chris Pressey fbfab44887 Update the errorful rudiments. 2019-10-22 16:56:19 +01:00
Chris Pressey 4b518508d5 called_routines are not stored in context at all. 2019-10-22 16:26:50 +01:00
Chris Pressey 1b5f4c0c4b Add architecture-dependent "joy2delta.60p" to "standard library". 2019-10-22 16:09:58 +01:00
Chris Pressey dc4677ade8 Update READMEs. 2019-10-22 15:30:24 +01:00
Chris Pressey d408e740ed Establish an include directory and --include-path option. 2019-10-22 15:10:55 +01:00
Chris Pressey c70e4a55e4 Merge included programs. 2019-10-22 13:26:21 +01:00
Chris Pressey 175c07781a First cut at include files. 2019-10-22 12:54:04 +01:00
Chris Pressey 987974cc21 Simplify, fixing an apparent bug in the process. 2019-10-22 12:42:17 +01:00
Chris Pressey 565f959ee2 Our CINV interrupt service routine should be preserved. 2019-10-22 12:35:29 +01:00
Chris Pressey 92b1cfeefb Implement tail-call optimization. 2019-10-22 12:23:15 +01:00
Chris Pressey 78a1f2910c Simplify and improve Emitter abstraction. 2019-10-22 11:55:21 +01:00
Chris Pressey 44d97c33a2 Better generation of code at tail of routines. 2019-10-22 11:37:00 +01:00
Chris Pressey b9df1482c6 Pass next routine to each routine being compiled. 2019-10-22 10:32:14 +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 2192a48e0e Update HISTORY. 2019-10-21 21:37:30 +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 b09d0c0b76 Routines that are goto'd are also in the call graph. 2019-10-21 17:15:28 +01:00
Chris Pressey 182935a088 First cut at finding all routines that could be assigned to vector. 2019-10-21 16:12:06 +01:00
Chris Pressey 7187fa6285 Refactor: move to dedicated module. 2019-10-21 15:41:17 +01:00
Chris Pressey bcc256aa5d Checkpoint. 2019-10-21 15:07:54 +01:00
Chris Pressey 2e002fc33e Merge branch 'circle-ci' of https://github.com/catseye/SixtyPical into construct-callgraph 2019-10-21 14:48:27 +01:00
Chris Pressey 894fb1a0f2 Refine the callgraph algorithm. Still incomplete though. 2019-10-21 14:43:21 +01:00
Chris Pressey 58dc68f838 Merge branch 'develop-0.21' into construct-callgraph 2019-10-21 14:08:06 +01:00
Chris Pressey a966a496d0 Bump version number. 2019-10-21 14:07:41 +01:00
Chris Pressey 87a2f70092 First cut at constructing a call graph. 2019-10-21 14:03:35 +01:00
Chris Pressey 5912bf2684 Fix dcc6502-adapter for latest version of tcarmelveilleux/dcc6502. 2019-10-21 13:34:53 +01:00
Chris Pressey 0ef0dc1628 dcc6502-adapter fixes. 2019-07-16 16:26:16 +01:00
Chris Pressey 775af38960 Change config. 2019-07-16 16:23:30 +01:00
Chris Pressey 952e3528a3 Try this. 2019-07-16 16:22:29 +01:00
Chris Pressey 8467cd947e Merge pull request #21 from catseye/develop-0.20
Develop 0.20
2019-05-14 16:25:27 +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 81e28fa757 Jot down some TODO items before I forget them. 2019-04-18 09:16:23 +01:00
Chris Pressey 3d14b6ee6c Fix typo. 2019-04-16 13:59:27 +01:00
Chris Pressey 1c7efb019d Merge pull request #20 from catseye/develop-0.19
Develop 0.19
2019-04-16 12:35:59 +01:00
Chris Pressey 0c65954bc5 Updates to README. Fix awkward punctuation in usage message. 2019-04-16 11:37:46 +01:00
Chris Pressey a10f1c6528 Replace --run option with terser --run-on option. 2019-04-16 10:35:59 +01:00
Chris Pressey 4d82e2352e Merge branch 'develop-0.19' into reform-loadngo 2019-04-15 17:39:09 +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 6d867867fe Remove the "local" loadngo script from here as well. 2019-04-15 13:16:07 +01:00
Chris Pressey a44b007ff0 Declare that --run replaces loadngo.sh, and remove the latter. 2019-04-15 13:11:43 +01:00
Chris Pressey ce8e83908b First cut at a --run option for sixtypical, replacing loadngo.sh. 2019-04-11 16:53:43 +01:00
Chris Pressey 04a9438898 The VICE emulators just keep going if they can't find the vicerc. 2019-04-10 16:53:01 +01:00
Chris Pressey c906ab7817 A few further small edits to README. 2019-04-10 12:29:59 +01:00
Chris Pressey 1ca5cb0336 You could argue that it's not *that* low level, so, okay. 2019-04-10 12:23:50 +01:00
Chris Pressey 7854f71706 More edits to docs. 2019-04-10 12:02:35 +01:00
Chris Pressey 652ab1dc5c Clean up ArgumentParser usage message, add --version argument. 2019-04-10 10:42:50 +01:00
Chris Pressey 21a187a105 Update docs. 2019-04-10 09:29:45 +01:00
Chris Pressey 8d6e5e090d The Type and Ref class hierarchies are now namedtuples. 2019-04-10 08:50:13 +01:00
Chris Pressey a0328b8840 Store type information in SymbolTable shared across phases. 2019-04-10 08:48:33 +01:00
Chris Pressey 394fbddad6 Refactor to avoid storing LocationRefs in SymEntry. 2019-04-09 09:42:22 +01:00
Chris Pressey 4615d8d054 Distinct AST nodes for call and goto instructions. 2019-04-08 16:26:51 +01:00
Chris Pressey bd462d6d8b Include more info in --dump-exit-contexts. 2019-04-08 12:23:44 +01:00
Chris Pressey b19267d3ba Checkpoint import of changes for version 0.19. 2019-04-08 11:50:54 +01:00
Chris Pressey c7e1b69845 Merge pull request #19 from catseye/develop-0.18
Develop 0.18
2019-01-04 11:21:37 +00:00
Chris Pressey 49bb5b578a Extract utility routine to "support/stdlib.60p" source. 2018-12-25 18:10:58 +00:00
Chris Pressey f2570729a4 Final (for now) cleanup of the example sources. 2018-12-12 15:27:57 +00: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 cfca03ed7e Merge pull request #17 from catseye/inconsistent-initialization
Drop check for inconsistent initialization
2018-12-12 15:11:57 +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 0ec8970c76 Expand example with code that will likely become library support. 2018-12-12 09:27:25 +00:00
Chris Pressey 03a682ff08 Make word-table print YY. 2018-12-12 09:13:13 +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 547b7c960a Restore the debugging (which should be rethought, anyway). 2018-12-11 22:40:23 +00:00
Chris Pressey d13c6a94a2 Drop the check for "consistent initialization" inside if blocks. 2018-12-11 19:27:40 +00:00
Chris Pressey d86612acce Note what we've done with the example programs. 2018-12-11 19:11:03 +00:00
Chris Pressey c85cb6722a Add local load'n'go script. Fill in what each is expected to write. 2018-12-11 18:14:36 +00:00
Chris Pressey d3f730cc76 Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +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 5d01820bb1 Small reorganization of example programs. 2018-12-11 17:17:15 +00:00
Chris Pressey 70ba40bf3e Merge pull request #16 from catseye/goto-at-end-of-block
goto only at end of block, not only in tail position
2018-12-11 16:51:44 +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