Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.