Compiler for the Gren programming language
Go to file
2023-03-29 19:01:50 -07:00
.github Bump ormolu 2023-01-13 12:59:15 +01:00
builder/src Refuse to compile a dependency with local dependencies. 2023-03-13 20:52:25 +01:00
compiler/src Use published prettyprint-avh4 2023-03-29 19:01:50 -07:00
docs Document how one can hack on core packages. 2022-09-02 14:33:22 +02:00
hints gren slack → zulip 2022-05-30 13:17:37 +02:00
terminal Verify that project doesn't contain any local dependencies. 2023-01-25 20:31:02 +01:00
tests format: Fix unicode escapes in string literals 2023-03-01 22:06:36 -08:00
.gitignore Forbid make output for package type projects 2022-12-29 16:51:49 +01:00
CONTRIBUTING.md Add contributing guidelines. 2022-09-02 10:24:33 +02:00
CONTRIBUTORS Add BendingBender to contributors 2023-01-12 16:26:28 +01:00
gren.cabal Use published prettyprint-avh4 2023-03-29 19:01:50 -07:00
LICENSE Change license. 2022-02-24 12:38:48 +01:00
README.md Fix spelling 2023-02-16 16:36:08 +01:00
ROADMAP.md Add roadmap. 2023-01-26 18:25:19 +01:00

Gren

Compiler for 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

The Gren compiler is written in Haskell, so to build from source you need to have GHC 9.4 (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.