• VS Code Theme: From Handwritten JSON to Publishing

    #VSCode#Theme#Engineering

    Learn how to create, configure, and publish your own VS Code theme from scratch, without any scaffolding.

  • LLM Narrative Engines, Part 2: Quick Start — Write Your First Contract

    #Go#LLM#DSL

    Write your first .meph contract from scratch, compile it, run it, and watch the LLM generate narrative that follows rules you just wrote. No prior knowledge required.

  • Building a Lexer from Scratch (Part 3): Moving the Pointer and Starting the Lexer Conveyor Belt

    #Go#Compiler

    Implement the core lexer engine: move the cursor pointer, query the symbol table, and slice a text string into a structured stream of tokens.

  • Building a Lexer from Scratch (Part 2): Managing Every Symbol with a Single Table

    #Go#Compiler

    Avoid a wall of switch-cases in your lexer: introduce a symbol map (symbolMap) to manage every symbol in one table, with built-in bilingual (Chinese/English) support and a data-driven design.

  • Building a Lexer from Scratch (Part 1): Token — the Smallest Unit a Computer Can Understand

    #Go#Engineering

    Starting from the pain point that computers cannot understand text, learn what a Token is, define your first Token struct in Go, and take the first step toward a lexer.

  • VitePress + vitepress-theme-demoblock 3.x 配置指南

    #Vue#Engineering
    Chinese

    详解 demoblock 3.x 的配置原理、踩坑记录和最佳实践,补充官方文档缺失的「连接逻辑」。

  • Nuxt 集成 RSS 服务完全指南:从模块到手写的优雅之路

    #Nuxt#SEO
    Chinese

    手把手教你绕过第三方模块的坑,亲手构建完全可控的 RSS/Atom/JSON Feed 服务。

  • Nuxt 图片引用:<NuxtImg> 替代原生 <img> 的一次实践

    #Nuxt#Image Optimization#Performance
    Chinese

    介绍了为什么在 Nuxt 项目中,永远优先使用 <NuxtImg> 而不是原生 <img>。

  • Nuxt 4 中安全实现状态持久化:根治水合失败指南

    #Nuxt#State Management#Hydration#Performance
    Chinese

    介绍 Nuxt 4 中安全实现状态持久化的原理,以及如何用 useLocalStorage 解决 Nuxt 4 的 SSR 水合失败问题。

  • Nuxt 4 博客 Sitemap 配置完整指南

    #Nuxt#SEO#Engineering
    Chinese

    介绍了 Nuxt 4 博客 Sitemap 配置的基础知识、静态 Sitemap 和动态 Sitemap 的实现方法,并提供了生产环境部署要点。

  • Per page
    itemsFound 13 documents