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.
For the latest stable version:
npm install -g phobos
There are many ways to contribute to Phobos.
- Submit bugs and help us verify fixes as they are checked in.
- Review the source code changes.
- Contribute bug fixes.
- Read the archived language (specification
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
node dist/index.js hello.pb
For details on our planned features and future direction please refer to our roadmap.