Compiler for the Gren programming language
Go to file
2024-06-25 21:43:54 +02:00
.github Update CI config. 2024-06-02 20:27:09 +02:00
builder/src Formatting. 2024-06-22 22:06:09 +02:00
compiler/src Crash node applications if wrong node version is detected. 2024-06-19 23:35:40 +02:00
docs Add docs for kernel object properties and optimize 2023-06-24 06:57:00 -04:00
hints Fix link to Discord. 2024-06-25 21:21:21 +02:00
src Bump version to 0.4.4 2024-06-25 21:42:08 +02:00
terminal Fix removed leading slash + space in Haskell multi-line string 2024-06-20 10:01:32 -04:00
tests Merge pull request #232 from Gauteab/no-multiline-string-without-newline 2023-10-26 10:19:04 +02:00
.gitignore Compile gren wrapper. 2024-06-17 20:53:30 +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
CONTRIBUTING.md Fix double word. 2024-06-20 19:16:15 +02:00
CONTRIBUTORS Replace all other Zulip references throughout help text 2024-06-20 09:47:09 -04:00
gren.cabal Bump version to 0.4.4 2024-06-25 21:42:08 +02:00
gren.json Use new ChildProcess.spawn function in gren-lang/node to fix interactivity issues. 2024-06-25 21:38:17 +02:00
index.js Compile gren code with --optimize 2024-06-25 21:43:54 +02:00
LICENSE Change license. 2022-02-24 12:38:48 +01:00
package-lock.json Bump version to 0.4.4 2024-06-25 21:42:08 +02:00
package.json Bump version to 0.4.4 2024-06-25 21:42:08 +02:00
README.md Fix spelling 2023-02-16 16:36:08 +01:00
ROADMAP.md Update roadmap. 2023-06-13 21:02:10 +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.