Skip to content

Commit

Permalink
Command err handling (#480)
Browse files Browse the repository at this point in the history
* ignore .vscode

* Improved error handling in command execution

- Modified function signatures to return errors
- Added error checks after command executions
- Added specific error messages for different failures
- Updated the handling of parser errors for source tape parsing
- Altered evaluator to incorporate the revised error handling

* Move waiting for "window.term" in VHS evaluator

- Moved the logic for waiting until the "window.term" variable is accessible from VHS setup to evaluation phase
- This ensures the proper timing and handling of errors related to the 'term' variable access (some SET commands access term)

* ignore unused param
  • Loading branch information
mastercactapus authored May 31, 2024
1 parent 41c16a3 commit 5a207ef
Show file tree
Hide file tree
Showing 5 changed files with 325 additions and 121 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ completions
dist
vhs
.idea/
.vscode/
Loading

0 comments on commit 5a207ef

Please sign in to comment.