screepers/POSIS

Name: POSIS

Owner: screepers

Description: Portable Operating System Interface for Screeps

Created: 2017-06-19 20:58:23.0

Updated: 2018-04-01 00:55:42.0

Pushed: 2018-04-01 00:55:41.0

Homepage: null

Size: 86

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

POSIS

Portable Operating System Interface for Screeps

Rationale

See POSIX.

Basic general workflow
Writing compatibility layer

Host OS must provide at least IPosisKernel implementation, and ideally all other defined extensions.

This project provides typescript interfaces that serve as is in typescript projects and as documentation for poor souls using plain JS.

To use types in typescript project, install typings

m install typings --saveDev

Add or modify typings.json with


ame": "whatever",
lobalDependencies": {
"posis-api": "github:screepers/POSIS/dist/index.d.ts#master"


Make sure typings are included in tsconfig.json

nclude": [
"typings/**/*.d.ts"

Writing compatible process

For an example see test bundle.

Extensions
IPosisKernel

Base kernel, exposes ways to start/stop/reparent or find a process. IPosisKernel

IPosisSpawnExtension
Known posis bundles

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.