Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
flexagoon
4 months ago
|
parent
|
context
|
favorite
| on:
Zig's Lovely Syntax
What if you have something like
const raw = "He said "Hello" "to me ;
Wouldn't that be a mess to parse? How would you know that "He said " is not a string literal and that you have to continue parsing it as a multiline string? How would you distinguish an unclosed string literal from a multiline string?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: