Better HN
topnewbestaskshowjobs
Log inSign up

jjba23

291 karma · joined Sep 12, 2024 (2y ago) · 44 submissions

A monad is just a monoid in the category of endofunctors, what's the problem?
Submissions

1.

Maak v1.0.0 – infinitely extensible command runner, build sys in Lisp(github.com ↗)

10 points · by jjba23 · 1w ago · 1 comment

comment 1w ago · link · parent

appreciate your tip, thanks

comment 1w ago · link · parent

You can run SLY / Geiser or any other REPL and that will be a compliment to sift, so you will have an even better experience, LSP + REPL is a really killer combo in my opinion and works well. Only you need to tweak your editor to make good decisions for you in some regards like go to definition (you may see duplicates)

comment 1w ago · link · parent

Love it if it is useful for you!

comment 1w ago · link · parent

Might need to pick my battles into what I can reasonably support, but contribution is welcome, even for more obscure dialects :)

6.

Orpheus.el: Emacs Transient Music Player (SSH, MPD, Local, YouTube, etc.)(github.com ↗)

4 points · by jjba23 · 1w ago · discuss

7.

Sift: LSP, Lint, Format Lisp, Scheme and Emacs Lisp(github.com ↗)

83 points · by jjba23 · 2w ago · 14 comments

8.

Small, calm welcome screen for Emacs (a warm extensible dashboard)(codeberg.org ↗)

2 points · by jjba23 · 1mo ago · discuss

9.

Emacs folds to my liking: kirigami, Tree-sitter, hide-show, Org, XML(jointhefreeworld.org ↗)

3 points · by jjba23 · 1mo ago · discuss

10.

Profiling Org->HTML formal grammar and optimizing it: orgwebalchemy(jointhefreeworld.org ↗)

2 points · by jjba23 · 1mo ago · discuss

comment 2mo ago · link · parent

Some really impressive work there! thanks for sharing!

comment 2mo ago · link · parent

Aha! Interesting to hear you were going in the same direction. There are indeed quite some tricky situations to handle since Org (and Markdown) are complex in many ways.

the approach I am taking is to combine the PEG with a step of AST processing in order to then produce a correct and descriptive tree structure (for later rendering).

I do agree the Guile library has some spots to improve but honestly, I am already enjoying it so much, and it's far better for the Lisper in me than other things I've tried. I also find S-expressions much more comprehensible and self-documenting.

Looking forward to seeing what you do with it :)

I am indeed hoping that this library is useful for more people and that perhaps things like Haunt blog generator can use it (and other interesting uses)

As for nested markup, and nested lists it has been tricky, but so far I've really promising results:

(assert-equal #:got (inline-org->html (inline-org->ast "*bold with /italic/*")) #:expect "<strong>bold with <em>italic</em></strong>")

comment 2mo ago · link · parent

Indeed you make a good point. My naive self thought it could work out, but actually the more you zoom out, the more tree-structures you see in many formats. And in my opinion, then it's time to sheathe Valyrian Steel of Lisp, IMHO the language to rule them all when it comes to working with tree based structures (Org, HTML, SXML, many more)

comment 2mo ago · link · parent

I think you make a great point in highlighting the value of Regex. I don't want to undermine it at all, although some use-cases are just not a good fit for it (even if you can horseshoe things). I think a higher-level abstraction for regex is super welcome, and I quite admire what you are doing there, thanks a lot for sharing. I do think regex's indeed quite a lot more difficult to grasp when complexity rises compared to grammars or other approaches.

15.

Parsing Expression Grammar vs. Regexes: Building Org Parser in Lisp, Export HTML(jointhefreeworld.org ↗)

128 points · by jjba23 · 2mo ago · 20 comments

16.

Maak.el: Lisp machine command runner in Emacs, infinitely extensible and Scheme(codeberg.org ↗)

34 points · by jjba23 · 2mo ago · 4 comments

comment 2mo ago · link · parent

Thanks for your comment! I think indeed a lot of people underestimate Guile's performance, power and expressiveness.

18.

Quest for eternal dock on Wayland – lambdock (C and GTK4 and Lisp Guile Scheme)(jointhefreeworld.org ↗)

34 points · by jjba23 · 2mo ago · 3 comments

comment 3mo ago · link · parent

Thanks for the comment

20.

Ask HN: How to tune Emacs config for portability: Linux, macOS and Windows?

2 points · by jjba23 · 3mo ago · 2 comments

21.

Show HN: Lambdock – Wayland-native GTK4 dock with a live Lisp REPL(codeberg.org ↗)

44 points · by jjba23 · 3mo ago · 1 comment

22.

Escape IntelliJ: Scala and Kotlin LSPs on Emacs Eglot(jointhefreeworld.org ↗)

134 points · by jjba23 · 4mo ago · 121 comments

23.

Show HN: GGG – Declarative SVG Badge Generation Using Guile Scheme and SXML(codeberg.org ↗)

1 points · by jjba23 · 4mo ago · discuss

24.

Simple, beautiful Emacs modeline: modusregel(codeberg.org ↗)

55 points · by jjba23 · 4mo ago · discuss

25.

Scriba: Structured Logging in Lisp (Guile Scheme)(codeberg.org ↗)

31 points · by jjba23 · 6mo ago · discuss

26.

Why I still reach for Lisp and Scheme instead of Haskell(jointhefreeworld.org ↗)

269 points · by jjba23 · 7mo ago · 168 comments

27.

Olive CSS: Lisp powered vanilla CSS utility-class a la Tailwind(codeberg.org ↗)

15 points · by jjba23 · 7mo ago · 11 comments

12