Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P
ProofScriptParser
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 4
    • Merge Requests 4
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • sarah.grebing
  • ProofScriptParser
  • Wiki
  • linting

Last edited by Alexander Weigl Aug 29, 2017
Page history

linting

Linting proof scripts

Linting is a static analysis of finding common mistakes or improvements.

Rule 1

Successive repetition of the same goal selector or repeat does not make sense:

foreach { foreach { ... } }
theonly { theonly { ... } }
repeat { repeat { ... } }

Rule 2

Mixture of the theonly or foreach is strange:

foreach { theonly { } }
theonly { foreach { } }

Rule 3

Empty blocks

Rule 4

Call to undefined function

Rule 5

Call with wrong arguments

Rule 6

Negation of match with a using clause.

Rule 6?

There should never be more than X branches.

Rule 7

Variable check.

Clone repository
  • Home
  • key version
  • language description
  • linting