File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Finite state machine
3838``` 
3939(new-declaration (spec X Y) (:= X Y)) 
4040(new-declaration (:: Tested Test) 
41-   (== @(exec {  @#Tested #Test } ) ok)) 
41+   (== @(interact  @#Tested #Test) ok)) 
4242
4343(spec binary { 
4444  [(-i []) ok] 
@@ -78,10 +78,10 @@ automaton accepting words ending with 00
7878
7979(:= kill (-a _ _)) 
8080
81- (show (exec @(exec  @#e #a1) #kill)) 
82- (show (exec @(exec  @#000 #a1) #kill)) 
83- (show (exec @(exec  @#010 #a1) #kill)) 
84- (show (exec @(exec  @#110 #a1) #kill)) 
81+ (show (process (interact  @#e #a1)    #kill)) 
82+ (show (process (interact  @#000 #a1) #kill)) 
83+ (show (process (interact  @#010 #a1) #kill)) 
84+ (show (process (interact  @#110 #a1) #kill)) 
8585``` 
8686
8787More examples can be found in ` examples/ ` .
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ automaton accepting words ending with 00
4040
4141(:= kill (-a _ _))
4242
43- (show (interact @ (interact @#e #a1) #kill))
44- (show (interact @ (interact @#000 #a1) #kill))
45- (show (interact @ (interact @#010 #a1) #kill))
46- (show (interact @ (interact @#110 #a1) #kill))
43+ (show (process  (interact @#e #a1)    #kill))
44+ (show (process  (interact @#000 #a1) #kill))
45+ (show (process  (interact @#010 #a1) #kill))
46+ (show (process  (interact @#110 #a1) #kill))
Original file line number Diff line number Diff line change 3838
3939(:= kill (-a _ _ _))
4040
41- (show (interact @ (interact @#e #a1) #kill))
42- (show (interact @ (interact @#0000 #a1) #kill))
43- (show (interact @ (interact @#0110 #a1) #kill))
44- (show (interact @ (interact @#1110 #a1) #kill))
41+ (show (process  (interact @#e #a1)     #kill))
42+ (show (process  (interact @#0000 #a1) #kill))
43+ (show (process  (interact @#0110 #a1) #kill))
44+ (show (process  (interact @#1110 #a1) #kill))
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments