The µLPC Programming Language

by Lars Aronsson and Fredrik Hübinette

What is this?

µLPC (Micro L.P.C., sometimes written ulpc or uLPC) is an interpreted, object-oriented programming language for flexible and yet efficient application development and prototyping. It features multiple inheritance, data abstraction, advanced built-in datatypes, such as associative arrays, dynamic arrays and multi-sets, and high-level character string and array operations.

The following documents describe the language:

µLPC Tutorial
µLPC Language Reference Manual
The Design and Implementation of µLPC

µLPC Tutorial

This is an introduction to programming in the µLPC language. Some previous programming experience is required.
Hello world
Variables and Loops
Strings
Arrays
Using files
Objects and Inheritance
Spinner
Appendix A: Where and how to get µLPC
Appendix B: How to Install the µLPC Distribution

µLPC Language Reference Manual

This document describes the details of the µLPC programming language, in a somewhat semi-cryptic way.
Introduction
Lexical Conventions
Syntax Notation
Identifiers
Objects and Lvalues
Type conversion
Expressions
Declarations
Statements
External Declarations
Scope and Binding
Preprocessor
Grammar
Standard Library

The Design and Implementation of µLPC

This document describes the inner workings of the µLPC implementation, and some of the design decisions we have made. This can be interesting if you are into computer science, if you have found strange behavior, or if you want to add your own modules in C that become part of the µLPC language.
Overview
Adding Modules to µLPC
Some Design Decisions