Commit Graph

204 Commits

Author SHA1 Message Date
Rob Greene 9da332fd68 Adding shorten-numbers optimization. (0.6 is output as just .6 since leading 0 is not needed.) 2025-11-07 17:24:37 -06:00
Rob Greene f5620f9aa0 Whitespace. 2025-11-07 17:24:11 -06:00
Rob Greene 228149ff06 Fixing copy/paste again. 2025-11-07 17:23:57 -06:00
Rob Greene 0ed206987f Updating API docs. 2025-11-07 14:59:00 -06:00
Rob Greene 573d2292d0 Updating tokenizer table. 2025-11-07 14:57:44 -06:00
Rob Greene c018a7da4a Updating README. 2025-11-07 14:40:36 -06:00
Rob Greene dff6ad7a3b Realized copy/paste and then editing code actually crashed basic. It appears that 67,68 and AF,B0 need to be set (start and end of applesoft program). Also adjusted end + 1 since that's what Applesoft calculated when working through this. 2025-11-07 14:40:27 -06:00
Rob Greene 027c60da7a Tweak to heading. 2025-11-07 14:38:58 -06:00
Rob Greene 1d758a9b83 Adding number preservation tests which revealed classic tokenizer was not generating the correct tokens for '&', '+', '-', '*', '/', '^', '<', '=', and '>'. 2025-11-07 13:13:51 -06:00
Rob Greene f921aff9ba Adding footer table with more details on modern/classic/preserve. 2025-11-06 17:09:02 -06:00
Rob Greene 4a3c117d5e Now supporting 3 "tokenizers" (modern, classic, preserve). Updated output visitors (byte, print, pretty print) to support number preservation. 2025-11-06 15:06:27 -06:00
Rob Greene 3cf47af205 ClassicTokenReader now supports line continuation (\) character. 2025-11-04 14:30:39 -06:00
Rob Greene 3c3aedbcfb Renaming TokenReader. Now there is a ModernTokenReader and ClassicTokenReader. 2025-11-04 12:05:38 -06:00
Rob Greene 1b5a75359b Adding support for apostrophe as a comment. 2025-11-04 12:03:49 -06:00
Rob Greene 1c257820a0 Adding directive support. Also emitting '=' as the keyword since the parser seems to expect it. (As syntax char works as well, but that breaks directives.) 2025-11-03 18:46:32 -06:00
Rob Greene e5b94e52ad Adding REM to ClassicTokenReader. 2025-11-03 17:22:03 -06:00
Rob Greene 6316db7b59 Adding some tests based on old tickets. 2025-11-03 14:20:50 -06:00
Rob Greene a7c8afb705 Updating how DATA is handled - STRING assumes quotes and a new value seems appropriate. 2025-11-03 14:03:43 -06:00
Rob Greene 252d2031bb New strategy, following some existing code that works. Morphing towards the token stream. 2025-11-03 10:50:01 -06:00
Rob Greene 7c5ecc7ee5 Trying to make token testing easier to build out. 2025-10-30 20:57:58 -05:00
Rob Greene f95ff53d78 First stab at token reader. Detects tokens too quickly at this time. 2025-10-30 14:49:56 -05:00
Rob Greene 97ab248468 Converted Token to a record. 2025-10-30 14:49:12 -05:00
A2 Geek 1287f81c92 Merge pull request #53 from AppleCommander/toil/fix-windows
Tweaking Windows build.
2025-10-23 13:28:05 -07:00
Rob Greene 2ce7f4baf1 Bumping CLTH version. 2025-10-23 14:54:48 -05:00
Rob Greene b570a71721 Confirming that native buildtools can be upgraded. 2025-10-23 14:09:07 -05:00
Rob Greene 8ba67be519 Tweaking Windows build. 2025-10-23 14:02:26 -05:00
A2 Geek ffc5529b12 Merge pull request #52 from AppleCommander/toil/repackage
Repackaged.
2025-10-21 13:33:14 -07:00
Rob Greene 02b07eafc5 Repackaged. 2025-10-21 15:26:49 -05:00
A2 Geek b456ceb3ac Merge pull request #51 from AppleCommander/toil/upgrades
Java 21, Gradle bump, license checks, added command line test harness.
2025-10-20 16:43:10 -07:00
Rob Greene 3c2c368d62 Fixing when actions trigger. 2025-10-20 16:35:23 -07:00
Rob Greene f1866703c2 Adding license header. 2025-10-20 16:30:52 -07:00
Rob Greene 46befa1792 Updating project to run CLTH tests during nativeCompile as well. 2025-10-19 13:23:26 -07:00
Rob Greene 603c5e658e Adding some 'st' command line tests. Had to restructure how System.exit is called due to the Java agent throwing an execution for tracking. 2025-10-19 12:49:57 -07:00
Rob Greene cc2cb5b747 Adding some 'bt' command line tests. Had to restructure how System.exit is called due to the Java agent throwing an execution for tracking. 2025-10-19 10:34:30 -07:00
Rob Greene 25e3e6168a Trying to tweak Gradle configuration a bit. 2025-10-19 09:12:49 -07:00
Rob Greene 4e84b498de Adding license check; adding license headers. 2025-10-18 18:36:45 -07:00
Rob Greene f80aa912c9 Updating action to use Java 21. 2025-10-18 18:25:24 -07:00
Rob Greene 4a96a3f97b Bumping to Gradle 8.14.2. 2025-10-18 18:23:50 -07:00
Rob Greene 0026c02daf Applying Java migration aids for Java 21. 2025-10-18 18:10:14 -07:00
Rob Greene 5d1dad9fc9 Applying Java migration aids for Java 15. 2025-10-18 18:03:42 -07:00
Rob Greene 9c55467c09 Applying Java migration aids through Java 14. 2025-10-18 18:02:10 -07:00
Rob Greene 824f03f855 Another round of code suggestions. 2025-10-18 17:20:47 -07:00
Rob Greene 40b525ae08 First round of code suggestions. 2025-10-18 17:05:12 -07:00
Rob Greene cd1b7f3229 String Java 21 migration. 2025-10-18 16:46:18 -07:00
Rob Greene b772f85f40 Next release version. 2025-10-18 16:30:23 -07:00
Rob Greene bda46a08c6 Updating the publishing stuff. 2025-10-13 19:16:27 -05:00
Rob Greene 7047b72fa1 Updating version. v0.4.1 2025-10-13 19:01:27 -05:00
Rob Greene 56e3cc93dd Allowing variable names that contain a partial keyword (like PR# and IN#). #47 2025-10-13 16:34:56 -05:00
Rob Greene aed6dd11c3 Adding special handling for DATA statement. #48. 2025-10-13 13:05:04 -05:00
Rob Greene 37f0a7c46d Helper to setup aliases. 2025-10-13 13:04:40 -05:00