aboutsummaryrefslogtreecommitdiff
path: root/Compiler
AgeCommit message (Collapse)Author
2020-05-23+compile_file functiondx
This will read the file (filename) then compile it line by line.
2020-05-23~boundary condition for depth checker in headingdx
If the headings are greater than 6, then stop increasing. h6 is the smallest heading tag possible.
2020-05-23+better implementation of compile_linedx
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.
2020-05-23-list item regex, +nitems variable, ~bold and italicdx
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
2020-05-23+compiler c++ filedx
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).
2020-05-23+compiler header C++dx
2020-05-23+c++ projectdx
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.