Ecosyste.ms: Awesome

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

https://github.com/phase/o

Esoteric stack-oriented programming language for code golf
https://github.com/phase/o

golfscript interpreter language

Last synced: 3 months ago
JSON representation

Esoteric stack-oriented programming language for code golf

Lists

README

        

# [![O](static/logo.png)](http://jadonfowler.xyz/o)
[![Build Status](https://travis-ci.org/phase/o.svg)](https://travis-ci.org/phase/o)
[![Latest Release](https://img.shields.io/github/release/phase/o.svg?label=latest%20release)](https://github.com/phase/o/releases)
[![Issues in progress](https://badge.waffle.io/phase/o.png?label=in%20progress&title=Issues%20In%20Progress)](https://waffle.io/phase/o)

O is a esoteric programming language used for
[CodeGolf](http://codegolf.stackexchange.com). It was inspired by
languages such as GolfScript, Pyth, K, and ><>, but it has grown into
its own language with many cool features. The current interpreter is
written in C. You can find the old Java interpreter on the
[`java-interpreter`](https://github.com/phase/o/tree/java-interpreter)
branch.

All documentation for the language is on
[ReadTheDocs](https://o.readthedocs.org). You can try the language out
online at [Heroku](https://o-lang.herokuapp.com/).

[![Throughput Graph](https://graphs.waffle.io/phase/o/throughput.svg)](https://waffle.io/phase/o/metrics)

## Examples
Here are some examples of O.

### Hello World

```
"Hello, World!
```
[Try it online](https://o-lang.herokuapp.com/link/IkhlbGxvLCUyMFdvcmxkIQ==/)

### Factorial

```
H,;]*
```
[Try it online](https://o-lang.herokuapp.com/link/SCw7XSo=/NQ==)

### Cat

```
i
```
[Try it online](https://o-lang.herokuapp.com/link/aQ==/VGhpcyUyMGlzJTIwYSUyMGNhdCUyMHByb2dyYW0h)

### Fibonacci

```
0J;1Kpj{K:VJ+:KpV:J;}d
```
[Try it online](https://o-lang.herokuapp.com/link/MEo7MUtwantLOlZKKzpLcFY6Sjt9ZA==/OA==)