feat(execution-engine): Stream Map initial support [fixes VM-283,VM-284] (#592)

feat(execution-engine): StreamMap initial support for ap and new instructions [fixes VM-283,VM-284]
This commit is contained in:
raftedproc
2023-06-04 21:14:59 +03:00
committed by GitHub
parent 252d43b348
commit 9d7d34a452
43 changed files with 3693 additions and 1507 deletions

View File

@ -22,6 +22,7 @@ use std::collections::HashMap;
/// Mapping from a stream name to it's generation count.
/// Similar to pi-calculus non-restricted names/channels.
pub type GlobalStreamGens = HashMap<String, GenerationIdx>;
pub type GlobalStreamMapGens = GlobalStreamGens;
/// Mapping from a stream name to
/// position of a new instruction in a script that creates a scope for a stream
@ -32,3 +33,4 @@ pub type GlobalStreamGens = HashMap<String, GenerationIdx>;
/// where it was met.
/// Similar to pi-calculus restricted names/channels.
pub type RestrictedStreamGens = HashMap<String, HashMap<AirPos, Vec<GenerationIdx>>>;
pub type RestrictedStreamMapGens = RestrictedStreamGens;