1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-06-11 18:29:33 +00:00
Commit Graph

111 Commits

Author SHA1 Message Date
Chris Pressey
f0b8942aa1 Allow vectors to be decorated with inputs/outputs/trashes; test. 2015-10-19 13:04:08 +01:00
Chris Pressey
8b30a232fa Analyze copy, but... we now need more sophisticated context. :/ 2015-10-18 20:16:14 +01:00
Chris Pressey
c98e446583 Spec and syntax for vectors and copy instruction. 2015-10-18 19:41:26 +01:00
Chris Pressey
41414b0a1f Prep for release of 0.5. 2015-10-18 19:02:07 +01:00
Chris Pressey
4287bf81c1 Parse byte table declarations and indexing modifiers. 2015-10-18 17:40:53 +01:00
Chris Pressey
f809a5ebd1 Prep for release of 0.4. 2015-10-18 16:34:18 +01:00
Chris Pressey
522c771208 Add explicitly-addressed memory locations. 2015-10-18 16:22:36 +01:00
Chris Pressey
49e42af953 Implement if not and repeat forever. 2015-10-18 15:32:28 +01:00
Chris Pressey
f7eb0d48a8 Spec, parse, evaluate, and analyze repeat blocks. 2015-10-18 13:37:35 +01:00
Chris Pressey
24273f1344 Update documentation to reflect this is now 0.4-PRE. 2015-10-17 18:31:15 +01:00
Chris Pressey
8daa1449c4 Bump version number for release of version 0.3. 2015-10-17 18:29:33 +01:00
Chris Pressey
49d90dfae0 Add syntax for extern routines, add syntax tests. 2015-10-17 13:50:21 +01:00
Chris Pressey
4d61f439bc Fix up spec, split off to 6502 opcodes doc, add some tests. 2015-10-16 19:15:01 +01:00
Chris Pressey
4fc38be387 Update spec. 2015-10-16 18:39:38 +01:00
Chris Pressey
8ccabdf202 Work on the spec a bit. 2015-10-16 15:36:56 +01:00
Chris Pressey
f92056d640 REBOOT the entire language & implementation as version 0.2-PRE. 2015-10-16 09:30:24 +01:00
Chris Pressey
c06e2ba2b6 Fix a few small typo's. 2015-05-29 15:23:40 +01:00
Chris Pressey
d56e261b07 Don't use deprecated Falderal variable names anymore. 2014-09-24 19:58:14 +01:00
Cat's Eye Technologies
922fcfd1fc Parsec that ships with Hugs throws weirder errors sometimes. 2014-04-27 10:34:26 +01:00
Cat's Eye Technologies
bd25d7b9f0 Make work under Hugs98 Sep2006. Falderal needs improving, though. 2014-04-26 15:17:53 +01:00
Cat's Eye Technologies
2091dada5e Add failing test. 2014-04-25 23:21:00 +01:00
Cat's Eye Technologies
26448ccce5 More access of word tables. Game works with a word table now! 2014-04-13 12:06:36 +01:00
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
04678ca809 Block-level decls are visible in inner blocks. 2014-04-12 21:27:04 +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
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
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
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
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
023038833c Beginnings of rework on the analyzer. 2014-04-04 13:06:12 +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
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
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