Live data from Hacker News

TimL: Clojure-like Lisp dialect that runs on and compiles down to Vimscript

github.com

1–10 of 43 posts

Re: TimL: Clojure-like Lisp dialect that runs on and compiles down to Vimscript

#2
Something similar: Fennel (https://fennel-lang.org/) is a lisp that compiles into Lua, which neovim can use as plugins, so you can write neovim plugins in a lisp. Aniseed (https://github.com/Olical/aniseed) makes this really easy.

Aniseed is also used by Conjure (Interactive development environment for neovim, used for evaluating Fennel code inside of neovim), which is also made by the same author. Really great plugin for doing Clojure development with neovim. https://github.com/Olical/conjure

Re: TimL: Clojure-like Lisp dialect that runs on and compiles down to Vimscript

#3
Is there anything like this on the works for Vimscript 9?

Tangentially related: asking around in fora and in person, I was surprised to see that many plugin writers have had very good experience with the new Vimscript, and even prefer it to the more general purpose Lua (I was expecting the opposite). I myself have not used any Vimscript, but I am tempted to take a look at the new language.

Re: TimL: Clojure-like Lisp dialect that runs on and compiles down to Vimscript

#9

There are things I'll never understand. Why would anybody do this? Why Clojure and not Emacs Lisp?

Clojure is a language created and "controlled" by a single author (pretty unified overall) as a general purpose language, with implementations for multiple languages.

Emacs Lisp (elisp) is a language specifically created as a scripting language for an editor, maintained by an organization, with one compiler (AFAIK) and 99% of usage is within Emacs.

It's not hard to imagine people preferring Clojure before elisp, especially outside of Emacs.

Re: TimL: Clojure-like Lisp dialect that runs on and compiles down to Vimscript

#10

There are things I'll never understand. Why would anybody do this? Why Clojure and not Emacs Lisp?

Clojure is a language created and "controlled" by a single author (pretty unified overall) as a general purpose language, with implementations for multiple languages. Emacs Lisp (elisp) is a language specifically created as a scripting language for an editor, maintained by an organization, with one compiler (AFAIK) and 99% of usage is within Emacs. It's not hard to imagine people preferring Clojure before elisp, espe…

To be honest, I would prefer Clojure to Elisp too.

But to be frank, it's hard for me to imagine people preferring Vim over anything that isn't ed ;). Although, at least using ed you don't need to type the colons :)

Post reply on HN