Changelog: CHANGELOG.md
Coregen is a C++ tool that automates bridge generation for the CoreCDTL runtime, enabling plugins and external applications to connect seamlessly in C, C++, or Python.
It takes CoreCDTL's compiled binaries and libraries, prepares the target project, and generates the appropriate bridge code for the chosen language.
- Cross-Language Bridge Generation – Supports
C
,C++
, andPython
. - Automatic Runtime Integration – Copies CoreCDTL bin/lib files into the target project.
- Plugin Connectivity – Ensures plugin bridges are correctly linked to the main runtime.
- Easy CLI Usage – Single command to generate all required files and bridges.
- C
- C++
- Python
- Build
coregen
using your preferred C++ compiler. - Run from the command line:
coregen <target_path> <lang>
This will:
- Prepare the
CoreCDTL
directory in your target project, creating the required folder structure. - Copy necessary binaries and libraries from the CoreCDTL runtime into the target project.
- Generate the language-specific bridge code (
C
,C++
, orPython
) to interface with CoreCDTL and its plugins. - Link plugin bridges automatically so your application can communicate with the CoreCDTL runtime seamlessly.
Unsupported languages will trigger an error message and stop execution.
Coregen executes a series of well-defined steps to integrate the CoreCDTL runtime into your target project:
- Validate Target Path –
validate_path(target_path)
ensures the specified project path exists and is writable. - Prepare CoreCDTL Directory –
prepare_corecdtl_dir(target_path)
creates the necessaryCoreCDTL
folder structure within your project. - Move Required Files –
move_required_files(target_path, core_path)
copies CoreCDTL binaries and libraries into the target project. - Generate Language Bridge –
generate_<lang>(corecdtl_dir)
produces the bridge code for the chosen language (C
,C++
, orPython
).
Unsupported languages will trigger an error message and stop execution.
Coregen follows the same contribution standards as CoreCDTL. To ensure quality and consistency:
- Follow the CONTRIBUTING.md guide for coding standards, testing, and pull request procedures.
- All contributions must include proper unit tests if applicable.
- Maintain adherence to the Zero-Leak Rule and formatting standards.
Coregen is released under a Non-Commercial Open Source License, consistent with the CoreCDTL ecosystem.
- Free to use, modify, and share for non-commercial purposes.
- Commercial usage is not permitted without explicit permission.
For full details, see LICENSE.md.
This project is currently in Beta. Expect frequent updates, API changes, and enhancements as the project evolves.