gram/docs/technical
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-10 13:53:24 -10:00
..
01_parsing_architecture.md docs: Big docs reorganization + multiple error corrections 2026-01-06 21:12:24 +01:00
02_json_output.md fix: handle empty ingredient masses as zero and improve undefined mass checks in compiler metrics 2026-05-10 13:16:59 -10:00
03_ingredient_database.md docs: update experimental feature documentation, add French unit support, and refine JSON output schema details 2026-05-10 12:38:44 -10:00
04_compiler_options.md docs: add technical documentation for compiler options and ingredient database 2026-05-10 13:53:24 -10:00
README.md docs: add technical documentation for compiler options and ingredient database 2026-05-10 13:53:24 -10:00

Technical Documentation

This directory contains internal documentation intended for developers contributing to the GRAM language compiler or building tools on top of it.

Contents

  • Parsing Architecture

    • Detailed breakdown of the 3-stage pipeline: Parsing (OhmJS), AST Generation, and Compilation.
    • Explanation of section scopes, stack logic, and the central registry.
  • JSON Output Schema

    • Reference guide for the JSON structure generated by the compiler.
    • Useful for frontend developers displaying recipes.
  • Ingredient database

    • Reference guide for the ingredient database.
    • Details on how the database is structured and used by the compiler.
  • Compiler Options

    • Configuration guide for enabling/disabling experimental features.
    • Details on feature gating and pruning logic.