dhh1128 / intent

the intent formal language
https://intentlang.org
2 stars 1 forks source link

allow iteration over the properties of a struct at compile time #59

Open dhh1128 opened 10 years ago

dhh1128 commented 10 years ago

reflection allows this at runtime, but I want it at compile time:

for each field in struct x
    ... do something based on field type, field name, field offset, field alignment, etc