Skip to content

sicotronic/my_language_interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

This program is an interpreter/compiler for my own imperative language. The entire project was made in Haskell.
I've presented this implementation as the final project of the subject "Programming Languages and Compilers" when I was studying at College.
The following is a simple example of the syntax of the language and the usage of the interpreter/compiler:

main "catch l in fail l; newvar y:=23 {! y} with newvar x:=0 { while x<7 do x:=x+1; ! x od; if not (false => true) then newvar y:=0 { for y:=0 to 6 do ! y od } else skip fi }"


About

A simple imperative language interpreter/compiler made in Haskell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published