enma-lang
Enma language and embedding SDK reference: syntax, types, functions, pointers, classes, inheritance, templates, exceptions, modules, compiler semantics, native type/function registration, safety, and
SKILL.mdskills/enma-lang/SKILL.md
GitHubEnma Language
Authoritative local snapshot of https://docs.perception.cx/perception/enma-lang.
Workflow
- Read references/INDEX.md, then open only the language, SDK, or addon pages needed.
- Search exact syntax and signatures locally before coding; Enma resembles C++ but is not interchangeable with it.
- Distinguish script-language code from C++ host SDK code. State which side a snippet targets when it is not obvious.
- Check
references/language-guide/semantics-and-limits.mdbefore assuming a C++ feature exists. - For embedding work, begin with
references/sdk-guide/quick-start.md, then consult the focused SDK page and API reference. - For library calls, consult the relevant page under
references/addons/; do not infer APIs from C++ STL names.
Reference routing
- Syntax and control flow:
references/language-guide/basics.md - Functions, lambdas, references, variadics:
references/language-guide/functions.md - Pointers and allocation:
references/language-guide/pointers.md - Types, layout, operators:
references/language-guide/structs-and-classes.md,references/language-guide/operators.md - Inheritance/interfaces/access:
references/language-guide/inheritance.md - Templates and compile-time behavior:
references/language-guide/templates.md,references/language-guide/compile-time.md - Exceptions, annotations, builtins:
references/language-guide/exceptions.md,references/language-guide/annotations.md,references/language-guide/builtin-instructions.md - Modules and preprocessing:
references/language-guide/modules.md,references/language-guide/pre-processor.md - Embedding and registration:
references/sdk-guide/ - Core and standard libraries:
references/addons/
Boundaries
This skill covers Enma itself and its embedding SDK/addons. For APIs that Perception.cx registers for process memory, drawing, GUI, input, networking, Windows interaction, emulation, or disassembly, load the perception-api skill.