An open API service indexing awesome lists of open source software.

https://github.com/loklaan/whitespace-lang

Runs programs written in Whitespace Language
https://github.com/loklaan/whitespace-lang

cli interpreter whitespace-language

Last synced: 4 months ago
JSON representation

Runs programs written in Whitespace Language

Awesome Lists containing this project

README

          

# Whitespace Interpreter

CLI to interpret programs written in the [Whitespace programming language](http://compsoc.dur.ac.uk/whitespace/).

## Usage

**Quick Start**

```shell
$ npx whitespace-lang print-hello-world.ws
```

---

```shell
# Install
$ npm i -g whitespace-lang

# Running a program
$ whitespace print-hello-world.ws
$ Hello World!

# Also works with stdin!
$ cat print-hello-world.ws | whitespace
$ Hello World!
```

## Contributing

This is a silly project, I won't be maintaining it for any real use case!

Saying that, feel free to make GitHub issues. 👍

## Legal

### Credit

**Thanks [vii5ard](https://github.com/vii5ard)!**
_The interpreter & compiler where adapted from the [vii5ard/whitespace](https://github.com/vii5ard/whitespace) IDE, which you should use to create programs!_

### License

MIT License

_Copyright (c) 2018 Lochlan Bunn_