Compiler for the Gren programming language
Go to file
2022-09-01 18:39:08 +00:00
.github Add --enable-tests flag when building PRs to avoid recompilation when running tests. 2022-08-26 17:34:17 +02:00
builder/src Introduce a new output type, Exe, and only wrap such outputs in the node sandwhich. 2022-08-26 17:26:40 +02:00
compiler/src First attempt at allowing wildcard patterns '_' to have a variable name after, whih is intended to allow documentation of the value that is being ignored: https://github.com/gren-lang/compiler/issues/111 2022-09-01 18:39:08 +00:00
docs Add note on how to write kernel code. 2022-05-07 17:01:48 +02:00
hints gren slack → zulip 2022-05-30 13:17:37 +02:00
terminal Introduce a new output type, Exe, and only wrap such outputs in the node sandwhich. 2022-08-26 17:26:40 +02:00
tests First attempt at allowing wildcard patterns '_' to have a variable name after, whih is intended to allow documentation of the value that is being ignored: https://github.com/gren-lang/compiler/issues/111 2022-09-01 18:39:08 +00:00
.gitignore Remove reactor and related dependencies. 2022-02-04 14:23:49 +01:00
CONTRIBUTING.md Use latest ormolu. 2022-08-05 08:56:12 +02:00
CONTRIBUTORS Update CONTRIBUTORS. 2022-08-12 12:26:33 +02:00
gren.cabal First attempt at allowing wildcard patterns '_' to have a variable name after, whih is intended to allow documentation of the value that is being ignored: https://github.com/gren-lang/compiler/issues/111 2022-09-01 18:39:08 +00:00
LICENSE Change license. 2022-02-24 12:38:48 +01:00
README.md Update readme, and add section on installing with ghcup. 2022-08-26 09:07:07 +02:00

Gren

Compiler for the Gren, a pure functional programming language that is easy to learn, but powerful in use.

There are easier ways to install the compiler than compiling the source, you might want to read the setup instructions.

Build from source

Then Gren compiler is written in Haskell, so to build from source you need to have GHC 9.2 (Haskell compiler) and Cabal 3.8 (haskell build tool) installed on your system.

You can install these using ghcup. By default, ghcup will install an older version of Haskell and Cabal, so you can install and set the required versions using ghcup tui.

Compiling and installing the project should just be a matter of cabal install, after which you should be able to run the gren command from your command line.

Read the CONTRIBUTING.md file for some helpful commands for working on the compiler itself.