biwascheme
nbb
biwascheme | nbb | |
---|---|---|
16 | 48 | |
724 | 808 | |
0.3% | 0.5% | |
8.4 | 7.8 | |
8 days ago | 17 days ago | |
JavaScript | Clojure | |
MIT License | Eclipse Public License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
biwascheme
-
Embeddable Common Lisp 23.9.9
If Scheme is something you enjoy, BiwaScheme's interpreter can be instantiated from within Javascript and can be used to evaluate Scheme code.
https://www.biwascheme.org/
- BiwaScheme is a Scheme interpreter written in JavaScript
-
Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration
This project is very exciting. In the meantime, there are a couple of options:
BiwaScheme: https://www.biwascheme.org/
Advantages: written in JavaScript, with excellent JS interop. Project has some history.
Disadvantages: slower than S7 (though still plenty fast for many uses), less-complete (e.g., no syntax-rules or syntax-case, though it does have its own define-macro).
S7 Scheme: https://cm-gitlab.stanford.edu/bil/s7
Written in C, but can be transpiled to WASM (see https://github.com/actonDev/s7-playground/ )
Advantages: This project also has some history. Considerably faster than BiwaScheme.
Disadvantages: JS interop is clumsier (basically the same issues as JS interop with any WASM code... this could probably be mitigated considerably if someone wanted to take the time).
-
All Web frontend lisp projects
For Scheme implementations there are LIPS and biwascheme. I haven't done more than play around with them, so I can't really give an informed opinion about pros and cons or favorites.
-
My reading workflow (you guys might find some bits from it useful)
I used to have hundreds of open tabs. From there I kept repurposing it to do more stuff with the browser until it reached its current state, where I want to make it a "extend firefox from Emacs" thing. It kinda do that already, but extending the firefox-extension itself require the extension to be re-built (so you need whole javascript tooling, rebuild and reload the addon etc). I am considering adding something like biwascheme to it soon to work around that.
-
The stepmotherly treatment of Windows platform by Scheme implementors
And then users can just use biwascheme and run programs in mainframes and their smart toasters
-
If you were hired to create a new distribution of Lisp, what would you include?
Languages like Biwa Scheme and LIPS Scheme are good for running Scheme in the browser. But I would prefer compiling Scheme code to JavaScript in the server, then serving the compiled JavaScript image to the browser.
-
LIPS Scheme version 1.0.0-beta.15 is out
Just a note that even BiwaScheme doesn't fully implement call/cc, it doesn't save the whole environment when capturing.
Very cool! Do you know how this compares with Biwascheme? https://www.biwascheme.org/
-
Racketscript/Racketscript: Racket to JavaScript Compiler
Biwascheme has some weird scoping bugs that makes me a litte afraid of using it for serious stuff. It seems nixe and all, but this: https://github.com/biwascheme/biwascheme/issues/125 is not very confidemce inspiring.
There is another schemey language that compiles to JS that accepts things like this:
(when (start-are-aligned?)
nbb
-
Embeddable Common Lisp 23.9.9
The SCI/babashka clojure interpreter might be a good fit, if you're ok with a lisp.
It's mature and fully sandboxed.
https://github.com/babashka/nbb
-
create-helix-app: project templates with Helix and more
To try it out, run npx create-helix-app in your terminal. It is powered by Nbb, Ink, and Helix itself!
-
Releasing Longdown: Convert longform markdown files to outline format used by Logseq
Thanks for building! May also want to share in #extension-news in discord to reach more users. Fwiw, you might be able to write the whole script without the need for compilation with https://github.com/babashka/nbb. You may also be interested in https://github.com/logseq/nbb-logseq as a fair amount of logseq core is scriptable
-
Administrative Scripting with Julia
I wish there was something elaborated for scripts that run on Node. I've been using nbb[1] for scripting, and although it all runs through Node.js, it is fast and quick to prototype scripts. The best part is in CI I can simply `npx nbb path/to/script.cljs`. Things get clunky if I want to use anything about of the Node stdlib though, since then you need the dreaded node_modules folder around.
[1] https://github.com/babashka/nbb
-
I'm considering moving from Clojure to Common Lisp
For clojure I just found for babashka it seems someone natively compiled jsoup with graalvm and exposed (minimal functionality from it) as a babashka pod, or a possibility would be use nbb like babashka for node. But if racket has the libraries you need and you don't need js/jvm ecosystem than I'm sure it'll be great also
-
Is anyone using Shadow on the backend ?
There are some folks using nbb on the backend as well: https://github.com/babashka/nbb, e.g. in AWS Lambdas or via the sitefox framework: https://github.com/chr15m/sitefox. Don't expect stellar performance from nbb since it's interpreted CLJS rather than compiled (as you have with shadow-cljs) but for small scoped projects and fast prototyping it might be ok.
-
What's the best lisp to js compiler
https://github.com/babashka/nbb (babashka for nodejs)
-
nbb: I'm confused how to include dependencies from Clojars
I tried reproducing this example from the nbb documentation.
- nbb, scripting for Clojure on Node.js, turns 1.0!
-
i am so ANGRY with Clojure community
If you don't want to deal with the tooling but want to practice the language, have a look at https://github.com/babashka/nbb
What are some alternatives?
LIPS - Scheme based powerful lisp interpreter in JavaScript
babashka - Native, fast starting Clojure interpreter for scripting
gambit - Gambit is an efficient implementation of the Scheme programming language.
babashka-sql-pods - Babashka pods for SQL databases
schism - A self-hosting Scheme to WebAssembly compiler
clojure - The Clojure programming language
webcontainer-core - Dev environments. In your web app.
deps.clj - A faithful port of the clojure CLI bash script to Clojure
racketscript - Racket to JavaScript Compiler
dbcore - Generate applications powered by your database.
reference-types - Proposal for adding basic reference types (anyref)
integrant - simplified integrant