Andre Poenitz wrote:
>> expression =
>> f_str_p(var(self.field_name)) >>
>> str_p("NNODES") >>
>>
>> uint_p[resize(var(field), arg1)] >>
>>
>> for_p(var(index) = 1,
>> var(index) <= size(var(field)),
>> var(index)++)
>> [
>> limit_d(cref(index), cref(index))[uint_p]
>> >> real_p[var(field)[var(index)-1] = arg1]
>> ];
>
> Looks quite impressive.More importantly, I hope that it looks understandable once you've become just a little familiar with the spirit and phoenix syntax. -- Angus
