Better HN
topnewbestaskshowjobs
Log inSign up

RahulMJ

125 karma · joined Dec 27, 2024 (1y ago) · 9 submissions

Submissions

comment 1mo ago · link · parent

I missed Emacs' rx when writing regexps in TypeScript, so I made a small TypeScript DSL inspired by it.

The idea is to bring rx's functions and approach to the JavaScript/TypeScript environment. If you happen to work with either, give it a try.

https://rahuljuliato.com/posts/emacs-rx-in-typescript

2.

Readable Regular Expressions for JavaScript/TypeScript, Inspired by Emacs' Rx(rahuljuliato.com ↗)

3 points · by RahulMJ · 1mo ago · 1 comment

comment 3mo ago · link · parent

Thanks for adding this. I just made a comment expanding a bit of what users may find in the new mode.

comment 3mo ago · link · parent

A bit of extra info:

- `ts` stands for "tree-sitter", meaning this mode uses tree-sitter under the hood, which is, among other things, very performant.

- There's support for the CommonMark spec and GFM, so things like `- [ ]` checkboxes and ~~strikethrough~~ work out of the box, along with many other small QoL features.

- This mode is BUILT-IN, so no extra packages are needed.

- This is currently in the experimental phase, so users need to "opt in" and load the mode to play with it, hence the first part of the guide.

5.

Emacs 31: An unofficial guide to Markdown-ts-mode(rahuljuliato.com ↗)

198 points · by RahulMJ · 3mo ago · 87 comments

comment 5mo ago · link · parent

Thanks, I've got some trouble with hosting and all the traffic.

Should be normalized now.

comment 5mo ago · link · parent

Thanks for sharing, frou_dh! Author here btw :)

comment 8mo ago · link · parent

Hey celadevra_, author here. Thanks for submitting my post to HN, I really appreciate it.

Seeing it stay at #1 for a few hours while my blog server struggled with the requests was quite a joy :)

PS: Also, thanks to everyone who commented on it. While I can't reply to all of you, I'm doing my best to read everything. I'm glad to hear that the project resonates with so many people, whether philosophically, aesthetically, or as something partially useful.