dollabs / pamela

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

Pamela 'macros' should get hints in the IR #127

Open tmarble opened 7 years ago

tmarble commented 7 years ago

Currently Pamela 'macros' such as dotimes result in generating expanded functionality in the IR directly. Currently there is no way for unparse to determine the actual invocation was via macro.

The purpose of this issue is to add the necessary hints to the IR such that the same, shorter, original Pamela source can be recreated from the IR via the unparse action.

dcerys commented 7 years ago

Let's defer this until we make fuller use of the macro statements.