You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently explicitly disallow in the documentation to use &parse-at with an external stream. This is not symmetric with &parse-from which allows external data. I think it would make sense to allow using &parse-at with an external stream so users can directly control the stream (something which we do not allow for the usual input stream).
Properly supporting this probably requires correct tracking of current unit iterator (begin and position).
$ echo| spicy-dump foo.spicy[fatal error] terminating with uncaught exception of type hilti::rt::InvalidIterator: incompatible iterator (foo.spicy:6:8)
The text was updated successfully, but these errors were encountered:
We currently explicitly disallow in the documentation to use
&parse-at
with an external stream. This is not symmetric with&parse-from
which allows external data. I think it would make sense to allow using&parse-at
with an external stream so users can directly control the stream (something which we do not allow for the usual input stream).Properly supporting this probably requires correct tracking of current unit iterator (begin and position).
Currently the following fails (like documented):
The text was updated successfully, but these errors were encountered: