Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (32 sloc) 1.04 KB

Context

My MIT SuperUROP project: Automatic Least-Effort Contextual Learning.

Install and Build

Install rust (with rustup), clone the repo, and build.

# install rust (using rustup)
$ curl https://sh.rustup.rs -sSf | sh
# clone this repo
$ git clone git@github.com:lucasem/context
# build
$ cargo build

Run

We are using the EC algorithm with primitives designed for string transformation, implemented at lucasem/ec.

The easiest way to run this is to place the ec binary in the root directory of this project, and to use cargo run from the project root:

# start from this project's root directory.
# clone, build, and copy ec:
$ git clone git@github.com:lucasem/ec ec-repo
$ cd ec-repo
$ make && cp ec ../ec
$ cd ..
# run
$ cargo run

For more customization, you can have the $EC environment variable point to the ec binary and the $EC_CURRICULUM environment variable point to a directory with similar structure to ./curriculum/ec.