Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Pony

< >

Pony is an open source programming language created in 2012 by Sylvan Clebsch.

#143on PLDB 12Years Old 549Repos
Download source code:
git clone https://github.com/ponylang/ponyc
Homepage · REPL · Try It Online · Source Code · Subreddit · Twitter

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 Example Token
Comments
MultiLine Comments
Line Comments
Integers
Floats
Hexadecimals
Strings "Hello world" "
Print() Debugging env.out.print
- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll