Skip to content

v1.0.0

Compare
Choose a tag to compare
@jdreier jdreier released this 22 Jul 15:14
· 35 commits to master since this release
c8b102f

Tamarin Visual Studio Code extension

A Visual Studio Code extension for Tamarin files (.spthy) based on giclu-3's extension and using Tamarin's tree-sitter grammar.

Features:

  • Enhances giclu-3's syntax highlighting.

  • Adds comprehensive syntax error detection based on the grammar with MISSING or ERROR messages.

  • Provides various wellformedness checks:

    • Checks position and usage of reserved facts (Fr, Out, In, K, KD, KU).
    • Checks whether variable are used consistly inside a rule, i.e., using the same capitalization and sort.
    • Spellcheck on facts (must start with an uppercase letter).
    • Checks whether all variables in the conclusion of a rule appear in the premises (except public variables).
    • Checks the arity of facts and functions.
    • Checks whether a lemma uses free terms.
    • Checks whether all facts in the premises of the rules appear in the conclusion of some (other) rule (provides a quick fix by using the closest exisiting fact, based on editing distance).

    This is a subset of the checks performed by Tamarin. For more details on Tamarin's wellformedness checks, see the corresponding Tamarin Prover manual section.

  • Use right click and Rename on an indentifier to rename all occurences of it inside a rule or a lemma.

  • Use right click and Search Definition on facts or function names and press CTRL+TAB to navigate through all occurences.