Skip to content

kirkedal/Jana-JanusInterp

Repository files navigation

Jana

An interpreter for Janus, the reversible programming language.

Build and Installation

To build Jana run

cabal configure
cabal build

and to install

cabal install

The program can also be run (assuming all dependencies are installed) by cd'ing to src and then running

runhaskell Main.hs

For more info about cabal see http://www.haskell.org/cabal/.

For building and installation using stack, run

stack init
stack install

and the interpreter can then be invoked like this:

stack exec jana

However, that installation is only local to that folder; to make Jana available globally, edit your global config in ~/.stack/global-project/stack.yaml and add the directory in the packages array like so:

packages:
- /home/user/path/Jana-JanusInterp

and install it globally, outside the project directory, using

cd
stack install path/Jana-JanusInterp

Or, to run it directly using stack, use

cd src/
stack exec -- runhaskell Main.hs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5