Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nandemo
on Sept 10, 2013
|
parent
|
context
|
favorite
| on:
Why I don't use a parser generator
Then you don't need the lexer to parse balanced parens. The job of the lexer is to turn
("Foo(" + bar)
into something like
OpenParen String Op Identifier CloseParen
Then the (synyactical) parser takes over. This is pretty standard.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: