LPC語言

LPC 全名Lars Pensjö C，是一種程式語言，由Lars Pensjö所發展出來的。

LPC類似C語言，語法大致相同，但是LPC 是一物件導向語言，由物件（Object）組成，但LPC又沒有class的概念, LPC 物件是一種 blueprint 物件, 及其clones。物件具有變數 (attributes) 和函式 (methods). 變數可存物件的狀態。LPC 多用於開發MUD。

 資料型別 
 一般資料型別 
 object
 任何的 LPC object, 包含 blueprints 與 clones. Available in all known drivers. Has no literal form as such.
    object obj = clone_object("/std/weapon");
 int
 32-bit 整數. Available in all known drivers. Literal form is the bare number.
    int number = 23;

 外部連結 
 LPC Basics  by George Reese on Apr 23rd, 1993
 NannyMUD LPC by Mats H. Carlberg in March in 1998
 Discworld MUD's LPC for Dummies, first edition  by Michael Heron, October 2000.
 LPC Tutorial  by Ronny Wikh on Jul 8th, 2003
 Discworld MUD's LPC for Dummies, Book 1, second edition by Michael Heron, April 2009
 Discworld MUD's LPC for Dummies, Book 2, first edition by Michael Heron, April 2009
 LPMuds.net  A resource for MUDs that use LPC.

Category:程序设计语言
Category:基于原型的编程语言