Skip to content

docs: pipeline page, the seven stages of the compiler - #52

Merged
Solype merged 1 commit into
mainfrom
docs/pipeline-page
Nov 8, 2026
Merged

Solype merged 1 commit into
mainfrom
docs/pipeline-page

Conversation

@Solype

@Solype Solype commented Nov 8, 2026

Copy link
Copy Markdown
Owner

What changed

docs/pipeline.html: a page in French that walks through the seven stages of the compiler (lexer, pre-parser, LR(1) parser, post-parser, converter, codegen, x86-64 encoder and ELF writer). Each stage gives its input and output, what it does, where it lives, its errors, and the real output of the compiler on 합은 3과 4를 더한 값이에요. from a small demo.kr.

It has no front matter, so Jekyll copies it as is, outside the Cayman theme. Once merged, GitHub Pages serves it at https://solype.github.io/Krc/pipeline.html, next to the existing pages.

How it was tested

  • Only a new file under docs/: no Rust code changes.
  • The AST, the IR and the disassembly on the page come from the release compiler on demo.kr (November 8, 2026). The tokens of stages 1 and 2 are rebuilt from the code and the tests of the lexer and the pre-parser, as the footer of the page says.

Use of AI

Claude Code wrote the page from the source code and the compiler output, made the commit and opened this pull request.

A standalone page (no front matter, so Jekyll copies it as is), served at
/Krc/pipeline.html: lexer, pre-parser, LR(1) parser, post-parser,
converter, codegen and the x86-64 encoder with the ELF writer, each with
the real output of the compiler on one line of demo.kr.
@Solype
Solype merged commit a300475 into main Nov 8, 2026
1 check passed
@Solype
Solype deleted the docs/pipeline-page branch November 8, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant