Skip to content
Leonard Ramminger edited this page Aug 31, 2026 · 2 revisions

prebyte-engine Wiki

prebyte-engine is the C++23 templating core behind Prebyte: parser, compiler, renderer, Lua sandbox, and embed APIs (C++ and C).

Use the Prebyte CLI wiki for installation, commands, and packaging.

Pages

Language

  1. Template Syntax
  2. Builtins
  3. Functions
  4. Lua
  5. Rules and Settings
  6. Examples

Library

  1. C++ API
  2. C API
  3. Architecture
  4. Building

Quick example

#include "PrebyteEngine.h"

prebyte::Prebyte engine;
engine.set_variable("name", "Ada");
std::string output = engine.process("Hello {{ name }}\n");
{{ fn greet(name) }}Hello {{ name }} from {{ __OS__ }}{{ endfn }}
{{ greet("Ada") }}

Clone this wiki locally