Commit Graph

6 Commits

Author SHA1 Message Date
Zorchenhimer 045f204a6b
[cmd] Add just-stats command
This command is meant for gathering stats across many script files.
Currently breaks due to an oversight in script parsing (if an inline
argument list goes past EOF, everything breaks).
2025-09-06 22:56:10 -04:00
Zorchenhimer 4bd0027c70
[script] Add some statisticts tracking
Track the statistics of used instructions for the script.
2025-09-06 22:53:33 -04:00
Zorchenhimer 5a001931e7
Added missing cmd/sbutil.go
Not sure how this was missing for so long.  Whoops.
2025-09-06 22:43:13 -04:00
Zorchenhimer 4b9f04874b
[script] Better auto label support
Labels are now their own object instead of just a string.  This allows
for a bit more control with them.  Labels can also now have comments.

Additionally, add the ability to load user-defined labels from a file.
The format of this file is subject to change, but for now it is just a
simple text file.  Each line of the file is a label definition.  Each
line has three fields, separated by spaces.  The first field is the
address, second is the label name, and the rest of the line is a
comment.  If a label name is just a dollar sign ($) it will not have a
name.  This is used when adding comments without a bespoke label.
2025-09-06 22:38:39 -04:00
Zorchenhimer 468f7c780a
Some stuff with the script decoding
I honestly don't remember what these changes are, lol.
2024-09-29 15:03:21 -04:00
Zorchenhimer 6c72977f17
Initial commit
Starting with some script parsing.  This script is the Domain Specific
Language that is on the tapes of the studybox.  Not every opcode is
fully decoded/named yet.
2024-04-27 15:19:14 -04:00