package opti

  1. Overview
  2. Docs
DSL to generate fast incremental C code from declarative specifications

Install

Dune Dependency

Authors

Maintainers

Sources

opti-1.0.3.tbz
sha256=ed9ba56dc06e9d2b1bf097964cc65ea37db787d4f239c13d0dd74693f5b50a1e
md5=adaa65ec29dbe59125d3732b8461e796

Description

Generate C code to incrementally compute sums, products and other expressions, without recomputing them from scratch every time.

Published: 25 Nov 2018

README

README

Opti is a DSL and compiler to generate fast incremental C code from declarative specifications.

To build the ocaml code, do:

    dune build @runtest @install

The opti main program can then be invoked as follows:

    opti -i opti_code.opti -o generated_c_code.c -h generated_c_code.h

There are emacs and vim modes for Opti that provide rudimentary syntax
highlighting. See the emacs/ and vim/ subdirectories respectively.

Dependencies (2)

  1. dune
  2. ocaml

Dev Dependencies (1)

  1. ounit with-test

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.