-
Notifications
You must be signed in to change notification settings - Fork 29
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
Ki as a library? #28
Comments
I've nearly got it working, but got distracted porting wisp over to webpack (see here). I'll have another crack today! Also, out of curiosity, how does ki go with importing macros? It's a pretty big missing feature in wisp; would be awesome if it was in ki, but I'm well aware how difficult it is to add considering it needs to work with the JS runtime at the end of the day! |
ki macros are a thin layer on top of sweet.js macros - they are not real lisp-style macros. Take a look at the ki is essentially sweet.js macros all the way down, so it was easier to define macros this way, although they are way less powerful than lisp macros. The way it works (both in ki_run and in ki.js which you can use as a lib) is that the compiler detects if a file contains the |
One of the things I'd love to work out how to do is load
ki
as a library in Node, specifically to write a Webpack loader for easier development workflows. Any ideas where to start with that, aslib/ki_run.js
seems to have a lot of code involvedThe text was updated successfully, but these errors were encountered: