diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-07-08 10:25:59 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-07-08 10:25:59 -0400 |
commit | 0f4734892cc55742fda3b9efd4a67e7fd7a0cce4 (patch) | |
tree | ab946acf9466255d8d6ccb38f1a0a4fd4d19f114 | |
parent | 76772833ae0f9ff59205e484c8958ba5ff155cf5 (diff) |
Fix context-free C link
-rw-r--r-- | _posts/2019-07-08-Announcing-annotations-for-sourcehut.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2019-07-08-Announcing-annotations-for-sourcehut.md b/_posts/2019-07-08-Announcing-annotations-for-sourcehut.md index 1b6db97..88aece7 100644 --- a/_posts/2019-07-08-Announcing-annotations-for-sourcehut.md +++ b/_posts/2019-07-08-Announcing-annotations-for-sourcehut.md @@ -118,7 +118,7 @@ compilers with: [lex][lex] and [yacc][yacc], which are respectively a lexer generator and a compiler compiler. Additionally, there are [pre-fab lex and yacc files](http://www.quut.com/c/ANSI-C-grammar-y.html) which *mostly* implement the C11 standard grammar. However, C is [not a context-free -language](context), so additional work was necessary to track typedefs and use +language][context], so additional work was necessary to track typedefs and use them to change future tokens emitted by the scanner. A little more work was also necessary for keeping track of line and column numbers in the lexer. Overall, however, this was relatively easy, and in less than a day's work I had a fully |