From 4c73cdfda00a203870d5befe209bc8e51ff4d4f4 Mon Sep 17 00:00:00 2001 From: Sergii Fesenko Date: Mon, 4 Oct 2021 11:34:57 +0300 Subject: [PATCH] Update `How to get started` with build instructions for stack --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 912012a..a2af395 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ 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 @@ -57,9 +57,16 @@ Hypatia is a prototype of a functional language of the ML-family that compiles t 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