chirp templates: for
statement
#94
Labels
C-chirp
relates to the cuicui_chirp file format crate specifically
T-enhancement
New feature or request
We need a way to insert several entities from a list. But one of the issues is that statements are supposed to correspond to exactly one entity.
One option is for
for
loops to expand to a single entity, but spawn several entities within that entity. But I'm not quite sure how to express that in term of syntax. See:Maybe it's worthwhile to make an exception for
for
loops on the one entity rule? If so, this becomes a bit more sensible:Other options
So what we really want is:
Query
(using a dynamic query)I'll probably go with the rust-like syntax.
The text was updated successfully, but these errors were encountered: