Editing Talk:1678: Recent Searches
Please sign your posts with ~~~~ |
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 29: | Line 29: | ||
:I take issue with the explanation for another reason, though. True, regexes probably can't be used to check the validity of EBNFs. It's a little bit more complicated than that, though. If one has ever used a compiler-compiler like yacc (which, supposedly uses EBNF grammars or EBNF-like grammars), another tool in the Unix world comes to mind, awk. Awk is similar enough in design to a cc that it can do the job of one, and people have apparently made compilers in awk. And what does awk use for its pattern matching? Regexes. Exercise for the reader: Write an EBNF for EBNFs. :D. [[User:Tibfulv|Tibfulv]] ([[User talk:Tibfulv|talk]]) 17:49, 10 May 2016 (UTC) | :I take issue with the explanation for another reason, though. True, regexes probably can't be used to check the validity of EBNFs. It's a little bit more complicated than that, though. If one has ever used a compiler-compiler like yacc (which, supposedly uses EBNF grammars or EBNF-like grammars), another tool in the Unix world comes to mind, awk. Awk is similar enough in design to a cc that it can do the job of one, and people have apparently made compilers in awk. And what does awk use for its pattern matching? Regexes. Exercise for the reader: Write an EBNF for EBNFs. :D. [[User:Tibfulv|Tibfulv]] ([[User talk:Tibfulv|talk]]) 17:49, 10 May 2016 (UTC) | ||
β | |||
β | |||
Silly comment because: can't...stop...laughing. [[User:Elvenivle|Elvenivle]] ([[User talk:Elvenivle|talk]]) | Silly comment because: can't...stop...laughing. [[User:Elvenivle|Elvenivle]] ([[User talk:Elvenivle|talk]]) |