Re: Lua syntax ambiguity
Sean Conner <[email protected]>
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
It was thus said that the Great 'Martin Eden' via lua-l once stated: > > Aside: I am not even sure the situation is salvageable in a CFG at > > all. In greedy tokenization, long strings are closed by the *first* > > matching delimiter. Is there a way to enforce this with a CFG? I > > don't think so. You can of course express valid long strings as > > What is CFG? It stands for "Context Free Grammar". Parsing theory is a bit of a rabbit hole. -spc -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/20260818182029.GA13121%40brevard.conman.org.