-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whistle does not work correctly with TinyGo #11
Comments
Some additional info. The core tests in Whistle pass if you increase the stack size, e.g.
However even when setting to a very high number ( |
The direct panic is coming from the macro system, which is not the greatest code I've ever written. I don't know yet why this would be using massive amounts of stack space, but the fact that a macro is interpreted into a transformer (anonymous func) and stored in a map means it uses some less well supported parts of tinygo, perhaps?
|
@deosjr please see tinygo-org/tinygo#3771 (comment) |
Unoptimised, not even hello.lisp works. This is because many different parts go out of stack quite easily. I have isolated them one by one and found that parsing complex lines, too many macros, too many builtin funcs and the anonymous functions in the process implementation in |
It would be great to be able to run Whistle using TinyGo. I am trying with the latest
dev
branch build.The cmd/whistle itself compiles:
but does not really work:
Running the tests using
tinygo test
shows this same error.The text was updated successfully, but these errors were encountered: