Comments (13)
Oh this should also be fixed by #8, you can use my fork until it's merged too.
from zest.nvim.
What plugin do you use to compile fennel, I tried it out and it didn't seem like a problem.
from zest.nvim.
aniseed
from zest.nvim.
That's conjure's eval buffer, right? It could be just conjure not liking the globals.
I believe aniseed's compiler allows them, though. Does it create the binding successfully?
from zest.nvim.
aniseed doesn't like it either
from zest.nvim.
Found the bug,
Fennel deprecated unknown globals with v10.0,
Aniseed uses fennel v10.0
,
conjure also uses aniseed to compile.
from zest.nvim.
Thanks!
Well, that's one more reason to move over to runtime. As it is right now, one either has to explicitly disable strict globals or use an older version of fennel to compile.
I'm pretty busy with uni at the moment, but I'll get to it when I can.
from zest.nvim.
Yeah,
I also use v0.9.2 to compile because of macros.
from zest.nvim.
Thanks!
from zest.nvim.
Here is a quick dirty solution to this:
(fn local-getter []
'(fn [xs#]
(for [i# 1 20]
(let [(name# local-val#) (_G.debug.getlocal 2 i#)]
(if (= name# xs#)
(lua ,(.. "return " (view 'local-val#)))
(not name#)
(lua :break))))))
Usage:
; inside macro
(local get# ,(local-getter))
(get# ,(view 'ZEST_VLUA#)) ; tostring can also be used instead of view
from zest.nvim.
btw I think conjure uses aniseed's compiler - i downgraded aniseed to 3.20 and i could evaluate this
from zest.nvim.
If aniseed is installed conjure uses it as it compiler
from zest.nvim.
It's not so much to do with the unknown global crack down, I don't think. It's mostly to do with how they enforce gensyms across syntax quote boundaries correctly now.
from zest.nvim.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zest.nvim.