Stream: show and tell

Topic: two roc-markdowns


view this post on Zulip Steve Howell (Nov 18 2026 at 17:47):

@Karl We have two independently written roc markdown processors. Even the same name. We both used Claude to write them. See #contributing > markdown

I don't think there is an actual problem here, but folks may be confused.

view this post on Zulip Karl (Nov 18 2026 at 17:49):

I did post about it when I first released it back in August. Do you want me to rename it or something? I use the block level API directly in my GUI apps for doing rich text so I'm kind of committed to the API.

view this post on Zulip Steve Howell (Nov 18 2026 at 17:55):

Karl said:

I did post about it when I first released it back in August. Do you want me to rename it or something?

No, I'm definitely not asking you to change anything here. Your Roc version pre-dates mine, although my Roc version is actually a port of my Zig version that dates back to May or something. So even if I had seen yours in August, I would have worked off of my own Zig version (which was battle-tested for my chat dialect). I think it's an amusing testament to the power of Roc plus agents. :smile:

view this post on Zulip Steve Howell (Nov 18 2026 at 17:59):

I'm having Claude compare the two versions. I'll notify you of any interesting findings. The intentional differences are that I support my own dialect of markdown for my chat as the main option (but like you, I claim to comply to the standard and be fast).

view this post on Zulip Notification Bot (Nov 18 2026 at 18:07):

4 messages were moved here from #show and tell > community showcase in 0.1.0 blog post by Steve Howell.

view this post on Zulip Steve Howell (Nov 18 2026 at 18:17):

Just posting the two repos here for convenience:

view this post on Zulip Steve Howell (Nov 18 2026 at 18:39):

Claude speaks highly of both implementations, although Claude is biased (helped author both). Karl Are you intending to support the library if people use it? I am kind of neutral on it for my version. I consider my version basically "done" and easy for folks to fork. I can steer folks who don't want to use chat toward yours if you'd like.

view this post on Zulip Luke Boswell (Nov 18 2026 at 18:52):

roc-parser does markdown too :sweat_smile:

view this post on Zulip Steve Howell (Nov 18 2026 at 18:57):

Luke Boswell said:

roc-parser does markdown too :sweat_smile:

I can do a side-by-side comparison of that if you'd like. For whatever reason, when I was porting my zig version to roc, I had Claude look for other repos, and it found yours. I vaguely remember something about yours being only a parser and not an emitter? I could be completely wrong.

Same question for you--do you want me to point people toward yours? Or do we predict that most people will roll their own anyway and just carry on with life?

view this post on Zulip Niclas Ahden (Nov 18 2026 at 18:57):

Roc's natural name-spacing by author comes to the rescue! :D

view this post on Zulip Karl (Nov 18 2026 at 18:58):

Don't you have one as well @Niclas Ahden ?

view this post on Zulip Luke Boswell (Nov 18 2026 at 19:01):

I dont need a comparison or anything. Just thought Id mention it. My implementation isnt as fast as I'd like yet.

view this post on Zulip Niclas Ahden (Nov 18 2026 at 19:03):

@Karl I had one long ago, not sure I posted it publicly? Now I have a fork of yours that I'm using. It's great! Why maintain more packages than necessary :D

view this post on Zulip Steve Howell (Nov 18 2026 at 19:12):

This is my recommendation for Richard Feldman to possibly write in the blog:

Roc has three independently written roc markdown processors that are probably sufficient for most people's needs:

All three are currently used in production.

view this post on Zulip Steve Howell (Nov 18 2026 at 19:19):

As an aside, I have been working on porting my zig-based chat program to be mostly Roc. Some of the distinctive pieces of my implementation will shine in the chat context: it escapes raw HTML, filters dangerous URLs, and bounds each message's work so a host can refuse an expensive one.

For trusted markdown source, some of those features are overkill.

view this post on Zulip Steve Howell (Nov 18 2026 at 19:30):

@Luke Boswell By the way, roc-parser was one of the first "real" pieces of Roc code that I read. I've hand written quite a few parsers in my day, and I know that you don't get elegance for free. When I saw yours, I was like, yeah, Roc is nice! The parser code is so easy on the eyes.

view this post on Zulip Steve Howell (Nov 18 2026 at 19:45):

I keep my markdown playground live here: https://roc.lynrummy.com/markdown/

Because Roc is awesome, the translator all runs on the client.

view this post on Zulip Steve Howell (Nov 19 2026 at 18:17):

Steve Howell said:

As an aside, I have been working on porting my zig-based chat program to be mostly Roc.

see #show and tell > roc-chat


Last updated: Nov 26 2026 at 20:35 UTC