rixed / ramen

A stream processing language and compiler for small-scale monitoring
Other
14 stars 4 forks source link

Make Field expression contain its selectors #652

Closed rixed closed 5 years ago

rixed commented 5 years ago

Instead of Get(4, field), have field[4], so that the Field expression has a subexpression describing its indice/subfield. "get()" could then be syntacit sugar. The advantage is that it's then way easier to collect all possible indices of fields.

rixed commented 5 years ago

Actually this shortcut to ease recursive fieldmasks implementation was a dead-end.