Timeline for answer to Sandbox for Proposed Challenges by Downgoat
Current License: CC BY-SA 3.0
Post Revisions
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 8, 2016 at 7:30 | comment | added | Peter Taylor |
I must say that I never saw any Greek letters except for episilon in the formal language and parsing courses I took, but that wasn't really my point. My point was the special-casing of three lower-case and one upper-case Greek letters. If rule names could contain any character other than - > then it would be simpler. If they could contain any Unicode alphabetic character then it would be simpler (at least for regex users). Also, 6. "Nonterminals will be lowercase, terminals upercase" Does this mean that mixed case tokens are always literals?
|
|
| Aug 7, 2016 at 23:29 | comment | added | Rohan Jhunjhunwala | Trying to outsource compiler design for cheddar? Lol, jk, +1! | |
| Aug 7, 2016 at 22:56 | history | edited | Downgoat | CC BY-SA 3.0 |
added 256 characters in body
|
| Aug 7, 2016 at 22:22 | comment | added | Downgoat | @PeterTaylor greek letters are often used in grammars. I'll address number 2, and 4. Symbols are a name of a derivation(s). | |
| Jun 11, 2016 at 11:47 | comment | added | Peter Taylor | 1. Why the special-case Greek letters in the valid rule names? That seems to add complication for no benefit. 2. Am I correct in thinking that the only way to match a literal space character is as part of an "any of" rule? Some test cases involving literal spaces would be useful. 3. What does "Symbols will never be repeated" mean? 4. The spec for the rule definition uses the words "symbols" and "tokens". It's not clear to me whether these are synonyms, and if not then what the distinction is. 5. May we assume that there is a valid parse tree for the given input? | |
| Jun 11, 2016 at 4:44 | history | edited | Downgoat | CC BY-SA 3.0 |
added 334 characters in body
|
| Jun 11, 2016 at 4:35 | history | edited | Downgoat | CC BY-SA 3.0 |
added 383 characters in body
|
| Jun 11, 2016 at 4:24 | history | edited | Downgoat | CC BY-SA 3.0 |
added 383 characters in body
|
| Apr 23, 2016 at 16:20 | history | edited | Downgoat | CC BY-SA 3.0 |
deleted 1 character in body
|
| Apr 5, 2016 at 5:12 | history | edited | Downgoat | CC BY-SA 3.0 |
deleted 37 characters in body
|
| Apr 5, 2016 at 5:03 | history | edited | Downgoat | CC BY-SA 3.0 |
added 996 characters in body
|
| Apr 5, 2016 at 4:51 | history | answered | Downgoat | CC BY-SA 3.0 |