Skip to content
This repository has been archived by the owner on Jul 27, 2018. It is now read-only.

rfc1459/libirc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libirc Build Status

libirc is an IRC utility library for Erlang.

License: libirc is licensed under the 2-clause BSD license.

Feedback: [email protected]

Features

  • Mostly RFC2812-compliant parser, with some requirements relaxed
  • Parser is role-agnostic, it can be used both in client or server contexts
  • RFC1459 case mapping functions are implemented as NIFs
  • Still needs a lot of work :-)

Usage Examples

1> libirc:parse("PRIVMSG #services :hello, there!").
[{prefix,<<>>},
 {command,"PRIVMSG"},
 {args,[<<"#services">>,<<"hello, there!">>]}]
2> libirc:to_rfc1459_upper("~{some string}").
"^[SOME STRING]"
3> libirc:to_rfc1459_lower(<<"A binary TOO!">>).
<<"a binary too!">>

Bug reports

As usual, file an issue on GitHub.

About

Small IRC parsing library for Erlang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published