Laurence Tratt personal blog
Why split lexing and parsing into two separate phases?
“lex and yacc” are two terms that are used together so often that they can seem indivisible. lex takes a string as input and divides it up into lexemes (roughly speaking “words”) and yacc takes a sequence of lexemes and parses them. Since some parsing approaches such as recursive descent parsing unify these phases…
- Points
- 159
- HN comments
- 122
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringProgramming Languages2023
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| May 3, 2023 | Why split lexing and parsing into two separate phases? by ltratt | 159 | 122 |