dollabs / pamela

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

Support for multiple levels of variable dereferencing #145

Open dcerys opened 6 years ago

dcerys commented 6 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.