Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lucian1900
on Jan 30, 2013
|
parent
|
context
|
favorite
| on:
Is C++ context-free or context-sensitive?
Afaik both Lua and Python are context-free.
Twisol
on Jan 31, 2013
[–]
How would you implement Lua's long-string syntax in a context-free grammar?
str = [==[foo]bar]=]baz]==]
Been trying to puzzle this one out.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: