Skip to content

Frama-C code which proves the total correctness of a program which verifies if parentheses are balanced.

Notifications You must be signed in to change notification settings

bartlombardi/balanced-parentheses-frama-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Balanced Parentheses Frama-c

Frama-C code which proves the total correctness of a program which verifies if parentheses are balanced.

University of Parma - Computer Science
Project of Semantics of Programming Languages
A.A. 2014/2015

Intuitively, a string of parentheses is balanced if each left parenthesis has a matching right parenthesis and the matched pairs are well nested. The set PAREN of balanced strings of parentheses [ ] is the prototypical context-free language and plays a pivotal role in the theory of CFLs.

  • ACSL Specification

You can find the specifications of functions in the files.
They can be verified using Frama-C with Jessie plugin.

  frama-c-gui parentesi.c

About

Frama-C code which proves the total correctness of a program which verifies if parentheses are balanced.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages