go-studybox/script
Zorchenhimer bfc7beb382
[script] Improve CDL logic
- CDL data can now be output to a file.  If --cdl-output isn't given,
  but --cdl is given, the input file is overwritten with the new data.
  If no CDL file is given no data is written.
- Count arguments as "Code"
- The SmartParse function no longer creates a new CDL.  It will use and
  update what it was given.
- The just-stats command does not write CDL data even though it
  generates it.

Variable length arguments are not properly handled yet.  Currently, just
the OP code and first argument (length) are set at Code.  The rest are
ignored.
2025-09-14 18:06:46 -04:00
..
cdl.go [script] Improve CDL logic 2025-09-14 18:06:46 -04:00
instructions.go [script] Add InlineImmediate field to Instruction 2025-09-06 22:55:06 -04:00
labels.go [script] Add CDL; Add "smart" parsing 2025-09-14 16:52:06 -04:00
parser.go [script] Improve CDL logic 2025-09-14 18:06:46 -04:00
script.go [script] Improve CDL logic 2025-09-14 18:06:46 -04:00
stats.go [script] Move InstrStat to script/stats.go 2025-09-13 14:03:45 -04:00
tokens.go [script] Add CDL; Add "smart" parsing 2025-09-14 16:52:06 -04:00
values.go Initial commit 2024-04-27 15:19:14 -04:00