Home /Modules/idea/README.md

README.md

idea/README.md · 58 line(s) · markdown

Idea System(TM) — native core (C / C++)

From Author; distributive.

Special native code the Standard SLeeLa VM may need to implement that is not originally Sleela. The Sleela "Sleela runnable" lives in ../lib/idea/; this directory is its C/C++ engine.

Files

FileRole
idea_system.hPublic C ABI (extern "C"): System/State model, signal input, Series engine, organization scheme.
idea_system.cC implementation of the core. No network I/O (the fetcher is pluggable).
idea_system.hppC++ facade: RAII idea::System + idea::SeriesRunner driver.
idea_main.cppReference driver demonstrating the full narrative end to end.
MakefileBuild the static C core and the demo driver.

Build & run

make        # build the demo driver -> build/idea-system
make lib    # build just the static C core -> build/libideasystem.a
make run    # build and run the demo
make clean

Builds clean under -std=c11 / -std=c++17 with -Wall -Wextra -Wpedantic.

Model

The C core is the single source of truth; the C++ facade and the Sleela native bridge both link against it.


SLeeLa

<p align="center"><img src="images/sleela/sleela-wordmark.svg" alt="SLeeLa — The Now. The Ingredient." width="560"></p> <p align="center"><img src="https://github.com/mearvk/SLeeLa/blob/master/images/sleela-programming-language-002.jpg" alt="SLeeLa Marketing Logo" width="560"></p>