Commit Graph

113 Commits

Author SHA1 Message Date
Rob Greene
f729ef7c6d Displaying a more intelligent error message with invalid tokens in the
input stream. #20
2019-09-02 21:07:52 -05:00
A2 Geek
cc12f7ccba
Merge pull request #19 from KrisKennaway/master
Support parsing '?' tokens, which is a shorthand for 'PRINT'.
2019-09-01 14:58:42 -05:00
kris
7939985f89 Add a comment explaining what is going on 2019-07-20 15:54:34 -05:00
kris
f7b5b050dd Support parsing '?' tokens, which is a shorthand for 'PRINT'. 2019-07-20 15:52:01 -05:00
Rob Greene
801ce68525 Updating README to include current help text. 2018-11-21 15:15:23 -06:00
Rob Greene
ceecbd49fa Tweaking to handle empty lines a bit better for #18. 2018-11-21 14:34:03 -06:00
Rob Greene
c43baf9c15 Updating version referenced in README. 2018-11-21 14:28:56 -06:00
Rob Greene
6989a186e6 Testing a few other types of input. 2018-11-21 14:28:27 -06:00
Rob Greene
722fee2b6d Reordered the erase to do the sub before the depthcharge. 2018-07-16 22:21:15 -05:00
Rob Greene
4c779f45e9 Restructured source code: long variable names, multi-line, a bit of
commenting.
2018-07-16 22:17:38 -05:00
Rob Greene
9078361a18 Adding an optimization to shorten variable names to 1 or 2 characters.
This allows more useful variable names in the program.
2018-07-16 22:16:59 -05:00
Rob Greene
b84896c8cf Allowing a line continuation character of "\" with a newline immediately
after the "\" character.
2018-07-16 22:16:03 -05:00
Rob Greene
070b9371ec Allowing a ' to begin a full-line comment; cannot be used within a
continued line.
2018-07-16 22:14:27 -05:00
Rob Greene
1ae29b4488 Fixed a couple of bugs. 2018-07-15 19:46:27 -05:00
Rob Greene
e20a9c03e0 Decided that exempting "A=150" wasn't really getting anywhere. If that's
in a loop, that 150 should be pre-assigned to a "constant".
2018-07-15 18:03:13 -05:00
Rob Greene
adc60b9d41 Renamed code, finished it up with an intro screen. 2018-07-15 18:02:29 -05:00
Rob Greene
35b02d96dc Adding ability to import external shape files via shape generator. 2018-07-14 23:25:55 -05:00
Rob Greene
53b8575d3b Adding sub explosions. 2018-07-14 16:48:12 -05:00
Rob Greene
fde074ccdc Dealing with a circular pattern in the computed mark address. 2018-07-14 16:47:16 -05:00
Rob Greene
87c5930b0c Added subs and collision detection. 2018-07-13 23:16:19 -05:00
Rob Greene
a35ab37419 Only 1 depth charge redraws per loop. 2018-07-13 22:22:10 -05:00
Rob Greene
ba55fc2aaf Multiple depth charges. 2018-07-13 21:22:22 -05:00
Rob Greene
486016d7d6 Tweaking logic (again) to more correctly reassign line numbers. 2018-07-13 21:21:59 -05:00
Rob Greene
442cb1cdeb Working on a sample of 'bt' and 'st' together with 'ac'. 2018-07-13 18:59:23 -05:00
Rob Greene
f0c27bcacf Fixup for renumbering; THEN should not trigger multiple number alterations. 2018-07-13 18:58:13 -05:00
Rob Greene
9dbbfdd663 Fixing some directive parsing snafus. 2018-07-13 00:00:12 -05:00
Rob Greene
446d06af1d Updating README. 2018-07-12 23:41:35 -05:00
Rob Greene
aa29fb8399 Extensive remodeling for slightly more complex directives. Adding
$shape. #16.
2018-07-12 23:37:19 -05:00
Rob Greene
b9f2eb28d1 Updating README. #16. 2018-06-24 15:45:27 -05:00
Rob Greene
15953e9d0d Updating 'st' README. #16. 2018-06-24 15:38:21 -05:00
Rob Greene
f77a945c7e Adding ability to attach labels to a shape. #16. 2018-06-24 15:29:31 -05:00
Rob Greene
89262427bb Changing shape demo code to (hopefully) be a bit more generic. #16. 2018-06-24 15:13:27 -05:00
Rob Greene
33289a18fb Adding shape optimization flag. #16. 2018-06-24 15:13:04 -05:00
Rob Greene
c16f9c674a Making shape demo disk autostart. #16. 2018-06-24 15:12:27 -05:00
Rob Greene
580af51716 Rewrote the zero vector handling logic. #16. 2018-06-24 12:21:47 -05:00
Rob Greene
965d6be891 Adding a robot shape that got mangled to the test. #16. 2018-06-24 12:21:25 -05:00
Rob Greene
cb85e065c3 Fixing isEmpty method. #16. 2018-06-24 12:20:44 -05:00
Rob Greene
1ee7cc0d00 Handling multiple up plots more appropriately. #16. 2018-06-23 23:14:43 -05:00
Rob Greene
a4a96e04f4 Reading shape source was skipping line 1. #16. 2018-06-23 23:13:56 -05:00
Rob Greene
f025fef9bb Extract command now supports various ranges for shape numbers as well as
exporting to code. #16.
2018-06-23 23:13:17 -05:00
Rob Greene
09fd3a4bca Adding width of shape to calculations. #16. 2018-06-23 23:10:56 -05:00
Rob Greene
efbf0973bb Adding a bitmap vectorization based on distance between two points;
fixed a bug in the tracking of origin when generating a bitmap. #16.
2018-06-23 16:50:05 -05:00
Rob Greene
13a6270723 Expanded sweep optimization. #16. 2018-06-22 17:04:52 -05:00
Rob Greene
834e708356 Early copy of bitmap -> vector transformation. #16. 2018-06-21 20:55:04 -05:00
Rob Greene
208eeb8b51 Generate subcommand can now generate a demo disk for shapes. #16. 2018-06-19 21:47:29 -05:00
Rob Greene
b9ce5e434d Allow generating to AppleSingle format. #16. 2018-06-19 20:39:39 -05:00
Rob Greene
be6670d05a Updating READMEs. 2018-06-19 20:09:53 -05:00
Rob Greene
707b567b96 Adding generate subcommand. #16. 2018-06-19 20:09:39 -05:00
Rob Greene
590314877b Switching around the extract command a bit to match others. 2018-06-19 20:09:03 -05:00
Rob Greene
47ea9e41de Starting shape table generation. #16. 2018-06-19 15:27:19 -05:00