Age | Commit message (Collapse) | Author |
|
This will read the file (filename) then compile it line by line.
|
|
If the headings are greater than 6, then stop increasing. h6 is the
smallest heading tag possible.
|
|
This implementation uses the regexes available to compile the line. It
will assess the first character and try to compile it without
regexes (if it's a list item or heading) otherwise it'll use them.
|
|
List item regex can be replaced with a simple algorithm to check the
first character of the line to see if it's a bullet character.
I must check the bold before the italic code, as the regex may greedily
eat up the double asterisks if I don't use it.
squash! -list item regex, +nitems variable
|
|
implementation file for compiler.hpp. Currently I have regexes and
replacement strings that use the Type enum to access the correct
ones (Italic (the first enum item) has its regex and replacement at 0).
|
|
Decision: to increase productivity as well as make implementing new
features a bit easier, I've decided to move to C++, which has a
standard (and fast) implementation of a regex system. Furthermore, it
has a ton of good features that make working with this system easier.
|