Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Lite-C

< >

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

#1411on PLDB 17Years Old
Homepage · Wikipedia

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 Example Token
Comments ✓ // A comment
Line Comments ✓ // A comment //
Semantic Indentation X
- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll