In one of my macros I would like to be able to retrieve a constant value (i.e.
const, literal etc.) or routine (procedure, iterator) call from passed code.
Minimal example:
const ProgramName = "MyProgram"
const Settings = (x: 5, y: 3, Q: 12.0)
myMacro:
name: ProgramName
range: 1..10
iter: Settings.items
Right now I only figured out how to get the range but that's just because I can handle it separately as they will be pretty common for my use case.
