dollabs / pamela

Probabalistic Advanced Modeling and Execution Learning Architecture
Apache License 2.0
233 stars 13 forks source link

Support for multiple levels of variable dereferencing #145

Open dcerys opened 7 years ago

dcerys commented 7 years ago

We currently support 2-level variable references, with a dot . between the symbols. For example: field1.field2 as an argval, and field1.method-name as a method call.

Extend this support to allow for n-level variable references. For example: field1.field2.field3 as an argval, and field1.field2.method-name or method-arg2.field1.field4.methodB as a method call.