<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AST on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/ast/</link><description>Recent content in AST on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 17 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/ast/index.xml" rel="self" type="application/rss+xml"/><item><title>Chapter 3: Crafting the Parser: Building the Abstract Syntax Tree (AST)</title><link>https://ai-blog.noorshomelab.dev/mermaid-lint-guide/chapter-3-crafting-the-parser/</link><pubDate>Tue, 17 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/mermaid-lint-guide/chapter-3-crafting-the-parser/</guid><description>&lt;h2 id="chapter-3-crafting-the-parser-building-the-abstract-syntax-tree-ast"&gt;Chapter 3: Crafting the Parser: Building the Abstract Syntax Tree (AST)&lt;/h2&gt;
&lt;p&gt;Welcome to Chapter 3 of our journey to build a robust Mermaid analyzer! In the previous chapter, we successfully laid the foundation with our lexer, transforming raw Mermaid code into a stream of meaningful tokens. This chapter marks a significant leap forward as we tackle the next crucial phase of our compiler pipeline: &lt;strong&gt;parsing&lt;/strong&gt;. Here, we will take the tokens generated by the lexer and construct a strongly typed Abstract Syntax Tree (AST).&lt;/p&gt;</description></item><item><title>Chapter 4: The Core AST: Representing Mermaid Structures in Rust</title><link>https://ai-blog.noorshomelab.dev/mermaid-lint-guide/chapter-4-the-core-ast/</link><pubDate>Tue, 17 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/mermaid-lint-guide/chapter-4-the-core-ast/</guid><description>&lt;h2 id="chapter-4-the-core-ast-representing-mermaid-structures-in-rust"&gt;Chapter 4: The Core AST: Representing Mermaid Structures in Rust&lt;/h2&gt;
&lt;p&gt;Welcome to Chapter 4 of our journey to build a production-grade Mermaid analyzer and fixer! In the previous chapter, we laid the groundwork by creating a robust lexer that converts raw Mermaid text into a stream of meaningful tokens. Now, it&amp;rsquo;s time to elevate our understanding of the Mermaid structure by transforming these tokens into a rich, strongly typed Abstract Syntax Tree (AST).&lt;/p&gt;</description></item><item><title>Chapter 5: Strict Validation Layer: Detecting Syntax and Semantic Errors</title><link>https://ai-blog.noorshomelab.dev/mermaid-lint-guide/chapter-5-strict-validation-layer/</link><pubDate>Tue, 17 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/mermaid-lint-guide/chapter-5-strict-validation-layer/</guid><description>&lt;h2 id="chapter-5-strict-validation-layer-detecting-syntax-and-semantic-errors"&gt;Chapter 5: Strict Validation Layer: Detecting Syntax and Semantic Errors&lt;/h2&gt;
&lt;p&gt;Welcome to Chapter 5 of our journey to build a production-grade Mermaid analyzer and fixer. In the previous chapters, we successfully developed a robust lexer to tokenize Mermaid input and a sophisticated parser to transform those tokens into a strongly typed Abstract Syntax Tree (AST). With the raw structure of the Mermaid diagram now represented in a programmatic form, it&amp;rsquo;s time to introduce the critical next phase: the &lt;strong&gt;Strict Validation Layer&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Chapter 9: Advanced Parsing &amp;amp; Edge Cases: Nested Structures and Complexities</title><link>https://ai-blog.noorshomelab.dev/mermaid-lint-guide/chapter-9-advanced-parsing-edge-cases/</link><pubDate>Tue, 17 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/mermaid-lint-guide/chapter-9-advanced-parsing-edge-cases/</guid><description>&lt;h2 id="chapter-9-advanced-parsing--edge-cases-nested-structures-and-complexities"&gt;Chapter 9: Advanced Parsing &amp;amp; Edge Cases: Nested Structures and Complexities&lt;/h2&gt;
&lt;h3 id="chapter-introduction"&gt;Chapter Introduction&lt;/h3&gt;
&lt;p&gt;Welcome to Chapter 9 of our journey to build a robust Mermaid analyzer and fixer in Rust! In the previous chapters, we laid the foundational blocks of our parser, successfully tokenizing and building an Abstract Syntax Tree (AST) for basic Mermaid structures like simple nodes and edges. However, real-world Mermaid diagrams often involve more intricate constructs, such as nested subgraphs, multiline labels, escaped characters, and inline comments. These elements introduce significant complexity to our parsing logic and demand careful consideration to ensure strict adherence to the Mermaid specification.&lt;/p&gt;</description></item></channel></rss>