my favourite* thing about the Ruby parser is how the lexer state changes in a very complex context sensitive way based on which parse node you're in. * I actually hate it
I'm not sure I agree with this, Rust for example is *almost* context free, but raw string literals are not, and a few keywords were added that needed to be context sensitive (Making it illegal to have a method named `default` would have been bad). Neither make it hard to reason
-
-
I've made plenty of grammars that allow function names to be keywords, so that's not a big problem in general. I'm not sure what the problem with raw string literals in Rust is -- couldn't that be resolved by the/a lexer?
-
Scannerless parsing ftw :P
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.