Show HN: Joyride: script VSCode like Emacs but using Clojure
31–40 of 46 posts
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#32Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#33That looks promising, but I have a feeling that vscode doesn't offer as much options to hook into the editor as emacs does. E.g., one of the first emacs scripts I wrote added the next number to the current line. It contains something like (insert (number-to-string (setq counter (+ 1 counter)))) Is that kind of thing possible too?
> That looks promising, but I have a feeling that vscode doesn't offer as much options to hook into the editor as emacs does. Agreed on both counts. But I don't think it's possible to get to Emacs' level of extensibility unless you adopt its philosophies - both legal and technical - from the outset. The reason I say this is that Emacs isn't just extensible in Emacs Lisp, it's very extensively written in Emacs Lisp. M…
Having, draw a rendom number out of a hat, 50% of Emacs extensibility at your REPL is fantastic, and worth pursuing. Joyride can do everything a VS Code extension can do, except the things i mentioned above, and anyone who has used some VS Code extensions knows that that is a lot.
However, the self documenting part described above is not out of reach. Most of the code building up the VS Code API is open source. Same goes for many of the extensions. Looking up and navigating to any of that code is possible. Perhaps a lot of work would need to be put in, but it is possible.
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#34Definitely understand the need and looks good, but can't help but feel this is like taking a fine steak and eating it at McDonalds.
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#35Earlier quoted context omitted.
> That looks promising, but I have a feeling that vscode doesn't offer as much options to hook into the editor as emacs does. Agreed on both counts. But I don't think it's possible to get to Emacs' level of extensibility unless you adopt its philosophies - both legal and technical - from the outset. The reason I say this is that Emacs isn't just extensible in Emacs Lisp, it's very extensively written in Emacs Lisp. M…
It is definitely true that Joyride can't make VS Code as fully extensible as Emacs is. VS Code is not designed this way. And also some extensibility from an extension need to come from an extension manifest when an extension loads, so Joyride can't declare new commands for instance. I'm guessing that is the simplest thing in Emacs. Having, draw a rendom number out of a hat , 50% of Emacs extensibility at your REPL is…
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#36Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#37Earlier quoted context omitted.
Do you ever sleep? Seriously; your productivity is insane.
Tbh, the last nights have been less about sleep and more about hacking on Joyride. =) But usually I do get sleep. The question we should ask is if borkdude sleeps? He's doing about 100X as much as I do. Maybe there are hundreds of borkdudes.
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#38As the co-creator here I'd like to add that Joyride is taking the very first baby steps here. We hope a lot of people want to try it and provide feedback to inform our next steps. NB: The video has a target audience of people who know Clojure and its strengths. Especially how the REPL is used. I hope HN will see beyond the parens. =) It should make some sense anyway. Especially if you have some Emacs scripting experi…
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#39Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#40Earlier quoted context omitted.
It is definitely true that Joyride can't make VS Code as fully extensible as Emacs is. VS Code is not designed this way. And also some extensibility from an extension need to come from an extension manifest when an extension loads, so Joyride can't declare new commands for instance. I'm guessing that is the simplest thing in Emacs. Having, draw a rendom number out of a hat , 50% of Emacs extensibility at your REPL is…
And when/if VS Code decides to allow new commands without the manifest (maybe with a confirmation popup), Joyride is super well positioned as a way to customize your VS Code (well, from users that don't hate parens).
Writing that made me challenge it. What if it is possible? https://github.com/BetterThanTomorrow/joyride/discussions/14