1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-01 17:04:59 +00:00
Commit Graph

299 Commits

Author SHA1 Message Date
Cat's Eye Technologies
2607e408d5 Update notes in README. 2014-04-12 12:55:33 +01:00
Cat's Eye Technologies
1f2f4a313a Add .gitignore. 2014-04-12 12:40:32 +01:00
Cat's Eye Technologies
6095aefc5e Add BSD-style licensing. 2014-04-12 12:37:49 +01:00
Cat's Eye Technologies
00daec53a7 Check that block-level reserves do not supply initial value. 2014-04-12 12:23:10 +01:00
Cat's Eye Technologies
915b0cfef0 Number each temporary uniquely across program. Sweet! 2014-04-12 12:16:09 +01:00
Cat's Eye Technologies
7a7127fc06 Get storage location renaming almost right. 2014-04-12 12:12:14 +01:00
Cat's Eye Technologies
f3924d1bad Lift block-level decls to top-level; still needs to rename them.
--HG--
rename : src/SixtyPical/Checker.hs => src/SixtyPical/Transformer.hs
2014-04-12 11:45:10 +01:00
Cat's Eye Technologies
aaec12d5e5 Initial, awkward support for block-level declarations, including a failing test. 2014-04-11 22:50:03 +01:00
Cat's Eye Technologies
cb53d461df Backed out changeset fddaf1476975. Going to do this differently. 2014-04-11 22:29:44 +01:00
Cat's Eye Technologies
f43612e616 Initial, awkward support for temporaries, with failing test. 2014-04-11 22:13:35 +01:00
Cat's Eye Technologies
9532a9399c byte table -> byte[SIZE], and you can reserve them. 2014-04-11 21:47:18 +01:00
Cat's Eye Technologies
9a0896c90f Explicit with syntax. 2014-04-11 21:26:27 +01:00
Cat's Eye Technologies
c8ddbd8edf Uninitialized reserved storage becomes .space in .data segment. 2014-04-11 21:05:00 +01:00
Cat's Eye Technologies
aacfb02375 reserved storage locations can have initial values. 2014-04-11 20:35:45 +01:00
Cat's Eye Technologies
2fb9621a04 Switch to C++/Javascript-style comments, in whitespace production. 2014-04-11 16:21:54 +01:00
Cat's Eye Technologies
3420fbc243 Erase types from IndirectIndexed locations. 2014-04-11 12:52:36 +01:00
Cat's Eye Technologies
264838b2ec Use weaker version of updateRoutCtx in merge. All tests pass. 2014-04-11 12:50:41 +01:00
Cat's Eye Technologies
1aa03f7451 A slightly better understanding of what we're dealing with. 2014-04-11 11:22:54 +01:00
Cat's Eye Technologies
5a49382ad4 Improve test coverage. One failing test. 2014-04-11 11:04:35 +01:00
Cat's Eye Technologies
3ff96a0353 Fix (bodge?) and document my worries. 2014-04-04 19:50:34 +01:00
Cat's Eye Technologies
de4a6a7c83 report the name of the routine that does not preserve locations 2014-04-04 19:23:27 +01:00
Cat's Eye Technologies
81526ec834 Poisoning high/low byte of word poisons the word. 2014-04-04 19:06:58 +01:00
Cat's Eye Technologies
56f8407b55 Merge contexts from both branches of an if. 2014-04-04 18:27:51 +01:00
Cat's Eye Technologies
e3c257f4b9 Test for previous feature. 2014-04-04 17:14:31 +01:00
Cat's Eye Technologies
240fd49ac3 named_location production; syntax is "asl .a" now 2014-04-04 17:09:50 +01:00
Cat's Eye Technologies
37215cb72a Always emit main first. 2014-04-04 16:54:25 +01:00
Cat's Eye Technologies
5e4bf5caad Get eg/* working again. 2014-04-04 16:16:51 +01:00
Cat's Eye Technologies
b455709ef1 Analyze bfore mitting 2014-04-04 15:45:49 +01:00
Cat's Eye Technologies
c66b339181 Spiffy up the README, move meaty stuff into docs. 2014-04-04 15:32:47 +01:00
Cat's Eye Technologies
af05d77d2d Get routine outputs nominally working. 2014-04-04 15:05:58 +01:00
Cat's Eye Technologies
64e50a905f Routines can declare their outputs now. 2014-04-04 14:52:14 +01:00
Cat's Eye Technologies
827896cd68 Hey, passing tests. Cool. 2014-04-04 14:22:19 +01:00
Cat's Eye Technologies
a86738c387 Pretty-print usages 2014-04-04 13:49:45 +01:00
Cat's Eye Technologies
11265e3060 Context is seperate; Usage is saner 2014-04-04 13:36:26 +01:00
Cat's Eye Technologies
023038833c Beginnings of rework on the analyzer. 2014-04-04 13:06:12 +01:00
Cat's Eye Technologies
e2704df129 No more COPYVECTOR 2014-04-03 22:17:46 +01:00
Cat's Eye Technologies
2088769b8e Generalized copy command for great justice. 2014-04-03 22:07:19 +01:00
Cat's Eye Technologies
0850162d43 Improve game slightly. Add foldRoutine*, use in checker. 2014-04-03 20:29:43 +01:00
Cat's Eye Technologies
962f2ad452 Baby steps. 2014-04-03 19:54:01 +01:00
Cat's Eye Technologies
569de53797 A refactor 2014-04-03 19:30:40 +01:00
Cat's Eye Technologies
f4a77ae5c4 Support for all instructions! 2014-04-03 18:59:37 +01:00
Cat's Eye Technologies
571b3d403b Fix jmp (vector) syntax. Filename extension is .60p.
--HG--
rename : eg/cinv.60pical => eg/cinv.60p
rename : eg/demo.60pical => eg/demo.60p
rename : eg/hi.60pical => eg/hi.60p
rename : eg/screen.60pical => eg/screen1.60p
rename : eg/screen2.60pical => eg/screen2.60p
rename : eg/screen3.60pical => eg/screen3.60p
2014-04-03 18:52:58 +01:00
Cat's Eye Technologies
55a5ee85e3 Support most of the rest of the instructions. 2014-04-03 17:57:30 +01:00
Cat's Eye Technologies
de414ee714 Add failing test for remaining opcodes. 2014-04-03 14:30:27 +01:00
Cat's Eye Technologies
d8d3b283bf Move tests to own files in doc. 2014-04-03 13:32:06 +01:00
Cat's Eye Technologies
cfbc840195 version of demo with joystick is almost a game. 2014-04-02 22:11:27 +01:00
Cat's Eye Technologies
e8e9e00a19 Use words in demo. 2014-04-02 21:37:23 +01:00
Cat's Eye Technologies
f5df4e5680 typematching 2014-04-02 20:50:35 +01:00
Cat's Eye Technologies
d225d1e727 Pass test, hamfistedly. 2014-04-02 20:16:50 +01:00
Cat's Eye Technologies
c9c2d9345f Low, high bytes of word. 2014-04-02 20:11:30 +01:00