Features :
-compatible with most of luajit syntax (only unique comment blocks may fail)
-Brackets/blocks are checked for closing
-colors are detected
-==,~= and >= are separated
-themeable
Usage:
Code: Select all
parse=require("lovehl")
T={"each line in its own string\n",
"ending with newline\n"}
TP= parse(T)-- turns each string into a table in another table
love.graphics.print(TP[1]) -- that Löve can print

Example usage in a text editor:

As bonus ive added a rainbow text converter that follows the same usage, simply require rainbow to get:
