@hackage / array-forth

A simple interpreter for arrayForth, the language used on GreenArrays chips.

Latest0.2.1.4

About

Metadata

  • Last updated , by TikhonJelvis
  • License GPL-3.0-only
  • Maintained by: Tikhon Jelvis <tikhon@jelv.is>

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    synthesis (off by default)

    build the mcmc synthesis demo app

    chart (off by default)

    build the charting facilities for analyzing the synthesizer

Readme

This is a package for working with arrayForth. This is a variant of Forth used by GreenArrays chips. This package contains an arrayForth simulator, two different representations of arrayForth programs and some utilities like parsing. It also supports synthesizing arrayForth programs using MCMC. The basic idea is to find arrayForth programs by taking a simple prior distribution of programs and using a randomized hill-climbing algorithm to find a program fulfilling certain tests.