Skip to content
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

How about a command converting JavaScript to ClojureScript? #1687

Closed
PEZ opened this issue Apr 20, 2022 · 1 comment · Fixed by #1688
Closed

How about a command converting JavaScript to ClojureScript? #1687

PEZ opened this issue Apr 20, 2022 · 1 comment · Fixed by #1688
Assignees
Labels
cljs ClojureScript-related

Comments

@PEZ
Copy link
Collaborator

PEZ commented Apr 20, 2022

Yesterday I watched this fantastic video, showing how to use nbb to create a CLI tool, and publish it as an npx-able npm module. Apart from both @danownsthisspace and @borkdude making me laugh and giggle throughout all of it, I also learnt a lot!

At one point in the video @borkdude says ”we need a JavaScript to ClojureScript converter”. I then posted a comment, linking to a converter that I have sometimes used https://roman01la.github.io/javascript-to-clojurescript/. To which someone replied (and then deleted the reply, it seems) that there is a new tool for that now. I searched around and found that @mauricioszabo, has a repo where there is code for this. Here: https://gitlab.com/mauricioszabo/js2cljs

Pretty new stuff, only 2 months old. I have been playing around with it some and it behaves great!

I will do some experiments with this, that I hope will result in a the command that does what @borkdude was wishing for.

@PEZ PEZ self-assigned this Apr 20, 2022
@PEZ PEZ added the cljs ClojureScript-related label Apr 20, 2022
@PEZ
Copy link
Collaborator Author

PEZ commented Apr 20, 2022

Progress!

calva-js2clj.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cljs ClojureScript-related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant