How compiler macro plugins (html_cbi, css_cbi, js_cbi, universal_cbi, json_cbi, md_cbi) turn Chemical source into generated code — page-buffer emission, SSR server functions, hydration dispatches, styled components, and the ASTBuilder API they use.
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新
The Chemical compiler's MIR (mid-level IR) lowering path — architecture, current status (C and LLVM suites green, legacy 2c deleted), the AST→MIR lowering and per-backend emission pipeline, the coroutine/async lowering, type-spelling rules, destructor/move semantics via drop flags, and the hard-won codegen gotchas. Also carries the post-migration evaluation (measured compile-time/memory/generated-code/binary-size regressions) and the consolidation+performance action plan needed for the JVM/JS backends. Load before touching compiler/mir/*, compiler/CodegenMir.cpp, compiler/async/*, ASTProcessor MIR integration, or debugging generated C.
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新
Comprehensive guide to the Chemical module and import resolution system — how chemical.mod packages map to build.lab jobs, how local/package/remote/conditional imports become module dependencies, remote git import download and version pinning, link libraries, and the per-module AST records that flow through compilation. Load when working on import resolution, chemical.mod conversion, remote imports, the dependency graph, or module metadata.
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新
Comprehensive guide to the Chemical compiler's name mangling subsystem — how declarations get unique runtime symbol names, how scoped prefixes, module/package prefixes, generic instantiation suffixes, `@extern`/`@no_mangle`, interface/impl methods and vtables are mangled, and how the LLVM and C backends consume the result. Load when working on symbol naming, generic instantiation suffixes, C interop, vtable naming, or adding a new declaration kind that has a runtime footprint.
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新
Comprehensive guide to the Chemical recursive descent parser — how Chemical source code is parsed into AST nodes.
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新
Comprehensive guide to performance optimization patterns in the Chemical compiler — arena allocation, string handling, parallelization, caching, memory layout, profiling, and anti-patterns.
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新
How to use the Chemical universal router (server-rendered, lazy-hydrating, id-based routes with an opt-in URL layer) and how it is built — the lexer/parser/converter/runtime pipeline, the `RouterLink`/`NavLink`/`Outlet` components, the node/plugin test suites, and the maintenance rule that this skill must be updated with every router change. Load before writing router app code, changing `lang/libs/router`, `lang/libs/page`'s router support, or `universal_cbi`'s router emission.
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新
How the Chemical safety system is implemented and tested — the full-parity plan, stable SAFE-* diagnostics, report→migrate→enforce workflow, safety test suites, and current implementation status. Load before implementing or reviewing any safety rule, borrow-checker change, or unsafe-boundary check.
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新
Comprehensive guide to the Chemical compiler's symbol resolution pipeline — how symbols are declared, linked, and resolved across files, modules, and generic instantiations. Critical for stabilizing and optimizing the symres module.
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新
Comprehensive guide to the Chemical compiler test infrastructure — how tests are organized, written, and executed. Covers the test framework, @test annotation dispatch, test_env/test libraries, streaming and combining multiple test runners (test_report, MultiTestRunner), and how compiler plugins get tested via lang/tests/build.lab.
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新
Comprehensive guide to transformer jobs and the transformer pipeline in the Chemical compiler — how a `transformer_main` CBI is registered, how the target module is parsed/analyzed on demand via TransformerContext, the full CBI symbol surface, and how this differs from normal compilation and macro plugins. Load when writing a source-to-source transformer (like refgen), debugging `chemical run <transformer> <target>`, or extending TransformerContext.
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新
Comprehensive guide to the Chemical type verification pass — how types are verified after symbol resolution, before codegen.
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新
How to write and run
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新
Diagnose, fix, and implement features in the Chemical universal component pipeline. Use when working on `#universal` components, `universal_cbi`, generated SSR/hydration output, `HtmlPage` runtime behavior, or bugs where compiled HTML/CSS/JS disagree with source components.
日本語の概要は準備中です。原文の説明を表示しています。
chemicallang/chemical☆ 312026年10月26日 更新