Open
Description
In the README, you imply that (. a 3)
compiles to a[3]
(good), but then state that (. a b)
compiles to a.b
(in other words, for all but the first argument atoms are converted to symbols/strings). This means it's impossible to access into a data structure with a variable; there's no way to write the equivalent of JS's a[b]
.
To do this properly, named property access needs to always be done with strings, like (. a 'b')
, or at least with self-evaluating symbols, like (. a :b)
. This way everything that looks like variables is actually variables.