bitcoinbrisbane / bitcoinbrisbane/Book

Write Chapter 8 (Writing a Compiler) body pages

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
TeX
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The chapter currently has only an introduction page (`chapter-08-writing-a-compiler/01_introduction.md`). The intro promises one page per compiler stage; these need to be written:

- [ ] Lexing — source text into tokens
- [ ] Parsing — tokens into an AST
- [ ] Semantic analysis — type-checking, name resolution, validation
- [ ] Intermediate representation
- [ ] Code generation — bytecode / target language / interpreter input
- [ ] Runtime / VM

Worked examples should be drawn from CardLang (Chapter 7).

Tracked in TODO.md.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with chapter-08-writing-a-compiler/01_introduction.md and review the CardLang material from Chapter 7 for worked examples. Write the six promised pages covering each listed compiler stage, then update TODO.md and confirm the chapter has a complete, coherent explanation with examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
compilers, documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.