Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update How to get started with build instructions for stack #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,24 @@ People say, I look like my father, Haskell, but somehow I am a little different:
It was nice to talk with you stranger.


xoxo
xoxo
Hypatia

## How to get started
Hypatia is a prototype of a functional language of the ML-family that compiles to lua.
People are writing game engines in functional languages, however functional scripting languages are rarely seen.
Hypatia could fill this gap and it could reuse parts of the existing lua ecosystem.

Install the game engine [love](https://love2d.org) and [GHC](https://www.haskell.org/) then run
- Install [Stack](https://docs.haskellstack.org/en/stable/install_and_upgrade/)
- Install the game engine [love](https://love2d.org)
- Build Hypatia with Stack:
```
stack init
stack build
stack install
```
- Build and run examples
```
cabal install hypatia
cd examples
hypatia compile Spheres.hyp
love lua
Expand Down