Jonquil 0.2.1 https://github.com/b12n-oss/jonquil
What’s new since 0.1.0 (0.2.0 and 0.2.1 both shipped today):
• A jonquil command. Install it from the command palette, then jonquil opens the current folder in a new window, jonquil <folder> reopens that folder with the tabs it had last time, and jonquil <file> opens the file in the Jonquil that’s already running. It links into /usr/local/bin or ~/.local/bin and never asks for a password.
• Sixteen themes: Gruvbox Dark and Light, Dracula, Nord, Zenburn, Monokai, Tokyo Night, Catppuccin Mocha and Latte, One Dark, Kanagawa and Rosé Pine join the first four. Each original’s colours, credited in NOTICE, and each one is in the palette as Use theme: ….
• jonquil --version, which the new bug form asks for.
• Out of process, a Run now starts in user like it does in process, so a buffer with no ns form doesn’t drop its vars into whatever namespace the console was in.
• The crash fix in 0.2.1: text inserted into an editor could reach GTK after the garbage collector had moved it, and once in a while Jonquil died with invalid memory reference. The four insert calls now pass GTK a copy that can’t move. If you’re on 0.2.0, take 0.2.1.
• On the CI side, every Linux GUI self-test passes now, and the 2,195 unit tests run on an Apple Silicon runner too.
Thanks to @yogthos for the first bug report and for asking for the command line tool. Issues welcome, it’s still alpha.
Release notes: https://github.com/b12n-oss/jonquil/releases/tag/v0.2.1
Guide: https://jonquil.b12n.app
Holy fucking mother of Turing. Dafuk you’ve been smoking there down in Australia brother that it is making you hiccup some awesome shit like this, eh? I feel like I’ve been eating some wrong mushrooms here. This shit is looking sick.
Hope you are doing well mate, I know you always hangout at #C03SRH97FDK you need to come to #C0B8G0WB63C sometime. I just want to distract you from #C093426FPUG or #C099W16KZ for a tiny bit. Since you are Emacs’s nerd here is one for you to think about what’s possible: https://jonquil.b12n.app/guide/lisp-machine.html#how-emacs-relates
If you like themes : you can pick one https://jonquil.b12n.app/index.html#themes
Well, honestly, I’m still not using neither of them. I’m just curious and I’m watching the evolution of both, which is frankly, an amazing nerdy popcornographia. Both of these Lisps are trying to solve similar problems, yet taking [almost] completely opposite avenues. I’m an orthodox pragmatist, I pick a tool to solve a problem, and right now I’m not dealing with problems that either Jank or Jolt would be a good prescription for. And I only wish I had time and/or money to fabricate problems out of thin air, just so I can grab a tool I like in attempt to solve them. Maybe I don’t have good imagination. The lack of time and/or money typically makes you stupid like that - it turns you into an aphantasious stick-in-the-mud like me.
The shit that Janks and Joltmen are making looks every bit interesting though.
I’d like to add that the time/money issue is different in high school. I learned https://web.archive.org/web/20051215073058/http://education.ti.com/us/product/software/derive/features/derivemulisp.html at school but resisted it because the big guys were doing Microsoft C 6.0 which I learned as an intern in industry. As then, young people might still want or need to learn the very basics of coding. And for Racket users the concept of jolt+jonquil will resonate immediately. And offering at some school to work through Felleisen’s HTDP-book with (not Racket but) Clojure could add a certain industry/real-world appeal.
I need to make sure that all of the fancy settings for working parens are off not to scare the beginner. Getting there slowly. My initial goal was to make it easy for my kids to learn Clojure without the need to learn Emacs/Vim or something else.
From my experiments with https://github.com/kloimhardt/clooj I remember one nice feature: double-clicking inside some parens selects the expression for further cut/paste
https://github.com/hugoduncan/closed-record 0.1.229 is a defrecord with a fixed key set. If you assoc an undeclared key or dissoc a declared key, it throws.
https://github.com/hugoduncan/value-type 0.1.127 gives you defvaluetype: https://openjdk.org/jeps/401 value classes with deftype syntax. make-array creates arrays of these values.`
Value objects have no identity, so the JVM can store them inline instead of behind pointers. This gives fewer allocations and better memory locality. Value arrays reject nil, and the JVM can store the elements flat in one block of memory.
Together, (defclosedrecord Point [^long x ^long y] :value-type true) makes a closed value record.
The value-type parts are experimental. AI used heavily.
“No identity” means just standard reference identity? Or is there some other weaker version on the jvm that lets you do interesting things?
“No identity” means field based equivalence, so (identical? (->Point 1 2) (->Point 1 2)) is true . value-type instances don’t have an identityHashCode and can’t be used with locking or weak references.
Value semantics means no notion of “self”? I never thought about the locking implications. They are indistinguishable. Neat. Thanks for explaining
The JEP401 link above has all the gory details. You can find various talks: https://youtu.be/NF4CpL_EWFI?utm_source=chatgpt.com https://www.youtube.com/watch?v=BdLND9D81lI&utm_source=chatgpt.com https://youtu.be/1dY57CDxR14?utm_source=chatgpt.com https://youtu.be/guuOLbgO-U0?utm_source=chatgpt.com The functionality is slated for JDK28, due in March ’27, iirc
Thank you for sharing links!