Skip to content

Latest commit

 

History

History
68 lines (43 loc) · 2.08 KB

File metadata and controls

68 lines (43 loc) · 2.08 KB

Phobos

npm version

Phobos is an experimental general purpose language. Phobos is heavily inspired by JavaScript, TypeScript and Dart. TypeScript compiles to multiple targets including plain JavaScript, TypeScript, x86 assembly and RISCV x64. Try it out at the playground, and stay up to date via our blog.

Find others who are using Phobos at our community page.

Installing

For the latest stable version:

npm install -g phobos

Contribute

There are many ways to contribute to Phobos.

Documentation

Building

In order to build the Phobos compiler, ensure that you have Git and Node.js installed.

Clone a copy of the repo:

git clone https://github.com/Deimos-Applications/phobos.git

Change to the Phobos directory:

cd phobos

Install ts-node:

npm install -g ts-node

Use one of the following to build and test:

npm run build             # Build the compiler into built/local.
npm test                  # Execute local test suites

Usage

node dist/index.js hello.pb

Roadmap

For details on our planned features and future direction please refer to our roadmap.