aboutsummaryrefslogtreecommitdiff
path: root/Converter
AgeCommit message (Collapse)Author
2020-05-06+testing systemdx
Very elementary, doesn't use some massive framework, should just use asserts and C-lang constructs. Currently one method is present in the header, test_header_depths.
2020-05-06+introduced compiler.h and compiler.cdx
compiler.h holds definitions necessary for compiling markdown, compiler.c the implementations. Moved implementation of compile_line to compiler.h and compiler.c respectively.
2020-05-06~clang format shenanigansdx
To make clang format happy, I put continue on the for loop so that it will have at least one statement.
2020-05-06~untag -> close_tagdx
Makes more sense as a variable name.
2020-05-06~express header algorithm in terms of new constantsdx
untag_size, tag_size, etc. These represent the proper sizes and are easier to mutate.
2020-05-06+header depth algorithmdx
This adds the functionality for arbitrary levels of header depth which will be translated to depth based header tags. \## -> <h2> \### -> <h3> etc This also introduces a variable 'size_of_content' which presents the size of the raw string without the header tags as added size.
2020-05-06~changed title for first ifdx
2020-05-06+compile_line function, can turn '#' -> <h1>dx
compile_line is the main function which compiles a single line in C. Similar to the stage of compilation in the python program. Currently supports header tags
2020-05-06+typedef to make char* into stringdx
Looks nice in my editor and is nice to use when writing code. Will be removed via some simple grepping later if I'm asked lol.
2020-05-06+C project via https://github.com/odavep/CTemplatedx
I'll try implementing my current system with it's current features into C