Create a small Racket language with a reader and macros

8 steps · about 3 h 50 min · Intermediate

  1. Orient yourself in Racket (guide, Racket Guide, 20 min)

    This establishes the concepts the later implementation relies on.

  2. Build behavior from functions (guide, Racket Guide, 30 min)

    This adds the next capability while keeping the design explicit.

  3. Represent parsed forms (guide, Racket Guide, 40 min)

    This step turns the concept into a checkable part of the finished program.

  4. Separate language components (guide, Racket Guide, 20 min)

    This establishes the concepts the later implementation relies on.

  5. Transform syntax with macros (guide, Racket Guide, 30 min)

    This adds the next capability while keeping the design explicit.

  6. Work with syntax objects (guide, Racket Guide, 40 min)

    This step turns the concept into a checkable part of the finished program.

  7. Define reader-level notation (guide, Racket Guide, 20 min)

    This establishes the concepts the later implementation relies on.

  8. Package a language for use (reference, Racket Guide, 30 min)

    This adds the next capability while keeping the design explicit.