Protocol Parsing: Internet Relay Chat

News

Let's Explore the IRC Protocol

Today we are going to try to write a simple IRC client library in the Janet language.

We'll use the built-in PEG parser to parse IRC's line-oriented text protocol.

Will it be good? No.

Will you want to use it? No.

Will it be funny? Maybe.

Check out some legitimate Janet code for the purpose here:

https://github.com/brandonchartier/janet-irc-client/blob/master/irc-client.janet

IRC specification: https://modern.ircdocs.horse/

Enjoyed this stream? Explore our hands-on courses for deeper, structured learning on Guile Scheme and more.

Get the System Crafters Newsletter
Updates on open source tools, tutorials, and community projects. We'll also occasionally let you know about new courses and resources.
Name (optional)
Email Address