TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

113 pointsby asimjalisalmost 2 years ago

10 comments

capablewebalmost 2 years ago
Something similar: Fennel (<a href="https:&#x2F;&#x2F;fennel-lang.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fennel-lang.org&#x2F;</a>) is a lisp that compiles into Lua, which neovim can use as plugins, so you can write neovim plugins in a lisp. Aniseed (<a href="https:&#x2F;&#x2F;github.com&#x2F;Olical&#x2F;aniseed">https:&#x2F;&#x2F;github.com&#x2F;Olical&#x2F;aniseed</a>) makes this really easy.<p>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. <a href="https:&#x2F;&#x2F;github.com&#x2F;Olical&#x2F;conjure">https:&#x2F;&#x2F;github.com&#x2F;Olical&#x2F;conjure</a>
评论 #36094955 未加载
评论 #36095151 未加载
评论 #36096175 未加载
obiefernandezalmost 2 years ago
For maximum effect, read the following in Tim’s distinctive voice:<p>“Is this a joke?<p>If you mean the 6,000 lines of working code, then no, I poured hundreds upon hundreds of very serious hours into that. But if you&#x27;re referring to the fact it&#x27;s woefully underdocumented, adds considerable overhead to an already slow host platform, and ultimately unlikely to gain any traction, then yeah, probably.”
EuAndrehalmost 2 years ago
Any sufficiently complicated Vim configuration contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Emacs.
评论 #36094497 未加载
评论 #36096943 未加载
评论 #36099185 未加载
imran-iqalmost 2 years ago
This reminds me of a vim koan[0]:<p>&gt; Master Pope once dreamt he was an Emacs user. When he awoke, he exclaimed:<p>&gt; “I do not know if I am Tim Pope dreaming I am an Emacs user, or an Emacs user dreaming I am Tim Pope!”<p>---<p>0: <a href="https:&#x2F;&#x2F;blog.sanctum.geek.nz&#x2F;vim-koans&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.sanctum.geek.nz&#x2F;vim-koans&#x2F;</a>
ykonstantalmost 2 years ago
Is there anything like this on the works for Vimscript 9?<p>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.
评论 #36094549 未加载
omoikanealmost 2 years ago
ELVM might be a related project, which takes C code and compiles to various languages, including VIM.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;shinh&#x2F;elvm">https:&#x2F;&#x2F;github.com&#x2F;shinh&#x2F;elvm</a>
评论 #36100170 未加载
ducktectivealmost 2 years ago
How difficult is it to write an &quot;Emacs Lisp&quot; interpreter in a foreign framwork like neovim? Wouldn&#x27;t this basically convert any IDE into Emacs if the user wants it?<p>I mean, I know elisp is not the most efficient of Lisp compilers but doing so for a new IDE opens the door for all available codes and plugins people have written for emacs throughout the years.
评论 #36094807 未加载
评论 #36099095 未加载
ReleaseCandidatalmost 2 years ago
There are things I&#x27;ll never understand. Why would anybody do this? Why Clojure and not Emacs Lisp?
评论 #36095796 未加载
评论 #36094371 未加载
评论 #36094474 未加载
评论 #36098911 未加载
评论 #36094299 未加载
评论 #36095137 未加载
edoloughlinalmost 2 years ago
Can anyone see how to start the repl?
评论 #36094648 未加载
mslaalmost 2 years ago
If we implement TECO in this, do we break the Matrix?