Skip to content

Instantly share code, notes, and snippets.

View efrederickson's full-sized avatar

Elijah Frederickson efrederickson

View GitHub Profile
@pygy
pygy / PureLPeg.lua
Last active December 15, 2015 20:40
-- A more complete version is now available here:
-- https://github.com/pygy/LuLPeg
-- PureLPeg.lua
-- a WIP LPeg implementation in pure Lua, by Pierre-Yves Gérardy
-- released under the Romantic WTF Public License (see the end of the file).
-- Captures and locales are not yet implemented, but the rest works quite well.
-- UTF-8 is supported out of the box
--