Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Willyboar/glove
Gleam Library to generate QBE IR code
https://github.com/Willyboar/glove
backend compiler gleam-lang qbe
Last synced: 8 days ago
JSON representation
Gleam Library to generate QBE IR code
- Host: GitHub
- URL: https://github.com/Willyboar/glove
- Owner: Willyboar
- License: mit
- Created: 2023-05-16T13:07:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-03T18:45:18.000Z (9 months ago)
- Last Synced: 2024-10-06T01:47:14.884Z (about 1 month ago)
- Topics: backend, compiler, gleam-lang, qbe
- Language: Gleam
- Homepage:
- Size: 34.2 KB
- Stars: 13
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Package Version](https://img.shields.io/hexpm/v/glove)](https://hex.pm/packages/glove)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/glove/)## About
Glove is a library for working with [QBE](https://c9x.me/compile/) intermediate representation (IR) in Gleam. Provides utilities and functions to generate QBE code using the Gleam programming language.## Requirements
To use Glove, you need to have the following dependencies installed:
Gleam programming language - Install instructions can be found [here](https://gleam.run/getting-started/installing/)
QBE Backend can be found [here](https://c9x.me/compile/)
## Quick start
You can find a working example [here](https://github.com/Willyboar/glove_example)
QBE IL Documentation can be found [here](https://c9x.me/compile/doc/il.html)
## Run the tests
```sh
gleam test # Run the tests
```## Installation
Package can be added to your Gleam project:
```sh
gleam add glove
```and its documentation can be found at .
## Special Thanks to:
* [lpil](https://github.com/lpil) for creating Gleam
* [Danielle](https://github.com/DanielleMaywood) for helping to complete this library.