Re: parser hacking: conditional fields
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: parser hacking: conditional fields
- From: Andrew Starks <andrew.starks@...>
- Date: Sun, 3 Mar 2013 13:10:04 -0600
So, the parser hacking is to there to accomplish:
table.outer?.inner
such that outer's absence does nto cause an error.
If `inner` is absent, then is the answer "nil"? Is the answer the
value of 'outer'? If `outer` doesn't exist, is the answer `nil`? It
seams like if the answer were `false`, I couldn't possibly know if
`inner` if false or if it wasn't there...
Does any of this change change if instead you had:
table.outer?.inner?
...or is that not being contemplated?
-Andrew