summaryrefslogtreecommitdiff
path: root/groffdown.c
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2021-01-03 02:07:50 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2021-01-03 02:07:50 -0500
commit3bc7d8d894fc6c50636dfb9f3c04e72cce02cb28 (patch)
tree0c6bfcfe405123ebd688cf49533ed3063c904f27 /groffdown.c
parente686830c06560f69489c6a9edae909da9e42f4df (diff)
Moving developpement to a C implementation
Diffstat (limited to 'groffdown.c')
-rw-r--r--groffdown.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/groffdown.c b/groffdown.c
new file mode 100644
index 0000000..8338361
--- /dev/null
+++ b/groffdown.c
@@ -0,0 +1,32 @@
+/*=============================================================================
+
+ title: groffdown
+ author: Benjamin Chausse
+ last update: 2020-01-02
+
+ Groffdown is meant as a translation layer between markdown and groff (or
+ GNU/Troff if you are so inclined). Most solutions for generating formatted
+ documents using groff often rely on software that is heavy on processing
+ (such as LaTeX) thus making marking document compilation feel slow and
+ innapropriate for live previewing. For more information about the project and
+ it's usage please consult the man page. For more information about the
+ project's copyright rules, please consult the LICENSE file contained in this
+ repository.
+
+ TODO: Write a manual
+
+=============================================================================*/
+
+
+#include <stdio.h>
+#include <string.h>
+#include "tree.h"
+
+int main() {
+ /* system("clear"); */
+/* node *curr_node = &node_b; */
+printf("Pattern: '%c'\n", root.pattern);
+printf("End of test.");
+return 0;
+}
+