implemented hseval

This commit is contained in:
Luxferre
2026-07-03 11:58:39 +03:00
parent 4023323d5f
commit 1b583b2ff5
3 changed files with 16 additions and 0 deletions
+4
View File
@@ -274,6 +274,10 @@ 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).
### `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.
---
## 8. Bootstrapped Core Words