Skip to content
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

Big Fennel files won't let us eval due to a LuaJIT limitation #119

Open
Olical opened this issue May 14, 2022 · 0 comments
Open

Big Fennel files won't let us eval due to a LuaJIT limitation #119

Olical opened this issue May 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Olical
Copy link
Owner

Olical commented May 14, 2022

One of the core files of Conjure's Clojure support is so big and complex it now blows LuaJIT's 200 local limit when evaluating interactively.

; eval (file): ...conjure/fnl/conjure/client/clojure/nrepl/action.fnl
; ...packer/start/conjure/lua/conjure/aniseed/deps/fennel.lua:730: [string "local _2amodule_locals_2a = ___replLocals___[..."]:213: main function has more than 200 local variables

I don't know if this'll ever happen with non-interactive compiling... maybe if it got big enough actually... :( if you have 200 functions defined it'll blow up. So can I find a way to mitigate this... this is an open ended ticket so I remember it + share this issue with users + maybe get some tips from people who have worked around this in the past.

@Olical Olical added the bug Something isn't working label Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant