Commit Graph

59 Commits

Author SHA1 Message Date
Rob Greene
37683e1852 Early work on shape tools and 'st' command. 2018-06-17 19:03:48 -05:00
Rob Greene
6f3c68a0ee Updating Gradle. 2018-06-12 22:31:50 -05:00
Rob Greene
e4145576cc Quick fixes for name change. 2018-06-12 19:41:40 -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
d49a604412 Altering errors to not print a stack trace unless --debug is specified. 2018-06-10 19:17:19 -05:00
Rob Greene
1fd8afefcd Updating optimization docs for ticket #4. 2018-06-10 10:46:26 -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
d17aa69d8c Ignoring PO and DO disk orders. 2018-06-10 10:36:33 -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
4fb2cfe558 Bumping AppleSingle version. 2018-06-08 22:42:34 -05:00
Rob Greene
001cb40c9f Adding version to the BT API. 2018-06-08 22:42:25 -05:00
Rob Greene
9446fe4126 Adding a version to the BT API. 2018-06-08 22:42:11 -05:00
Rob Greene
0a6c669907 Adding a bit more documentation about the $embed directive. 2018-06-08 22:41:35 -05:00
Rob Greene
9f4528bd50 Bumping version. 2018-06-08 22:41:11 -05:00
Rob Greene
2a091d690d Adding Maven/Gradle notes. 2018-05-29 21:13:35 -05:00
Rob Greene
b5a9e7708f Notes for myself! 2018-05-29 21:07:14 -05:00
Rob Greene
b34e7f0734 Fixing dependencies. 2018-05-29 21:06:16 -05:00
Rob Greene
6eecf14289 Updating README's. 2018-05-29 16:24:02 -05:00
Rob Greene
cff367ca35 Beginning API README. 2018-05-29 15:41:03 -05:00
Rob Greene
f6d2a81bb6 Gradle tweaks: fix for Oracle javadoc doclint strictness; made the signing task a bit more intelligent. 2018-05-29 10:35:40 -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
Rob Greene
7470b3bb64 Bumping applesingle-api version. #14. 2018-05-28 15:03:48 -05:00
Rob Greene
d93bc82b7b Pulling in AppleSingle library. Closes #14. 2018-05-26 22:13:58 -05:00
Rob Greene
56b3af7a44 '$embed' directive now looks for binary in same directory as source
folder. #11.
2018-05-20 20:02:34 -05:00
Rob Greene
e1bf0e719c Adding directives and the '$embed' directive. Closes #11. 2018-05-20 19:54:11 -05:00
Rob Greene
95ab197347 Verifying that lowercase does not cause problems... 2018-05-19 20:51:24 -05:00
Rob Greene
fc2a0ca979 Allowing blank lines... 2018-05-19 20:48:23 -05:00
Rob Greene
b715dbc536 Added --addresses to display addresses of each line number. Closes #13. 2018-05-19 20:02:54 -05:00
Rob Greene
a830af29ea Now line lengths are capped at 255 (configurable). Fixed a few glitches
in Parser and the line number collector. Closes #2.
2018-05-19 19:47:59 -05:00
Rob Greene
e5193a024f Adding merge-lines. Still need to work out max line length. #2. 2018-05-19 13:31:35 -05:00
Rob Greene
e208fa453c Updated what defines a "word" to simplify logic a bit. Closes #10. 2018-05-19 10:39:47 -05:00
Rob Greene
573c0cdbe9 Beginning with variable report. Need to handle arrays yet. #10. 2018-05-17 21:02:13 -05:00
Rob Greene
8b8b26258a Bypassed bug somewhat. If two parts to a token were found, the Optional
logic was not correct.  Instead of fixing, just returned the Token from
the if statement. Closes #9.
2018-05-15 22:22:03 -05:00
Rob Greene
3f4c47551a Adding renumber (which takes advantage of reassignment). Closes #12. 2018-05-15 22:04:35 -05:00
Rob Greene
bf5c9f8e10 Pulled out HexDumper as a class to be more configurable. Closes #9. 2018-05-15 21:46:26 -05:00
Rob Greene
38bdbc901a Forcing identifiers (variables) to be upper-case. Closes #8. 2018-05-15 20:43:30 -05:00
Rob Greene
a6f01dcde0 Bumping version. 2018-05-14 22:31:58 -05:00
Rob Greene
047591ec58 Allowing tree rewrite to remove REM statements and renumber application.
Closes #1.
2018-05-14 22:17:21 -05:00
Rob Greene
bbc6b29bda Adding -O to optimize all. 2018-05-14 22:16:53 -05:00
Rob Greene
120ae0279f Tweaked execute bit. 2018-05-14 22:16:33 -05:00
Rob Greene
97df5fc69d Some additional AppleSoft samples. 2018-05-14 22:16:14 -05:00
Rob Greene
411748ad52 Initial REM removal. Have yet to fix up line numbers that go away. 2018-05-14 18:48:52 -05:00
Rob Greene
ed6227bb97 Switching to long format and "-f" for optimization flags. 2018-05-14 18:48:08 -05:00
Rob Greene
93fdde5267 Adding basic optimization to drop statements. Closes #7. 2018-05-13 22:27:56 -05:00
Rob Greene
8c6df25d80 Refactored to implement visitor pattern in prettyPrint and toBytes. #7. 2018-05-13 21:15:14 -05:00