[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [ANN] email headers, IP address and INI file parsers
- From: Sean Conner <sean@...>
- Date: Fri, 10 Apr 2015 21:08:56 -0400
I'm not sure if you (the list) would prefer individual announcements or
just this one, but for now, I'm doing this one.
I've just uploaded three LPeg based modules to parse various data formats
as LuaRocks. The modules are:
org.conman.parsers.email
Parse RFC-5322 Internet format messages, which includes
email and USENET (Lua >= 5.1, LPeg >= 0.10)
org.conman.parsers.ini
Parse INI files (Lua >= 5.1, LPeg >= 0.10)
org.conman.parsers.ip
Parse IPv4 or IPv6 addresses into binary in network byte
order (admittedly an odd choice for the results, but it
fit a usecase I needed). (Lua >= 5.1, LPeg >= 0.12)
Of the three, the INI one is the less tested of them, as it was just
written on a whim.
-spc (Anyway, download and enjoy)