On Tuesday, December 22, 2015 at 1:28:01 PM UTC-8, Lord Nynex wrote:
Hello,
I am writing an Lpeg parser to validate a small piece of data. I've been learning a lot about Lpeg and think that it may be able to be applied in another driver module I'm working on.
I wanted to know if anyone has any advice or experience using Lpeg in openresty? I've been googling around and it seems that there is versions of Lpeg for LuaJIT specifically (
here and
here). Should I be using those modules in production as opposed to the 'normal' luarocks lpeg version
here?
Sorry if this is already covered in some documentation. If someone has a link I will read more before posting further to the list.
This would be useful info for me too.
I started using lpeg while performing stream processing tasks in Heka, but it's my goto-tool for pattern matching and extraction in Lua now.