Re:Valtan: Common Lisp to JavaScript Compiler
by madmulita on Friday April 03, 2020 @03:33PM
(#22773170)
I don't think I ever saw it mentioned in HN, but Hop[1] based on Bigloo[2] seems so much more than just a Scheme to Javascript.
If I'm not mistaken, Hop (now hop.js) could even compete in a lot of use cases with Electron.
[1] http://hop.inria.fr/home/index.html [2] http://www-sop.inria.fr/mimosa/fp/Bigloo/
Re:Valtan: Common Lisp to JavaScript Compiler
by hashkb on Friday April 03, 2020 @11:38AM
(#22770309)
I do. Checking it out.
Re:Valtan: Common Lisp to JavaScript Compiler
by aidenn0 on Friday April 03, 2020 @12:51PM
(#22771314)
I find it somewhat arbitrary that you accept scheme but not clojure as a lisp.
Re:Valtan: Common Lisp to JavaScript Compiler
by hashkb on Friday April 03, 2020 @02:53PM
(#22772797)
I accept Clojure as a lisp. Didn't mean to start a holy war. I just don't personally want to deal with it and its ecosystem, which includes Java. I need your average web developer to be able to clone the repo, run yarn, and go.
Re:Valtan: Common Lisp to JavaScript Compiler
by slifin on Friday April 03, 2020 @03:34PM
(#22773181)
I understand your point, CLJS is a superset so it's ideal to understand the substrate that it's based on, it's more complex than just JS from that point of view but usability wise:
lein new re-frame myapp
lein run
or git clone https://github.com/jacekschae/shadow-reagent.git && cd shadow-reagent
yarn install
yarn dev
It is very much fire and go in a way that a typical JavaScript developer might grok
https://www.biwascheme.org/