1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-26 14:49:15 +00:00
Commit Graph

206 Commits

Author SHA1 Message Date
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
7613c37a49 Added tag 0.3 for changeset 5d95f1d75a32 2015-10-17 18:29:37 +01:00
Chris Pressey
8daa1449c4 Bump version number for release of version 0.3. 2015-10-17 18:29:33 +01:00
Chris Pressey
070ffacf69 Don't generate code for empty else blocks. 2015-10-17 18:25:54 +01:00
Chris Pressey
b794d8d273 Get serialization of relative labels correct. 2015-10-17 18:11:23 +01:00
Chris Pressey
a5c3b4725d Pass address when serializing. Still wrong, of course. 2015-10-17 16:51:35 +01:00
Chris Pressey
b6bb64528f Implement compiling if, but we need relative addressing first. 2015-10-17 16:34:02 +01:00
Chris Pressey
479b484313 Compile the rest of the instructions. 2015-10-17 16:17:35 +01:00
Chris Pressey
e62fd85ccf Compile access of defined memory locations. 2015-10-17 15:46:28 +01:00
Chris Pressey
a3160a5166 Call defined routines. 2015-10-17 15:23:00 +01:00
Chris Pressey
643a48a2c5 Compiler object, labels, compile 'call'... It prints 'A'! 2015-10-17 15:06:50 +01:00
Chris Pressey
2ffff3bbdb Make extern routines survive analysis. 2015-10-17 14:54:28 +01:00
Chris Pressey
49d90dfae0 Add syntax for extern routines, add syntax tests. 2015-10-17 13:50:21 +01:00
Chris Pressey
d716c9b4e0 Update TODO plan. 2015-10-17 12:30:45 +01:00
Chris Pressey
d0e3dfbf84 Add tests for compilation, BASIC header, load-n-go script. 2015-10-17 12:28:39 +01:00
Chris Pressey
5b429adfd9 6502 opcodes are Emittables. Can compile simple programs now! 2015-10-17 11:08:25 +01:00
Chris Pressey
c0243ee6ba Wire up the compiler and wring out obvious bugs. 2015-10-17 10:17:44 +01:00
Chris Pressey
ba55065060 Sketch the compiler. 2015-10-16 23:12:52 +01:00
Chris Pressey
bb7fbcda6c Add Emitter framework, and 6502 Generator (will likely change.) 2015-10-16 22:59:35 +01:00
Chris Pressey
20ff255b40 Added tag 0.2 for changeset 9ad29480d9bb 2015-10-16 19:34:01 +01:00
Chris Pressey
a300ac11bc Prep for release of version 0.2. 2015-10-16 19:33:58 +01:00
Chris Pressey
22c58ba556 Improve evaluator internals. Finish test suite for analysis. 2015-10-16 19:32:18 +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
c3a0659058 Write sufficient tests (I think) for analysis of ifs. 2015-10-16 14:01:45 +01:00
Chris Pressey
d22edc52a9 Allow if analysis to pass (needs more tests.) Better styling. 2015-10-16 13:06:18 +01:00
Chris Pressey
9c201ccf07 Fix links in README. Implement Context.clone(). 2015-10-16 10:54:12 +01:00
Chris Pressey
dd4c50fc50 Refactor to replace some sketchy code with code actually in use.
--HG--
rename : src/sixtypical/objects.py => src/sixtypical/model.py
2015-10-16 10:40:38 +01:00
Chris Pressey
15e6a732f5 Add TODO to README, update license information. 2015-10-16 10:00:51 +01:00
Chris Pressey
6192a6a7f8 Add specific error for uninit outputs. Sketch if analysis. 2015-10-16 09:38:38 +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
dedd1bb792 Added tag 0.1-2014.1230 for changeset 6490aea10e20 2014-12-30 13:03:19 +00:00
Chris Pressey
d56e261b07 Don't use deprecated Falderal variable names anymore. 2014-09-24 19:58:14 +01:00
Chris Pressey
a0f8afa76f Added tag 0.1 for changeset 923e42a2d0c1 2014-05-25 17:52:08 +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
cfd99c69e2 Tweaks to README. 2014-04-26 14:41:33 +01:00
Cat's Eye Technologies
2091dada5e Add failing test. 2014-04-25 23:21:00 +01:00
Cat's Eye Technologies
5a794a46e6 Name flags in routine outputs. Refactor game, add check_button. 2014-04-13 13:42:15 +01:00
Cat's Eye Technologies
730f9f1cb1 Make game even more interesting -- 619 bytes. 2014-04-13 13:14:04 +01:00
Cat's Eye Technologies
cbd88abc89 Vector tables, and copy routine into a vector table. 2014-04-13 12:41:26 +01:00
Cat's Eye Technologies
eec59ac8a9 Make game more interesting (and 544 bytes long...) 2014-04-13 12:24:21 +01:00
Cat's Eye Technologies
13d38dc45f Immediate, or register, on LHS of copy command. 2014-04-13 12:12:53 +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
cac23cc7d0 Two kinds of actor. We now need vector tables! 2014-04-12 21:45:27 +01:00