squint
lambda.quest
squint | lambda.quest | |
---|---|---|
11 | 9 | |
556 | 9 | |
2.0% | - | |
9.8 | 3.9 | |
3 days ago | 5 months ago | |
Clojure | JavaScript | |
- | MIT License |
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.
squint
- Pinball implemented using Squint, a ClojureScript dialect
-
CoffeeScript for TypeScript
Have you considered https://github.com/squint-cljs/squint ?
Personally I couldn't let go of Clojure's other advantages but at least using the syntax would let you step off the syntax churn bus
-
Show HN: Dak – a Lisp like language that transpiles to JavaScript
Interesting, in the CLJS space we recently got two new libraries in this space:
https://github.com/squint-cljs/squint Which is a thin layer on top of JS
https://github.com/squint-cljs/cherry Which is closer to CLJS semantics and data structures but compiles to .mjs files without any advanced optimizations etc.
-
ClojureScript bindings to SolidJS
I've also experimented a bit with Solid. Here's a SolidJS demo in squint: https://github.com/squint-cljs/squint/blob/main/examples/solidjs/src/App.cljs It runs over here: https://squint-cljs.github.io/demos/squint/solidjs/ (The JS output is smaller than the favicon in that project!)
-
Microsoft office addins with cljs?
Maybe Squint https://github.com/squint-cljs/squint or Cherry might fit the bill. https://github.com/squint-cljs/cherry
-
Anyone here using HTMX with Clojure?
Should you need a minimal sprinkle of JS, you can still generate this server side using squint (which works as a JVM library) as well, while shipping a pretty small JS library to your client.
-
Any Clojurian who moved in from Clojure?
Sounds like there's some overlap with squint there!
- What's the best lisp to js compiler
- Squint
- Looking for function as a service for clj / cljs code
lambda.quest
-
What's the best lisp to js compiler
If you’re into Scheme, the Gambit compiler has a JS target and it even runs in the browser with a nice JS interop. You can play with it on https://lambda.quest (am the author of that website).
-
Maria: A ClojureScript coding environment for beginners
That's really cool, I've been wanting to take https://lambda.quest in a similar direction. Interactive tutorials are the future!
-
Learning Scheme by creating a Scheme live-coding environment
All the code is open-source (MIT) and can be read on GitHub: https://github.com/katspaugh/lambda.quest
-
Show HN: Lambda Quest – Scheme live-coding
tl;dr: I've created a live-coding environment with Canvas, Web Audio and setTimeout, here's a demo: https://lambda.quest/?gist=8eb332073b3b29ace1e2855dfdbad98f
About the project
Lambda Quest is a live-coding environment in your browser.
-
Lambda Quest – a live-coding Scheme env in the browser
Web Audio is not fun if you can't program timed events for it. E.g. a sequence of notes, or a volume envelope that changes over time. So I had to make the Scheme code asynchronous.
Scheme, just like JavaScript, is single-threaded and "synchronous". It needs a second process to tell it when to run a delayed call to achieve asynchronous behavior.
I've implemented [a macro](https://github.com/katspaugh/lambda.quest/blob/main/scheme/w...) (which is btw my first macro ever) to put a Scheme callback in a JS `setTimeout`.
Macros, for me, is such a mind-blowing thing. It was amazing to code one purposefully, to achieve a practical goal.
### GitHub API and OAuth
-
Programming Web Audio with Scheme
All the code is open-source (MIT) and can be read on GitHub: https://github.com/katspaugh/lambda.quest
What are some alternatives?
clojure-aws-get-started
three.js - JavaScript 3D Library.
simpleui - JS Free Single Page Applications
nbb-aws-lambda-runtime - AWS Lambda runtime for nbb
nbb - Scripting in Clojure on Node.js using SCI [Moved to: https://github.com/babashka/nbb]
eslisp - un-opinionated S-expression syntax and macro system for JavaScript
holy-lambda - The extraordinary simple, performant, and extensible custom AWS Lambda runtime for Clojure.
lumo - Fast, cross-platform, standalone ClojureScript environment
proposal-string-dedent - TC39 Proposal to remove common leading indentation from multiline template strings
dak - Dak is a Lisp like language that transpiles to JavaScript.
proposal-pipeline-operator - A proposal for adding a useful pipe operator to JavaScript.
nbb - Scripting in Clojure on Node.js using SCI