Last Edit: 2025-08-09 02:36:20
Recreole: A (very) basic wikicreole parser.
There are a few shortcomings of this parser and I wouldn't trust it to a site where untrusted users can edit pages.
Shortcomings: *In-line wikifree zones don't work. the pre tag gets applied, but any double stars or slashes will get turned into bold or italics still. *There is no user input checking, no escaping of < or > so that has to be done elsewhere. *Tildes for escaping doesn't work *Unmarked links don't get href'd
Bonuses: *Appears to be a speed bonus *Simpler to customize *Allows for specifying what goes in the pre blocks for use in javascript coloring
Speed Results: These are the results of running 100 times on this wikicreole test case.
Seconds to run:
{'recreole': 0.289999961853, 'markdown': 1.13599991798, 'creoleparser': 1.16799998283}
recreole : 25%:############## :
markdown : 97%:######################################################### :
creoleparser:100%:###########################################################:
I know that markdown isn't designed to parse wikicreole, but they have a few things in common, and I think the test gives a usable result. I ran the test on the largest file from this archive and it gave roughly the same (percentage) results.
DanoMagnum.com 