Skip to content

Commit e10ef7c

Browse files
committed
clean up & update doc
1 parent e1968b3 commit e10ef7c

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Tamarin Prover Syntax
1+
# Tamarin Prover Syntax for VSCode
22

33
An extension for highlighting tamarin-prover.
44

snippets.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"rule $1:",
66
"\t[ $2 ]\n\t--[\n\t\t\n\t]->\n\t[ $3 ]"
77
],
8-
"description": "Generate rule"
8+
"description": "Skeleton of a rule"
99
},
1010
"rule let in": {
1111
"prefix": "rule",
@@ -20,7 +20,7 @@
2020
"\t]->",
2121
"\t[ $4 ]"
2222
],
23-
"description": "Generate full rule wit let in"
23+
"description": "Skeleton of a rule with `let ... in`"
2424
},
2525
"theory": {
2626
"prefix": "theory",
@@ -79,23 +79,24 @@
7979
"body":[
8080
"Out($1)"
8181
],
82-
"description": "Send message out, can be sniffed by attacker"
82+
"description": "Send message out, can be intercepted by attacker"
8383
},
8484
"init": {
8585
"prefix": "init",
8686
"body": [
8787
"rule init_$1:",
8888
"\t[ $2 ]\n\t--[\n\t\t\n\t]->\n\t[ $3 ]"
8989
],
90-
"description": "Create an init rule"
90+
"description": "Skelton init rule"
9191
},
9292
"let in": {
9393
"prefix": "let",
9494
"body":[
9595
"\tlet",
96-
"\t\t$1",
96+
"\t\t$1",
9797
"in"
98-
]
98+
],
99+
"description": "Macro definition"
99100
},
100101
"all-traces": {
101102
"prefix": "all",
@@ -119,7 +120,7 @@
119120
"\t$2",
120121
"\""
121122
],
122-
"description": "restriction skeleton"
123+
"description": "Skeleton of restriction"
123124
}
124125

125126
}

tamarin-0.0.1.vsix

-3.09 KB
Binary file not shown.

0 commit comments

Comments
 (0)