Commit Graph

45 Commits

Author SHA1 Message Date
Rob Greene
5e72a68c42 Adding a "wrapper" capability to help with DOS rewriting application. #24 2023-10-30 12:53:33 -05:00
Rob Greene
d84d4ca1e8 Correcting call when moving to call the move code instead of the embedded code. Related to #24. 2023-10-29 13:41:44 -05:00
Rob Greene
bcfa634f7b Marking most of this class as private to prevent API poisoning.
Preparation for #43.
2020-11-25 12:38:31 -06:00
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
kris
f7b5b050dd Support parsing '?' tokens, which is a shorthand for 'PRINT'. 2019-07-20 15:52:01 -05:00
Rob Greene
ceecbd49fa Tweaking to handle empty lines a bit better for #18. 2018-11-21 14:34:03 -06:00
Rob Greene
6989a186e6 Testing a few other types of input. 2018-11-21 14:28:27 -06: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
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
35b02d96dc Adding ability to import external shape files via shape generator. 2018-07-14 23:25:55 -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
486016d7d6 Tweaking logic (again) to more correctly reassign line numbers. 2018-07-13 21:21:59 -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
aa29fb8399 Extensive remodeling for slightly more complex directives. Adding
$shape. #16.
2018-07-12 23:37:19 -05:00
Rob Greene
f77a945c7e Adding ability to attach labels to a shape. #16. 2018-06-24 15:29:31 -05:00
Rob Greene
33289a18fb Adding shape optimization flag. #16. 2018-06-24 15:13:04 -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
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
707b567b96 Adding generate subcommand. #16. 2018-06-19 20:09:39 -05:00
Rob Greene
47ea9e41de Starting shape table generation. #16. 2018-06-19 15:27:19 -05:00
Rob Greene
ed665de0a6 Clean up... 2018-06-19 12:13:54 -05:00
Rob Greene
6a26e37330 Allowing image extraction of shapes. #16. 2018-06-19 11:57:58 -05:00
Rob Greene
55434b6f53 Using spaces to show unused area in shape. 2018-06-18 20:47:51 -05:00
Rob Greene
37683e1852 Early work on shape tools and 'st' command. 2018-06-17 19:03:48 -05:00
Rob Greene
88ce03e970 Renaming project from bastokenizer to bastools to capture the ... expansion of its capabilities! 2018-06-12 19:39:33 -05:00
Rob Greene
68709f8ca1 Adding $hex directive as a hack to allow hex numbers. 2018-06-10 22:09:00 -05:00
Rob Greene
0a31aee7e9 Fix a glitch where an empty line 0 could be created if there are no
constants.
2018-06-10 22:08:39 -05:00
Rob Greene
4d6e608f59 Optimization to move constant values into variables. Closes #4. 2018-06-10 10:39:14 -05:00
Rob Greene
187c926017 Utility to generate all Applesoft variable names. 2018-06-10 10:38:08 -05:00
Rob Greene
edb91e9f96 Adding VariableCollectorVisitor. 2018-06-10 10:37:34 -05:00
Rob Greene
54370109b2 Fixing the "IF expr THEN [GOTO|GOSUB] n" case. 2018-06-10 10:35:50 -05:00
Rob Greene
d45c17dcaf A bit of documentation and making constructors uniform. 2018-06-09 11:24:29 -05:00
Rob Greene
001cb40c9f Adding version to the BT API. 2018-06-08 22:42:25 -05:00
Rob Greene
6eecf14289 Updating README's. 2018-05-29 16:24:02 -05:00
Rob Greene
88cb3d18da Migrated to Gradle; spearated into 'api' and 'tools/bt' projects. Closes #15. 2018-05-28 22:33:41 -05:00