News for hackers. Stuff that matters.

cgay

Re:Migrating from LSP-Mode to Eglot on Tuesday March 05, 2024 @04:52PM (#39609580)
Very nice article. I'll be interested to hear where you end up, with eglot or lsp-mode.

A quibble (based on my knowledge of Common Lisp, I'm not sure if it applies exactly the same way to Clojure):

"Language server has to do all of that statically, using their own parsers, tracking of variables, modules, and so on."

There's no reason an LSP server can't be run inside the Lisp image and integrate with its internal xref data. In fact, to do it any other way has serious problems due to Lisp's procedural macros making static analysis impossible.

Taking a quick look around, I see this is how the alive-lsp server works. You load it into your image and run (alive/server::start :port 8006)

It seems like this would address some of your complaints about the lack of fallback when looking for xrefs, because fallback wouldn't be necessary.

Re:Pros and Cons of Suns (Flame On) on Saturday November 19, 2022 @05:29PM (#33675495)
+1. Earlier than I thought. I had guessed 1989.
Gwydion Dylan has been out of the picture for years. Open Dylan is the only maintained implementation. Perhaps you went down a wrong path....
Yes. Making a macro for defining enums isn't that hard (there's one here: https://github.com/cgay/uncommon-dylan/blob/master/enum.dyla...).

I, for one, welcome my whitespace-surrounded operator overlords, but if you really don't want that you're welcome to use function-call syntax for them.

Re:Dylan Playground on Wednesday October 07, 2020 @01:19PM (#24710452)
Thanks, that's the plan, although I hadn't thought about writing it up. :) It's pretty simple, really, but it has definitely highlighted the fact that there's a lot of work to do on the http server. I'm trying to decide whether to push forward with that or "just" provide Dylan integration with an existing web server framework, or maybe port Hunchentoot to Dylan with https://github.com/dylan-lang/lisp-to-dylan
Re:Dylan Playground on Tuesday October 06, 2020 @01:29PM (#24700280)
We also have Dylan. Just sayin'.
Re:Dylan Playground on Tuesday October 06, 2020 @01:04PM (#24700028)
I think I've fixed (well, worked around) a bug that may have been part of the problem. It's working for me now.

Thanks for the interest, everyone. It never occurred to me this would end up on Hacker News.

Re:Dylan Playground on Tuesday October 06, 2020 @11:19AM (#24698605)
Possible! When I restart the server there are instantly hundreds of connections. If so many people are interested in Dylan, let's get some code contributions going, folks. :)
Re:Dylan Playground on Tuesday October 06, 2020 @11:11AM (#24698477)
Looks like my tiny little website is being attacked. This will take some time to deal with. Sigh.
Re:Dylan Playground on Tuesday October 06, 2020 @10:43AM (#24698154)
Should be back up. I have a bug in the http server, which is also written in Dylan and hasn't been battle hardened, where it sometimes fails to close connections.
Re:Videos from the Julia tutorial at MIT on Wednesday April 03, 2013 @10:44AM (#5486309)
< > is a naming convention for types (e.g., classes) only.
Re:Open Dylan 2011.1 released on Sunday December 11, 2011 @10:49AM (#3340236)
The Dylan language spec has amazingly few edge cases. It allows a continuum of dynamic -> static typing and a range of functional <-> OO. With the right set of libraries it could be great in the scripting space as Python, but is also designed for building large systems that run fast.