<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Parser on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/parser/</link><description>Recent content in Parser 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/parser/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: Markdown to AST Transformation with `pulldown-cmark`</title><link>https://ai-blog.noorshomelab.dev/stellar-gen-guide/chapter-04-markdown-ast/</link><pubDate>Mon, 02 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/stellar-gen-guide/chapter-04-markdown-ast/</guid><description>&lt;h2 id="chapter-4-markdown-to-ast-transformation-with-pulldown-cmark"&gt;Chapter 4: Markdown to AST Transformation with &lt;code&gt;pulldown-cmark&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;Welcome to Chapter 4 of our journey to build a high-performance Rust-based Static Site Generator. In the previous chapter, we established our project structure and successfully parsed frontmatter from content files. Now, with the metadata extracted, the next logical step is to process the main body of our content: the Markdown.&lt;/p&gt;
&lt;p&gt;This chapter will guide you through transforming raw Markdown text into a structured Abstract Syntax Tree (AST) using the powerful and highly optimized &lt;code&gt;pulldown-cmark&lt;/code&gt; library. Understanding and manipulating the AST is fundamental to modern SSGs, as it allows us to do much more than just convert Markdown to HTML. With an AST, we can implement features like custom components, internal linking, table of contents generation, and even partial hydration, which will be covered in subsequent chapters.&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>