|
You are here |
leafo.net | ||
| | | | |
jawher.me
|
|
| | | | | ||
| | | | |
tyrrrz.me
|
|
| | | | | A while ago I had to implement proper markdown parsing in DiscordChatExporter so that I could replace the brittle regular expressions I had been using. I had no idea how to approach this problem, so I spent days researching into this, eventually learning... | |
| | | | |
matklad.github.io
|
|
| | | | | Hi! During the last couple of years, I've spent a lot of time writing parsers and parser generators, and I want to write down my thoughts about this topic. Specifically, I want to describe some properties of a parser generator that I would enjoy using. Note that this is not an introduction to parsing blog post, some prior knowledge is assumed. | |
| | | | |
nnethercote.github.io
|
|
| | | Like most compilers, rustc (the Rust compiler) has a lexer that breaks source code into tokens, which are small units such as identifiers, literals, operators, and punctuation. The parser then checks that these tokens are present in an order that satisfies Rust's grammar. | ||