Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CodeSamples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CompilerConstruction
CodeSamples
Commits
04bd64d6
Commit
04bd64d6
authored
5 years ago
by
Ronald Charles Moore
Browse files
Options
Downloads
Patches
Plain Diff
Updated READMEs
parent
325cb400
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+4
-1
4 additions, 1 deletion
README.md
recursiveDescentParsers/cplusplus/README.md
+38
-0
38 additions, 0 deletions
recursiveDescentParsers/cplusplus/README.md
with
42 additions
and
1 deletion
README.md
+
4
−
1
View file @
04bd64d6
...
...
@@ -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
This diff is collapsed.
Click to expand it.
recursiveDescentParsers/cplusplus/README.md
0 → 100644
+
38
−
0
View file @
04bd64d6
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment