Lightweight C++

From Free Software Directory
Revision as of 10:33, 19 July 2019 by Minall (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Lightweight C++
Lightweight programming language similar to C++

'lwc' is a programming language that looks like C++ and is directly translated to readable C code. It supports function overloading, member functions, inheritance, polymorphism (virtual functions), multiple inheritance, virtual inheritance and pure virtual functions, constructors/destructors, new/delete, and simplistic templates. By studying the generated C code it is easy to understand how OOP features are implemented and what is the cost of everything. Adding new features and extensions is also very easy (much easier than adding new C++ extensions to gcc at least).



Verified by

Verified on


Verified by

Janet Casey

Verified on

24 September 2003

Leaders and contributors

Stelios Xanthakis Maintainer

Resources and communication

AudienceResource typeURI
Bug Tracking,Developer,

Software prerequisites

Required to buildcompiler with support for: C99 designators
Required to buildcompound statements in expressions and typeof (gcc 3.x has these)


Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.