guida-lang / compiler

Guida is a functional programming language that builds upon the solid foundation of Elm, offering backward compatibility with all existing Elm 0.19.1 projects
https://guida-lang.org
Other
41 stars 2 forks source link

remove the need for `stack-size=8192` #6

Closed decioferreira closed 2 weeks ago

decioferreira commented 2 months ago

Currently bin/index.js works by calling node with an increased --stack-size=8192. We should remove it and make sure it is not required.

#!/usr/bin/env -S node --stack-size=8192

To reproduce the issue, make sure to remove all cache (rm -rf ~/.guida guida-stuff).

decioferreira commented 2 weeks ago

The solution for this was based on one found on https://github.com/pithub/elm-compiler-in-elm-ui/blob/main/src/Compiler/Parse/Primitives.elm#L136-L166