gram/docs/technical
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-14 13:35:54 +02:00
..
01_parsing_architecture.md feat: Exclude ingredient references without quantities from section ingredients summaries. 2026-06-07 18:30:23 +02:00
02_json_output.md refactor: extract analyzer logic into its own package and remove legacy ingredient data files 2026-06-07 13:31:15 +02:00
03_ingredient_database.md docs: add development environment guide and sync database documentation with new schema 2026-06-14 13:29:40 +02:00
04_options.md refactor: extract analyzer logic into its own package and remove legacy ingredient data files 2026-06-07 13:31:15 +02:00
05_development_environment.md docs: add some missing informations about renderer package 2026-06-14 13:35:54 +02: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.