Skip to content

marialuquea/Train_Controller_Ada-SPARK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Train controller written in Ada-SPARK

  • Uses Preconditions and Postconditions in order to create a safety critical system
  • Compiles at SPARK gold level guaranteeing the absence of run time errors
  • Has a console based GUI from where you can control the train, actions will not be accepted unless the preconditions are satisfied.

How to run the program

UNIX based system

  • Execute main file from your terminal, with ./main.

Windows based system:

  • Compile and run code in GNAT programming studio.

Controller Structure

  • Program specification with preconditions and postconditions: trains.ads
  • Program implementation with procedures and functions: trains.adb
  • Main script: main file

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages