https://github.com/phase/o
Esoteric stack-oriented programming language for code golf
https://github.com/phase/o
golfscript interpreter language
Last synced: about 1 month 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-03-25T14:54:09.000Z (about 1 year ago)
- Last Synced: 2025-03-16T01:41:23.011Z (about 1 month ago)
- Topics: golfscript, interpreter, language
- Language: C
- Homepage: https://jadon.io/o
- Size: 474 KB
- Stars: 60
- Watchers: 8
- Forks: 8
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# [](http://jadonfowler.xyz/o)
[](https://travis-ci.org/phase/o)
[](https://github.com/phase/o/releases)
[](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/).[](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==)