Skip to content
A standalone compiler for ohua algorithms
Haskell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
src
test-resources
test
.gitignore
.gitmodules
.travis.yml
CHANGELOG.md
LICENSE.txt
README.md
Setup.hs
package.yaml
stack.yaml

README.md

The standalone Ohua compiler: ohuac

Build Status Latest Release

For the complete documentation of the ohuac compiler see the standalone compiler section of the ohua documentation

Usage

For a complete list of the options available use the --help flag.

Installing

Prebuilt binaries are available for 64bit Linux and OSX. Provided for each release by Travis CI.

Simply download the appropriate executable for you platform (ohuac-linux or ohuac-osx) from the releases page.

Building from source

Required tools:

Instructions

  1. Clone the repository

    git clone https://github.com/ohua-dev/ohuac

  2. Build the program

    stack install

    This downloads and builds all dependencies, as well as the Haskell compiler ghc, should it not be present already. It should not interfere with any system-level libraries, Haskell ecosystems etc.

    It builds the executable ohuac and copies it to ~/.local/bin. If you do not wish this use stack build instead and find the path of the binary using stack exec -- which ohuac afterwards

Examples

The test-resources directory contains example namespaces using both the ohua S-Expression syntax (ohuas) and C/Rust-like syntax (ohuac).

You can’t perform that action at this time.