aboutsummaryrefslogtreecommitdiffstats
path: root/Notes.org
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-02-28 23:59:38 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-02-28 23:59:38 +0000
commit2e5cacc6633a6973f8e96adc6bafa633487fc2a1 (patch)
tree1feab5656c3c9459de134477b19cd11b48f2a2cd /Notes.org
parente564bd81a40dd4e89301880e82118b158be6124b (diff)
downloadCompiler-2e5cacc6633a6973f8e96adc6bafa633487fc2a1.tar.gz
Compiler-2e5cacc6633a6973f8e96adc6bafa633487fc2a1.zip
Changing notes
Diffstat (limited to 'Notes.org')
-rw-r--r--Notes.org21
1 files changed, 20 insertions, 1 deletions
diff --git a/Notes.org b/Notes.org
index db43ae5..acaf31b 100644
--- a/Notes.org
+++ b/Notes.org
@@ -9,15 +9,32 @@
** DONE Lab (calculate statistics over text)
DEADLINE: <2017-01-31 Tue>
+*** Task
+
+ We had to calculate statistics over text. This was to learn about flex and how to use it.
+
+
** DONE Coursework (c lexer)
DEADLINE: <2017-02-07 Tue>
+*** Task
+
+ Design a C lexer that could lex C and output the important information about the C code. This made us read the
+ C spec for the first time.
+
* Parser
** DONE Lab (parse maths)
DEADLINE: <2017-02-14 Tue>
+*** Task
+
+ We had to design a maths parser and then analyse the tree that was created by parsing it. The additional parts where
+ to differentiate equations using the different rules for differentiating. We also had to evaluate the expressions and
+ do other operations on the tree. This taught us how to use bison.
+
+
** TODO Coursework (c parser)
DEADLINE: <2017-03-07 Tue>
@@ -30,7 +47,9 @@
*** Grammar
- The grammar is not completely done yet as I dont support all of the declartions that are possible.
+ The grammar is not completely done yet as I dont support all of the declartions that are possible, and as I add more
+ constructs in the AST I will also have to add declarations in the bison file. This I will only continue in the Compiler
+ section.
* Compiler