1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-10 16:05:40 +00:00
Commit Graph

309 Commits

Author SHA1 Message Date
Cat's Eye Technologies
cbeac87a73 Beginnings of using word tables 2014-04-13 11:41:40 +01:00
Cat's Eye Technologies
16d6a54fb5 Parse (at the very least) decls for word and vector tables. 2014-04-12 21:54:00 +01:00
Cat's Eye Technologies
cac23cc7d0 Two kinds of actor. We now need vector tables! 2014-04-12 21:45:27 +01:00
Cat's Eye Technologies
04678ca809 Block-level decls are visible in inner blocks. 2014-04-12 21:27:04 +01:00
Cat's Eye Technologies
23185b8045 Work on game a bit. Multiple actors. 2014-04-12 21:20:45 +01:00
Cat's Eye Technologies
8acde175ad mergeRoutCtxs does not need to throw poisoning errors. 2014-04-12 20:37:42 +01:00
Cat's Eye Technologies
af7d65ee09 Fix example programs; allow externals to be called.
--HG--
rename : eg/hi.60p => eg/hello-world.60p
2014-04-12 19:13:13 +01:00
Cat's Eye Technologies
ad1e159317 Character tables. Emit tables properly. 2014-04-12 13:55:08 +01:00
Cat's Eye Technologies
7a3b3b1b25 Initial values for reserved tables; checks length is right. 2014-04-12 13:38:11 +01:00
Cat's Eye Technologies
f9d0c8173d Handle tricky case of abs.interp.'ing a repeat loop. 2014-04-12 13:07:46 +01:00
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