introduced hseval

This commit is contained in:
Luxferre
2026-07-03 12:21:19 +03:00
parent 1b583b2ff5
commit 318adf11fe
3 changed files with 24 additions and 7 deletions
+6
View File
@@ -93,6 +93,12 @@ Clyx combines the conceptual simplicity of Forth (and concatenative/RPN programm
While diverging from some "purity" aspects, Clyx is a decent choice for newcomers that want to try out a totally new programming paradigm without investing too much time into fighting the language's quirks.
### Doesn't `hseval` primitive make Clyx programs non-portable across different implementations?
Yes, it does, because it works differently across different host languages (and Clyx implementations are allowed to not support it at all), so it must only be used as a last resort when any other attempts to interact with the outside world are unsuccessful. Additionally, using `hseval` introduces extra security risks. Nevertheless, this primitive had been added in order to enable some host-specific interoperability that would otherwise be impossible or very cumbersome to implement, such as browser-based deployments.
In other words, `hseval` is sometimes very useful in very specific cases, but please avoid using it unless you have a really good reason to use it.
## Credits
Created by Luxferre in 2026, released into the public domain with no warranties.