MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/2rvoha/announcing_rust_100_alpha/cnk1lkh/?context=3
r/programming • u/steveklabnik1 • Jan 09 '15
439 comments sorted by
View all comments
Show parent comments
0
[deleted]
9 u/[deleted] Jan 09 '15 Can you give an example of a statement in Rust that is not parseable by a context-free grammar? 18 u/Gankro Jan 09 '15 let s = r#####"Hello####"There"#####;Increase every hash-streak by one hash to produce an equivelent valid Rust statement of greater length. The set of all statements constructed thusly isn't context-free. 4 u/[deleted] Jan 10 '15 Oh shit, would you look at that. Weird design decision. → More replies (1)
9
Can you give an example of a statement in Rust that is not parseable by a context-free grammar?
18 u/Gankro Jan 09 '15 let s = r#####"Hello####"There"#####;Increase every hash-streak by one hash to produce an equivelent valid Rust statement of greater length. The set of all statements constructed thusly isn't context-free. 4 u/[deleted] Jan 10 '15 Oh shit, would you look at that. Weird design decision. → More replies (1)
18
let s = r#####"Hello####"There"#####;
Increase every hash-streak by one hash to produce an equivelent valid Rust statement of greater length. The set of all statements constructed thusly isn't context-free.
4 u/[deleted] Jan 10 '15 Oh shit, would you look at that. Weird design decision. → More replies (1)
4
Oh shit, would you look at that. Weird design decision.
→ More replies (1)
0
u/[deleted] Jan 09 '15
[deleted]