Address listed flaws in implementation

This commit is contained in:
2019-08-06 14:24:26 -07:00
parent 34e967f364
commit 8450e2c35d
4 changed files with 47 additions and 11 deletions

View File

@@ -288,12 +288,6 @@ wrong:
./a.out
}{
```
We are told an error occured. Excellent!
There's still a number of flaws with our parser:
2. We don't print errors properly.
3. We also have no way of verifying our tree was built correctly.
1. We're missing the data declaration, from both our C++ source and from the Bison grammars.
This post is getting a little long, so we will revisit the parser in the next one. See you then!
We are told an error occured. Excellent! We're not really sure what our tree looks like, though.
We just know there's __stuff__ in the list of definitions. We will revisit our trees
in the next post, adding code to print them and to verify that our programs make some sense.