Closed benloh closed 1 year ago
In GitLab by @daveseah on Jun 15, 2022, 20:26
added 2 commits
In GitLab by @daveseah on Jun 15, 2022, 20:35
After heavily instrumenting the line-out routines, my guesses are
forEach
that should actually be an indexer. You can see here that the LEVEL going in/out is adding extra lines, which means they're being iterated somehow. pushStatement()
, peekStatement()
, and popStatement()
which were added as part of the editable token stuff may not be needed at all because we're processing line-by-linescript_page
structure has been generated, because this is the unrolled script_tokens that don't require jumping-in and out of statement blocks.In GitLab by @daveseah on Jun 16, 2022, 18:10
added 1 commit
In GitLab by @daveseah on Jun 16, 2022, 20:50
added 1 commit
In GitLab by @daveseah on Jun 17, 2022, 04:26
added 1 commit
In GitLab by @daveseah on Jun 17, 2022, 05:02
added 1 commit
In GitLab by @daveseah on Jun 17, 2022, 06:11
added 1 commit
In GitLab by @daveseah on Jun 17, 2022, 06:21
added 1 commit
In GitLab by @daveseah on Jun 17, 2022, 06:38
added 2 commits
In GitLab by @daveseah on Jun 17, 2022, 07:42
added 1 commit
In GitLab by @daveseah on Jun 17, 2022, 10:58
marked this merge request as ready
In GitLab by @daveseah on Jun 17, 2022, 14:09
added 1 commit
In GitLab by @daveseah on Jun 17, 2022, 14:42
added 1 commit
In GitLab by @daveseah on Jun 17, 2022, 14:43
CRASH ISSUES caused by the renaming of program outputs from lowercase to uppercase. Should all be fixed now.
No errors in dev wizard or main.
mentioned in commit ae8f778eb960d14c5e3776ab2c411b97fe55716a
In GitLab by @daveseah on Jun 15, 2022, 08:52
Merges dev-sri/gui-debug-editable-toks -> dev-next-gui
This hopefully is the final fixed version of the system to allow easy modification, insertion, and deletion of Script Lines that are being edited by the GUI. This is more difficult than it sounds because our internal script encoding can have blocks of code, and these blocks can be insider of blocks. For example, this block of GEMSCRIPT text looks like 5 lines but is encoded as one statement:
encodes as "statement" (simplified for readability)
TESTING
BUILD & RUN
NOTE
editable-lines.gemscript
CHANGE
ac-wizcore-util
, change theMUTATE
constant on line 31 to TRUEac-wizcore-util
demonstrates how to use the API, and starts at line 138DOUBLE-CHECK
TECHNICAL
The API for EditableTokens is generally this: