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
- Host: GitHub
- URL: https://github.com/phase/o
- Owner: phase
- License: mit
- Created: 2015-07-11T08:04:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-25T14:54:09.000Z (10 months ago)
- Last Synced: 2024-10-14T15:09:18.477Z (3 months ago)
- Topics: golfscript, interpreter, language
- Language: C
- Homepage: https://jadon.io/o
- Size: 474 KB
- Stars: 59
- Watchers: 9
- Forks: 7
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
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==)