Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://gitlab.com/gilmi/giml-lang
https://giml-lang.org
A functional programming language with emphasis on structural typing.
https://gitlab.com/gilmi/giml-lang
compiler haskell parsing type inference
Last synced: 3 months ago
JSON representation
https://giml-lang.org A functional programming language with emphasis on structural typing.
- Host: gitlab.com
- URL: https://gitlab.com/gilmi/giml-lang
- Owner: gilmi
- License: apache-2.0
- Created: 2021-03-12T11:56:54.669Z (almost 4 years ago)
- Default Branch: main
- Last Synced: 2024-08-01T19:54:05.667Z (6 months ago)
- Topics: compiler, haskell, parsing, type inference
- Stars: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-programming-languages - Giml - A functional programming language with emphasis on structural typing. (Uncategorized / Uncategorized)
README
# Giml
![Build status](https://gitlab.com/gilmi/giml-lang/badges/main/pipeline.svg?job=pipeline)
Giml is a strict, statically typed, purely functional language with emphasis on structural typing.
The compiler currently targets JavaScript, but more backends are planned in the future.
This project is streamed on [twitch.tv/suppipi](https://twitch.tv/suppipi), and past sessions are available on [Youtube](https://www.youtube.com/watch?list=PLhMOOgDOKD4IkQM75GkAnXI-fpIrDAnsu&v=khAKcFgziWU).
For more information, visit the [website](https://giml-lang.org).
## Build and run
### With [Cabal + GHC 9.6](https://www.haskell.org/ghcup):
```sh
> cabal update
> cabal build all
> cabal run giml -- compile --input examples/factorial.giml --output /tmp/output.js
> node /tmp/output.js # use node to run the program
120
```## Logo
Logos adapted from “Rad Pack – 80’s Theme” Wallpapers by Nate Wren (CC BY-NC 4.0)