From 04bd64d6dd4ca0cfde96f996b094cfedd7f03fa4 Mon Sep 17 00:00:00 2001 From: "Prof. Ronald Moore" <ronald.moore@h-da.de> Date: Thu, 30 Apr 2020 19:35:12 +0200 Subject: [PATCH] Updated READMEs --- README.md | 5 ++- recursiveDescentParsers/cplusplus/README.md | 38 +++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 recursiveDescentParsers/cplusplus/README.md diff --git a/README.md b/README.md index 8a4cf33..2455a0f 100644 --- a/README.md +++ b/README.md @@ -20,4 +20,7 @@ Signed, Prof. Dr. Ronald Charles Moore, https://fbi.h-da.de/personen/ronald-moore/ -ronald.moore@h-da.de \ No newline at end of file +ronald.moore@h-da.de + +30 April 2020 + diff --git a/recursiveDescentParsers/cplusplus/README.md b/recursiveDescentParsers/cplusplus/README.md new file mode 100644 index 0000000..537ab0d --- /dev/null +++ b/recursiveDescentParsers/cplusplus/README.md @@ -0,0 +1,38 @@ +Contents +======== + +Everything here is taken from the slides for the "Compiler Construction" +course, i.e. it is directly from Prof. Ronald C. Moore. + +Or at least, after all this time, I really don't remember having stolen +this code from somewhere else, but if you find an older copy that looks +similar, please let me know, so I can give credit where credit is due -- +or disavow knowledge of that source (as the case may be). + +There are (or will be some day) subdirectories here: + + 1. `interpreter` + This code take mathematical expressions and evaluates them, + i.e. it outputs numbers. + + 2. `halfBakedCompiler` + This code takes mathematical expressions and convets them into + an AST (Abstract Syntax Tree), then dumps that tree to output + (i.e. displays the tree as text). It does nothing really useful, + in other words. + + 3. `LLVMcompiler` + This is vaporware -- in other words, it does not exist yet, and + may never do so. But I hope someday to create a version that + builds the AST, then converts it to LLVM IR, and then evaluates + the IR (using LLVM's JIT capabilities). Perhaps it could some day + even create an executable binary? That would be "nice to have", + as people say... + +Ronald Moore +https://fbi.h-da.de/personen/ronald-moore/ +ronald.moore@h-da.de + + +30 April 2020 + -- GitLab