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

Pike

Pike

Pike is a pl created in 1994 by Fredrik Hübinette.

#273on PLDB 28Years Old 446Users
1Books 0Papers 145Repos

Try now: Riju · TIO

Pike is an interpreted, general-purpose, high-level, cross-platform, dynamic programming language, with a syntax similar to that of C. Unlike many other dynamic languages, Pike is both statically and dynamically typed, and requires explicit type definitions. It features a flexible type system that allows the rapid development and flexible code of dynamically typed languages, while still providing some of the benefits of a statically typed language. Read more on Wikipedia...


Example from Riju:
int main() { write("Hello, world!\n"); return 0; }
Example from hello-world:
int main() { write("Hello World\n"); return 0; }
Example from the Hello World Collection:
// Hello world in Pike (pike.roxen.com) int main(){ write("Hello World!\n"); }
Example from Linguist:
#!/usr/bin/env pike int main(int argc, array argv) { return 0; }
Example from Wikipedia:
mixed anything; anything = (int)5.5; // anything is now the integer value 5 anything = (string)anything; // anything is now the string value "5"

Language features

Feature Supported Example Token
Print() Debugging write
Line Comments
// A comment
//
Comments
Semantic Indentation ϴ

Books about Pike from ISBNdb

title authors year publisher
Pike (programming Language) Surhone and Lambert M. and Timpledon and Miriam T. and Marseken and Susan F. 2010
b.html · pike.html · ats.html

View source

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