Measures Concepts
GitHub icon

Lite-C

Lite-C - Programming language

< >

Lite-C is an open source programming language created in 2007.

#1571on PLDB 17Years Old

Lite-C is a programming language for multimedia applications and personal computer games, using a syntax subset of the C language with some elements of the C++ language. Its main difference to C is the native implementation of multimedia and computer game related objects like sounds, images, movies, GUI elements, 2D and 3D models, collision detection and rigid body physics. Lite-C executables are compiled instead of interpreted. Read more on Wikipedia...


Example from Wikipedia:
void main() { level_load(""); // open an empty level. you can use NULL instead of "" ENTITY* sphere = ent_create("sphere.mdl",vector(0,0,0),NULL); // create sphere model at position (0,0,0) while(1) { sphere->pan += 1; // rotate the sphere with 1 degree per frame wait(1); // wait one frame } }

Language features

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

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout