Skip to content

Optimizing Hermes to C compiler with Zerostack support.

Notifications You must be signed in to change notification settings

maltevelin/Hermes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Hermes to C compiler written in Moscow ML as part of my bachelor project. Hermes is designed by Torben Ægidius Mogensen and specified in Hermes: A Reversible Language for Writing Encryption Algorithms.

Instructions

Clone the repository and build the compiler:

git clone git@github.com:maltevelin/Hermes.git
cd Hermes
make

Clone and compile Blowfish:

git clone git@github.com:maltevelin/Blowfish.git
bin/hc -O Blowfish/blowfish

The resulting C file, located in the programs directory, can be compiled using any old C compiler and executed backwards with the -r option. -O and -Z flags enable optimizations and add annotations to C code for compilation with Zerostack, respectively.

About

Optimizing Hermes to C compiler with Zerostack support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published