Top 1,000 Features Creators Events Podcasts Extensions Interviews Blog Explorer CSV

LPC

< >

LPC, aka Lars Pensjö C, is a programming language created in 1995 by Lars Pensjö.

#792on PLDB 29Years Old
Homepage · Wikipedia

LPC (short for Lars Pensjö C) is an object-oriented programming language derived from C and developed originally by Lars Pensjö to facilitate MUD building on LPMuds. Though designed for game development, its flexibility has led to it being used for a variety of purposes, and to its evolution into the language Pike. LPC syntax places it in the family of C-like languages, with C and C++ its strongest influences.. Read more on Wikipedia...


// Hello World in LPC void create() { message("info","Hello World!",this_user()); }
Example from Wikipedia:
function op = (: return sqrt($1 * $1 + $2 * $2); :);

Language features

Feature Supported Example Token
Comments
// A comment
Line Comments
// A comment
//
Semantic Indentation X

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll