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

566 Commits

Author SHA1 Message Date
Chris Pressey
92db4ac3f0 More tests for "for" loops. 2018-09-16 21:30:53 +01:00
Chris Pressey
dd86015cd5 Add another test for for. There's another one I want to add too. 2018-09-16 18:45:09 +01:00
Chris Pressey
6e9b15e017 Small documentation updates. 2018-09-14 13:14:32 +01:00
Chris Pressey
7680f09850 More conversion. I think that's the last of it. 2018-09-09 15:31:35 +01:00
Chris Pressey
7d32277e2c More conversion. 2018-09-09 15:03:43 +01:00
Chris Pressey
5549b8379f More conversion. 2018-09-09 14:01:38 +01:00
Chris Pressey
f81757fd76 Partial conversion of example programs. 2018-09-07 23:00:29 +01:00
Chris Pressey
38119dbe29 Convert all tests to new syntax. 2018-09-07 22:55:54 +01:00
Chris Pressey
5e692446b8 Convert remainder of routine declarations in this file. 2018-09-07 22:49:39 +01:00
Chris Pressey
da44e1b22e Many, many define main routine, define foo routine, etc. 2018-09-07 18:49:39 +01:00
Chris Pressey
0c63de9351 Merge branch 'develop-0.17' into remove-legacy-syntax 2018-09-07 17:49:03 +01:00
Chris Pressey
ff54a568a8 Update TODO 2018-09-07 17:47:59 +01:00
Chris Pressey
505fcb7b92 game_state_routines pass through player_died; saves a few bytes. 2018-09-07 17:41:40 +01:00
Chris Pressey
443c3186c2 Change global instead of returning with carry set. 2018-09-07 17:38:56 +01:00
Chris Pressey
fee36294db Update TODO and HISTORY. 2018-09-07 15:35:42 +01:00
Chris Pressey
684b26dd5c locexpr() always returns a ForwardReference if it can't lookup it. 2018-09-07 15:03:41 +01:00
Chris Pressey
07ef1e243a backpatch_constraint_labels can resolve ForwardReferences. 2018-09-07 14:51:16 +01:00
Chris Pressey
29a5bba85c Distinct symbol resolution phase (as a method on parser.) 2018-09-07 14:27:49 +01:00
Chris Pressey
cc98e023c4 Simply always produce ForwardReferences in locexpr(forward=True). 2018-09-07 14:02:40 +01:00
Chris Pressey
d70092c373 Even more general. 2018-09-07 13:42:18 +01:00
Chris Pressey
af0e1b41c7 Forward-reference resolution becomes increasingly general. 2018-09-07 13:40:41 +01:00
Chris Pressey
26a2fb448c Generalize forward reference resolution a smidge. 2018-09-07 13:27:18 +01:00
Chris Pressey
33d5093e5a Resolve forward references more explicitly. 2018-09-07 13:20:18 +01:00
Chris Pressey
7c9f76c007 Removing support for it is one thing, updating all tests another. 2018-09-07 13:03:57 +01:00
Chris Pressey
5bad7ff576 Another conversion away from self.context.fetch to self.declare. 2018-09-07 12:43:55 +01:00
Chris Pressey
c73590f88c Begin refactoring how the ParsingContext is used by the Parser. 2018-09-07 12:24:07 +01:00
Chris Pressey
e7674c44ce Confirm constraint on saveing a. 2018-09-07 11:33:24 +01:00
Chris Pressey
19461bc205 Support save X, Y, Z {} as a shortcut syntax for nested saves. 2018-09-07 11:27:42 +01:00
Chris Pressey
b63bcfcd2b Begin introducing shortcut syntax for nested saves. 2018-09-07 09:36:51 +01:00
Chris Pressey
0593ce6a66 Move merge_programs() out of main. Handle missing -o options. 2018-09-07 09:26:11 +01:00
Chris Pressey
8ce787a797 Inheritance hierarchy; binding is a little less awful. 2018-09-07 09:10:20 +01:00
Chris Pressey
0b6a66fdbb pyflakes. 2018-09-06 18:26:30 +01:00
Chris Pressey
99a0d5624a Awful binding, but at least this code isn't in main anymore. 2018-09-06 18:25:29 +01:00
Chris Pressey
24f093b1db Make all serialize() methods take addr() as an arg, not kwarg. 2018-09-06 18:11:47 +01:00
Chris Pressey
0a91d6bbc0 Rename method for more distinction/clarity. 2018-09-06 17:21:43 +01:00
Chris Pressey
8efa73f79d Explicitly sort the chains by their content, for stable sort. 2018-09-06 17:15:10 +01:00
Chris Pressey
10062fe2fb Fix whitespace (but not sorting) issue in --dump-fallthru-info. 2018-09-06 16:32:48 +01:00
Chris Pressey
4bba75857f --output cmdline argument, serialize() returns an array of bytes. 2018-09-06 16:18:41 +01:00
Chris Pressey
3fd7e52bc7 Reduce number of errors under Python 3 another smidge. 2018-09-06 14:21:29 +01:00
Chris Pressey
3c1564ea09 Abort loadngo apple2, if the SixtyPical program couldn't compile. 2018-09-06 12:50:47 +01:00
Chris Pressey
c11869f322 Not making any promises, but reduce the errors under Python 3. 2018-09-05 21:45:58 +01:00
Chris Pressey
fca00ff127 Rewrite the intro blurb in the README. 2018-09-05 21:36:18 +01:00
Chris Pressey
3e11d7122c Add apple2 target to loadngo.sh, apple2 example program. 2018-09-05 15:20:44 +01:00
Chris Pressey
3675a186a1 Add notes for Apple II target. 2018-09-05 12:59:38 +01:00
Chris Pressey
51b98df829 Split TODO off into own file. 2018-08-26 14:35:28 +01:00
Chris Pressey
8bba28cde2 Use relative, ?raw=true URL for embedded image. 2018-08-26 14:32:19 +01:00
Chris Pressey
642ca138a3
Merge pull request #13 from catseye/develop-0.16
Develop 0.16
2018-05-08 12:49:36 +01:00
Chris Pressey
a73f6e1d94 Update HISTORY and README. 2018-05-08 12:48:15 +01:00
Chris Pressey
c3a1bdb4cc Use save block (and a for loop) in the flagship demo game source. 2018-05-08 12:39:21 +01:00
Chris Pressey
8091c45a9a Fix test which is misleading due to the way the appliance works. 2018-05-08 12:14:30 +01:00