Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Latest commit

 

History

History
43 lines (30 loc) · 1.03 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.03 KB

swarmc

A light-weight ComputerCraft emulator using Lua 5.2.4

Features

  • Emulates computercraft
  • Hardware accelerated crypto using OpenSSL
  • Full control over Lua VM

Usage / Installation

  git clone git@github.com:jaredallard/swarmc --recursive
  -- OR WITHOUT SSH KEY --
  git clone https://github.com/jaredallard/swarmc --recursive

  npm install

  node bin/swarmc [script] # or use swarmc.json

swarmc.json

Introduced in 1.0.1 is a new method of utilizing swarmc. Primarily for bundled situations, i.e swarmc-docker and etc. This format enables you to hard depend on node & swarmc versions as well as specify main files in a simple JSON format.

{
  "main": "my/script/folder", // IMPORTANT: This does NOT change the CWD.
  "name": "scriptexample",
  "dependencies": {           // Dependency control! Look familiar?
    "node": "5.x.x",          // This is *very* useful, as node has changed a lot.
    "swarmc": "^1.0.0"        // Oh yeah, we support npm's semver goodness.
  }
}

License

MIT