You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all! I have a Neovim plugin written in a FP language - Idris 2. It transpiles to Lua.
Functional languages heavily rely on recursion.
Considering that many functions are not tail recursive — thus can’t be rewritten into a loop — sometimes it’s easy to get yourself into a stack overflow. I noticed that the stack size in the bundled Lua JIT seems to be reduced compared to what I see in my locally installed one.
I am sure there is a way to tune stack size somewhere in the configs for installation of Neovim.
But maybe someone here knows how to do that off the top of their head ?
The text was updated successfully, but these errors were encountered:
nvim --version
: nightlyHi all! I have a Neovim plugin written in a FP language - Idris 2. It transpiles to Lua.
Functional languages heavily rely on recursion.
Considering that many functions are not tail recursive — thus can’t be rewritten into a loop — sometimes it’s easy to get yourself into a stack overflow. I noticed that the stack size in the bundled Lua JIT seems to be reduced compared to what I see in my locally installed one.
I am sure there is a way to tune stack size somewhere in the configs for installation of Neovim.
But maybe someone here knows how to do that off the top of their head ?
The text was updated successfully, but these errors were encountered: