|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
A minimal end-to-end build, install, and link.
| Requirement | Minimum | Notes |
|---|---|---|
| CMake | 3.16 | ctest --test-dir below needs 3.20. |
| C++ compiler | libstdc++ from GCC 11, or libc++ 14 | C++17 with floating-point std::to_chars. |
| Eigen | 3.3+ | Optional — fetched automatically via FetchContent if no system install is found. |
All configured tests should pass. The suite includes integration, ABI, timeframe, broker, and continuous-stream lifecycle coverage.
This installs:
lib/libpineforge.a — the static runtime (kernel + Pine adapter)lib/libpineforge_kernel.a — the kernel alone (PineForge::kernel)include/pineforge/*.hpp — the C++ headers: the kernel / native API (native_host.hpp, native_run_spec.hpp, native_order.hpp, native_toolkit.hpp) and internal ones; source/ and compat/pine/ hold the Pine adapter'sinclude/pineforge/pineforge.h — the public C ABI, with native_c_api.h (the C native-host API it includes)include/pineforge/version.h — generated version macroslib/cmake/PineForge/PineForge{Config,Targets,ConfigVersion}.cmakeAfter install, downstream CMake projects can pick the runtime up with a single find_package(PineForge) call — see CMake integration.
Compile and run:
That's it — you have a working install. Next steps: