Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rybla/liquid-flex-hs


https://github.com/rybla/liquid-flex-hs

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

# liquid-flex-hs

- [Notes](./Flex.md) on Flex
- [Notes](./Features.md) on planned/implemented features for Liquid Flex

## Compilation

You may need to run the following if on a M1 Mac.

```sh
C_INCLUDE_PATH="`xcrun --show-sdk-path`/usr/include/ffi" stack build
```

## Installation

Install the executable `liquid-flex-hs` with `stack`:

```sh
stack install
```

## Usage

You can run with `stack`, or install the executable and run that.

```sh
stack run -- [--debug] [--verbose] [input]+
# or
liquid-flex-hs [--debug] [--verbose]
```

The available commands are:

- `help`: get some help
- `parse`: parse an input module source file
- `type`: type-check an input module source file (after parsing)
- `refine`: refinement-check an input module source file (after parsing & type-checking)