Sketch's evaluating engine compiled to Javascript with js_of_ocaml
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.
.circleci
.vscode
src
test
.gitignore
Makefile
README.md
dune
dune-project
esy.lock.json
jest.config.js
package.json
sandbox.esy.lock.json
sandbox.json
sketch.esy.lock.json
sketch.json
sketch.opam

README.md

sketch-engine

Exposes toplevel functionality for https://github.com/Sketch-sh/sketch-sh

Installation

This project uses https://esy.sh

install esy: npm install -g esy

install dependencies:

esy @sketch install && \
esy @sandbox install && \
esy install

Build

  • For engine and packager development:
make engine
  • For compiling engine to Javascript (this takes awhile):
make js

Build artifacts in build/engine

  • For compiling packages to Javscript
make packages

Build artifacts in build/packages

Adding new package to the sandbox

esy @sandbox add @opam/PACKAGE_NAME

Open sandbox.json and add the name of the package to esy.build

Test

make test