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/

Subscribe to the System Crafters Newsletter!
Stay up to date with the latest System Crafters news and updates! Read the Newsletter page for more information.
Name (optional)
Email Address