PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Pony

Pony

Pony is a pl created in 2012.

#477on PLDB 10Years Old 874Users
0Books 0Papers 549Repos

Try now: TIO


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
pawn.html · pony.html · hjson.html

View source

PLDB - Build the next great programming language · v2022 · Day 33 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com