Skip to content

Commit

Permalink
generic operators on CDDL array iterators
Browse files Browse the repository at this point in the history
also:
* array parser can take the CBOR iterator value directly,
  not through a pointer
* I need the validator in the CDDL array iterator
  • Loading branch information
tahina-pro committed Jan 31, 2025
1 parent 90d93f2 commit baaa3e9
Show file tree
Hide file tree
Showing 2 changed files with 234 additions and 59 deletions.
2 changes: 1 addition & 1 deletion src/cddl/pulse/CDDL.Pulse.AST.Types.fst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ let rec impl_type_sem
sem_rel =
rel_either_left
(rel_slice_of_list it.sem_rel false)
(rel_array_iterator cbor_array_iterator_match it.sem_rel)
(rel_array_iterator cbor_array_iterator_match (Iterator.mk_spec it.sem_rel))
;
}
| TTTable t1 t2 ->
Expand Down
Loading

0 comments on commit baaa3e9

Please sign in to comment.