Re: Lua syntax ambiguity
Roberto Ierusalimschy <[email protected]>
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
> Let's say we're writing Lua code generator. He just applies grammar rules. > > So let's take parts of Lua grammar and apply them. > > [...] If you blindly apply the grammar rules, you end up with these too: a = bc = d ifa = 3 thenb = 1endx = 4 There is nothing special about '['. On the other hand, you can blindly add a space after each token and everything works. -- Roberto -- 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/20260817170236.GA75424%40arraial.inf.puc-rio.br.