Skip to content

Commit

Permalink
clean up & update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
linwe2012 committed Oct 9, 2019
1 parent e1968b3 commit e10ef7c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Tamarin Prover Syntax
# Tamarin Prover Syntax for VSCode

An extension for highlighting tamarin-prover.

Expand Down
15 changes: 8 additions & 7 deletions snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"rule $1:",
"\t[ $2 ]\n\t--[\n\t\t\n\t]->\n\t[ $3 ]"
],
"description": "Generate rule"
"description": "Skeleton of a rule"
},
"rule let in": {
"prefix": "rule",
Expand All @@ -20,7 +20,7 @@
"\t]->",
"\t[ $4 ]"
],
"description": "Generate full rule wit let in"
"description": "Skeleton of a rule with `let ... in`"
},
"theory": {
"prefix": "theory",
Expand Down Expand Up @@ -79,23 +79,24 @@
"body":[
"Out($1)"
],
"description": "Send message out, can be sniffed by attacker"
"description": "Send message out, can be intercepted by attacker"
},
"init": {
"prefix": "init",
"body": [
"rule init_$1:",
"\t[ $2 ]\n\t--[\n\t\t\n\t]->\n\t[ $3 ]"
],
"description": "Create an init rule"
"description": "Skelton init rule"
},
"let in": {
"prefix": "let",
"body":[
"\tlet",
"\t\t$1",
"\t\t$1",
"in"
]
],
"description": "Macro definition"
},
"all-traces": {
"prefix": "all",
Expand All @@ -119,7 +120,7 @@
"\t$2",
"\""
],
"description": "restriction skeleton"
"description": "Skeleton of restriction"
}

}
Binary file removed tamarin-0.0.1.vsix
Binary file not shown.

0 comments on commit e10ef7c

Please sign in to comment.