LIBCMT - A cross platform embedded DSL for C Language
LIBCMT is a small cross-platform, header-only DSL implemented through macros, providing standardized higher-level constructs for the C language.
TL;DR: A header-only macro-based DSL for C that provides higher-level constructs (OOP-style objects, try-catch blocks, inline-assembly helpers, etc.) using portable and architecture-specific preprocessor expansions.
It includes many components, so refer to the project documentation for the full list: https://github.com/TeomanDeniz/LIBCMT
Tested as far back as GCC 3.2 on Windows 2000. Planned support includes additional legacy platforms such as TRS-OS and OS/2.
I'm aware the documentation needs improvement and will expand it. For now, I'm looking for syntax ideas and architecture/compiler details to help extend the library to more platforms. Critical feedbacks are welcome.
Here's a short example demonstrating several of the provided features:
Your main script will look like that:
GitHub
GitHub - TeomanDeniz/LIBCMT: LIBCMT - A group of tools that you can...
LIBCMT - A group of tools that you can use with all the features that the C programming language should have, within standard libraries, based on all compilers, CPUs, and operating systems. - Teoma...
0 Replies