Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

Pony

Pony - Programming language

< >

Pony is a programming language created in 2012.

#218on PLDB 11Years Old 7.4kUsers
0Books 0Papers 549Repos

Try now: TIO

:horse: Pony is an open-source, actor-model, capabilities-secure, high performance programming language


Example from the web:
actor Main new create(env: Env) => env.out.print("Hello, world!")
Example from Compiler Explorer:
actor Main var _env: Env new create(env: Env) => _env = env square(3) fun square(num: I32): I32 => num * num
Example from hello-world:
actor Main new create(env: Env) => env.out.print("Hello World")
Example from Linguist:
actor Main new create(env: Env) => env.out.print("Hello, world.")

Language features

Feature Supported Token Example
Comments ✓
MultiLine Comments ✓
Line Comments ✓
Integers ✓
Floats ✓
Hexadecimals ✓
Strings ✓ "
"Hello world"
Print() Debugging ✓ env.out.print
postcss.html · pony.html · click.html

View source

- Build the next great programming language · Search · Day 213 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub · feedback@pldb.com