added hsargs, hsexit and bundler mode
This commit is contained in:
@@ -282,6 +282,14 @@ Any line fragment starting with `#` to the end of the physical source line is re
|
||||
- **Stack Effect**: `( -- )`
|
||||
- **Description**: Prints the current stack representation to standard output (useful for debugging).
|
||||
|
||||
### `hsargs` (Host Arguments)
|
||||
- **Stack Effect**: `( -- [args] )`
|
||||
- **Description**: Pushes a list/quotation of all passed command line arguments onto the stack.
|
||||
|
||||
### `hsexit` (Host Exit)
|
||||
- **Stack Effect**: `( code -- )`
|
||||
- **Description**: Exits the program/interpreter with the specified exit code.
|
||||
|
||||
### `hseval` (Host Language Evaluation)
|
||||
- **Stack Effect**: `( expr -- val )`
|
||||
- **Description**: Pops the string `expr` from the stack, evaluates it as an expression in the host language (e.g., Python), and pushes the resulting value back onto the stack.
|
||||
|
||||
Reference in New Issue
Block a user