Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bazoom42
on May 5, 2023
|
parent
|
context
|
favorite
| on:
Why split lexing and parsing into two separate pha...
Consider this text: /a+ ”/ How would you tokenize this if you don’t know the grammar context? If it is a regex, the space is significant - it is part of the pattern. If it is a divsion, the quote will start a string.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: