Compiler for the Gren programming language
Go to file
2024-09-26 22:23:36 +02:00
.github Add prettier. 2024-09-26 10:24:33 +02:00
builder/src Proof of concept static build with snapshot. 2024-09-25 22:44:13 +02:00
compiler/src Begin work on decoding json from gren compiler in haskell compiler. 2024-09-12 22:24:26 +02:00
docs Add prettier. 2024-09-26 10:24:33 +02:00
hints Add prettier. 2024-09-26 10:24:33 +02:00
src Add make-static command for creating SEAs. 2024-09-23 23:03:36 +02:00
terminal Add proper error messages for gren docs command. 2024-09-20 22:30:41 +02:00
tests Merge pull request #257 from mbartlett21/multistring-squote-spaces 2024-08-09 22:36:17 +02:00
.gitignore Install postject dependency. 2024-09-23 23:06:46 +02:00
build_dev_bin.sh Add script for quickly building a version of the haskell compiler. 2024-06-22 22:02:32 +02:00
cli.js Cleanup make-static implementation. 2024-09-26 22:23:36 +02:00
CONTRIBUTING.md Add prettier. 2024-09-26 10:24:33 +02:00
CONTRIBUTORS Format and add contributor 2024-08-09 17:31:55 +10:00
gren.cabal Remove haskell CLI parser. 2024-09-11 07:32:42 +02:00
gren.json Proof of concept static build with snapshot. 2024-09-25 22:44:13 +02:00
index.js Re-structure js package. 2024-09-23 22:37:09 +02:00
LICENSE Change license. 2022-02-24 12:38:48 +01:00
package-lock.json Add prettier. 2024-09-26 10:24:33 +02:00
package.json Add prettier. 2024-09-26 10:24:33 +02:00
README.md Fix spelling 2023-02-16 16:36:08 +01:00
ROADMAP.md Add prettier. 2024-09-26 10:24:33 +02: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.