You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+54-25Lines changed: 54 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
6
6
7
7
**F# Advent 2025 blog post project** demonstrating Fable.Python capabilities.
8
8
9
-
**Fabletext** is a literate programming converter (inspired by jupytext) written in F# that transpiles to Python via Fable.Python. It processes `.fs` files with embedded Markdown comments (FSharp.Formatting conventions) and outputs GitHub-flavored Markdown suitable for publishing on platforms like Hashnode.
9
+
**Fable.Literate** is a literate programming converter (inspired by jupytext) written in F# that transpiles to Python via Fable.Python. It processes `.fs` files with embedded Markdown comments (FSharp.Formatting conventions) and outputs GitHub-flavored Markdown suitable for publishing on platforms like Hashnode.
10
10
11
11
**Key concept:** The project is self-documenting - the chapters and converter generate the blog post that documents how they work.
12
12
@@ -19,57 +19,86 @@ just build # Build all chapters and tools to Python
19
19
just generate # Generate individual markdown docs from chapters
20
20
just blogpost # Generate concatenated blogpost.md for publishing
21
21
just format # Format Python with ruff
22
-
just lint # Lint Python (ruff) and Markdown (markdownlint)
22
+
just lint # Lint Markdown (markdownlint)
23
23
just watch # Watch mode for development
24
24
just clean # Clean generated files
25
25
just all # Full pipeline: restore, build, generate, format, lint
26
26
```
27
27
28
28
## Architecture
29
29
30
-
### Fabletext Parser State Machine
30
+
### Fable.Literate AST Pipeline
31
31
32
-
The converter uses a line-by-line state machine with three states:
32
+
The converter follows a compiler-like architecture with three phases:
0 commit comments