Skip to content

Commit afd6ad9

Browse files
committed
Update README
1 parent ce7a212 commit afd6ad9

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

8787
More examples can be found in `examples/`.

examples/automata.sg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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))

examples/npda.sg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
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))

0 commit comments

Comments
 (0)