A Lua/LPEG implementation of a simple BBCode parser
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
bbcode.lua
tests.lua

README.md

Lua-BBCode - A Lua parser for BBCode

This is a simple project to produce a limited BBCode parser built in Lua using LPEG. In the future I would like to extend and make the parser a bit more general, however getting it to a working state for the following tags is my priority:

Block level tags:

  • [quote]

Inline tags:

If you are interested in contributing to this project, please contact me.

Credits

Thanks for Peter Cawley for his help with refactoring the LPEG grammar.