Skip to content

weavery/clarity.ml

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Clarity.ml

Project license Discord

Clarity.ml parses Clarity smart contracts into an abstract syntax tree.

Installation

opam pin add -y clarity-lang https://github.com/weavery/clarity.ml -k git

Development

This section documents how to get set up with a development environment for building Clarity.ml from source code. It is only of interest to people who wish to contribute to Clarity.ml.

Prerequisites

The following baseline tooling is required in order to build Clarity.ml from source code:

Dependencies

The following OCaml tools and libraries are required in order to build Clarity.ml from source code:

These aforementioned dependencies are all best installed via OPAM:

opam install -y alcotest cppo menhir num

Installing from source code

git clone https://github.com/weavery/clarity.ml.git

cd clarity.ml

dune build

dune install

Acknowledgments

We thank Arweave and the Stacks Foundation for sponsoring the development of this project as part of the development of Sworn and Clarc, respectively.