Skip to content
nguyenhungtran18 edited this page Sep 8, 2026 · 1 revision

Welcome to the TokenVector wiki!

Welcome to the TokenVector Documentation

TokenVector (.tkv) is an ultra-lightweight, typed domain-specific language designed to translate Python-like syntax directly into native .NET Intermediate Language (CIL/MSIL) assembly text, assembled via ilasm.exe.


📚 Documentation Index

  1. Architecture & Pipeline

    • Source lexing & deterministic AST generation.
    • Type inference and validation rules.
    • CIL instruction emitter backend.
    • Assembly process using native ilasm.exe.
  2. Language Specification (.tkv)

    • Primitive data types and memory layout.
    • Control flow constructs (if, while, loops).
    • Function declarations, signatures, and calling conventions.
    • Direct P/Invoke and Win32 API interoperability.
  3. Compiler Toolchain & CLI

    • Installation and system requirements.
    • Compiler invocation flags and options.
    • Debugging emitted .il assembly output.
  4. Ecosystem & Projects

    • TokenVector Media Downloader: Zero-dependency standalone utility.
    • Standard runtime library modules.

🚀 Quick Navigation

Clone this wiki locally