Tagged articles
152 articles
Page 1 of 2
DeepHub IMBA
DeepHub IMBA
Apr 26, 2026 · Artificial Intelligence

Graphify: Building Codebase Knowledge Graphs to Replace Vector Retrieval

Graphify is a Python tool that parses codebases into a searchable knowledge graph, eliminating the need for costly vector retrieval by traversing explicit entity‑relationship graphs, achieving up to 71.5× token reduction, supporting AST extraction, optional local audio transcription, and AI‑driven semantic extraction with confidence labeling.

ASTClaude CodeLLM
0 likes · 14 min read
Graphify: Building Codebase Knowledge Graphs to Replace Vector Retrieval
Sohu Tech Products
Sohu Tech Products
Apr 22, 2026 · Artificial Intelligence

Practicing an AST‑Driven MCP Code Context Service for AI Code Review

The article describes how an AST‑based code‑context service, wrapped by an MCP middleware and built with Spring AI and Eclipse JDT, supplies structured Java code information to large models, addressing the context gaps of diff‑only AI code review and improving accuracy through concrete examples and evaluation.

AI code reviewASTEclipse JDT
0 likes · 16 min read
Practicing an AST‑Driven MCP Code Context Service for AI Code Review
Youzan Coder
Youzan Coder
Jan 6, 2026 · Artificial Intelligence

How to Build Efficient Code Search with Vector Embeddings and AST Indexing

This article explains the motivations, techniques, and practical implementations of code indexing—covering semantic vector‑based RAG pipelines and AST‑based structural analysis—to improve code navigation, AI‑assisted queries, security scanning, and development efficiency.

AI DevelopmentASTRAG
0 likes · 17 min read
How to Build Efficient Code Search with Vector Embeddings and AST Indexing
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 4, 2025 · Backend Development

Unlock Java Code Analysis with Spoon: Real‑World Spring Boot 3 Cases

This article introduces the open‑source Spoon library for Java source‑code analysis and transformation, demonstrates how to integrate it with Spring Boot 3, and provides step‑by‑step examples—including visual AST inspection, empty‑catch detection, architecture rule validation, field usage checks, reflection replacement, and automatic code modifications such as adding fields, constructors, logging, and null‑checks.

ASTSpoonbackend-development
0 likes · 16 min read
Unlock Java Code Analysis with Spoon: Real‑World Spring Boot 3 Cases
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 29, 2025 · Frontend Development

Rebuilding Tailwind‑Merge for Mini‑Program Compatibility: Lessons Learned

The article chronicles the author's deep technical journey of adapting Tailwind‑Merge to work within WeChat mini‑programs, detailing the obstacles posed by illegal class‑name characters, failed compile‑time workarounds, a complete rewrite of the escape utility, and the final release of a robust, configurable merge plugin.

ASTPlugin DevelopmentTailwindCSS
0 likes · 13 min read
Rebuilding Tailwind‑Merge for Mini‑Program Compatibility: Lessons Learned
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Nov 19, 2025 · Big Data

How We Migrated 100k BigQuery SQL Scripts to MaxCompute Using AST and LLM Automation

This article details a real‑world migration of a Southeast Asian tech group’s data warehouse from Google BigQuery to Alibaba Cloud MaxCompute, describing the challenges of converting 100,000 SQL scripts, the AST‑driven and LLM‑assisted automation pipeline, rule‑engine iteration, quality control, and the measurable performance and cost benefits achieved.

ASTBigQueryLLM
0 likes · 12 min read
How We Migrated 100k BigQuery SQL Scripts to MaxCompute Using AST and LLM Automation
AsiaInfo Technology: New Tech Exploration
AsiaInfo Technology: New Tech Exploration
Sep 11, 2025 · Artificial Intelligence

How AST Boosts LLM‑Powered Code Question Answering: Theory, Practice, and Future Directions

This article explores how abstract syntax trees (AST) can enrich large language model (LLM) based code question‑answering by providing precise structural context, detailing LLM strengths and limits, describing AST‑LLM collaboration, RAG integration, cutting‑edge models, practical tooling, challenges, standardisation efforts, and future research avenues.

ASTLLMRAG
0 likes · 30 min read
How AST Boosts LLM‑Powered Code Question Answering: Theory, Practice, and Future Directions
AsiaInfo Technology: New Tech Exploration
AsiaInfo Technology: New Tech Exploration
Sep 8, 2025 · Artificial Intelligence

Unlocking Precise Code Q&A: How ASTs Power AI-Driven Development

With software systems growing ever more complex, traditional text‑based code search falls short; this article explains how abstract syntax trees (AST) provide deeper structural understanding, improve query precision, enable advanced features like control‑flow analysis and knowledge‑graph construction, and outlines a full architecture for building AI‑enhanced code question‑answering systems.

ASTLLMcode question answering
0 likes · 33 min read
Unlocking Precise Code Q&A: How ASTs Power AI-Driven Development
Sohu Tech Products
Sohu Tech Products
Aug 13, 2025 · Fundamentals

How to Track TypeScript API Usage with AST Analysis and Custom Loaders

This article explains how to replace inefficient global searches for third‑party APIs with a TypeScript‑based solution that parses source files into an AST, traverses import declarations, distinguishes import styles, records call counts and line numbers, and overcomes symbol resolution challenges using the TypeScript compiler API.

ASTTypeScriptcode analysis
0 likes · 14 min read
How to Track TypeScript API Usage with AST Analysis and Custom Loaders
FunTester
FunTester
Aug 8, 2025 · Backend Development

How FixrLeak Uses Generative AI to Automatically Fix Java Resource Leaks

FixrLeak combines AST analysis with generative AI to detect and automatically repair Java resource leaks, dramatically reducing manual effort, improving code quality, and demonstrating the transformative potential of AI‑driven solutions in large‑scale software engineering.

ASTcode repairgenerative AI
0 likes · 9 min read
How FixrLeak Uses Generative AI to Automatically Fix Java Resource Leaks
AsiaInfo Technology: New Tech Exploration
AsiaInfo Technology: New Tech Exploration
Aug 8, 2025 · Industry Insights

How CodeRAG Reinvents Large‑Scale Code Repository Knowledge Extraction and Hierarchical Retrieval

CodeRAG leverages AST‑centric parsing and a hierarchical knowledge graph to overcome text‑only retrieval limits in large code repositories, offering multi‑language analysis, incremental parsing, hybrid indexing, and intelligent context selection for tasks such as code completion, Q&A, documentation generation, and impact analysis.

ASTCodeRAGLarge-Scale Repos
0 likes · 15 min read
How CodeRAG Reinvents Large‑Scale Code Repository Knowledge Extraction and Hierarchical Retrieval
phodal
phodal
May 28, 2025 · Artificial Intelligence

Boost Code Retrieval with AutoDev’s Pre‑Generated Context Worker

The article explains how AutoDev’s Context Worker pre‑generates semantic code context to improve RAG performance, outlines the limitations of vector‑based retrieval, describes the tool’s multi‑language AST analysis, knowledge‑graph construction, and provides command‑line usage examples for integrating the generated context into AI‑driven development workflows.

ASTCLICode Context
0 likes · 8 min read
Boost Code Retrieval with AutoDev’s Pre‑Generated Context Worker
大转转FE
大转转FE
Apr 3, 2025 · Frontend Development

Code Impact Range Analysis and Dependency‑Tree Construction for Large Frontend Projects

This article explains how to analyse the impact range of code changes in large frontend projects, describes the architecture and core techniques—including project dependency‑tree building, AST parsing, GitLab diff extraction, and change propagation—provides concrete JavaScript/TypeScript examples, and discusses visualization of the results.

ASTGitLab diffcode analysis
0 likes · 29 min read
Code Impact Range Analysis and Dependency‑Tree Construction for Large Frontend Projects
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 13, 2025 · Backend Development

Master Java Code Analysis with JavaParser: Real‑World Examples

This article introduces JavaParser, an open‑source library for parsing Java source code into an AST, and walks through practical cases covering dependency setup, basic parsing, class and method extraction, code modification, class generation, and comprehensive analysis with code snippets and output screenshots.

ASTJavaParsercode analysis
0 likes · 10 min read
Master Java Code Analysis with JavaParser: Real‑World Examples
大转转FE
大转转FE
Jan 23, 2025 · Frontend Development

How to Measure and Reduce Frontend Cyclomatic Complexity with ESLint

This article explains cyclomatic complexity concepts, industry standards, calculation methods, and how a custom ESLint rule can be used to assess both single‑function and nested‑function complexity in front‑end projects, including scoring thresholds and practical implementation details.

ASTESLintcode quality
0 likes · 19 min read
How to Measure and Reduce Frontend Cyclomatic Complexity with ESLint
DeWu Technology
DeWu Technology
Nov 11, 2024 · Backend Development

Precise Testing Platform: Architecture, Recommendation Engine, and Graph Database Implementation

The Precise Testing Platform combines a recommendation engine—featuring a link analyzer, diff analyzer, and knowledge base—to automatically construct detailed method‑call graphs from source code, extract HTTP and Dubbo APIs, handle reflections and inheritance, and store billions of nodes in Nebula Graph, thereby eliminating blind, missed, and redundant tests while boosting coverage and reducing testing costs.

ASTGraph DatabaseReflection
0 likes · 54 min read
Precise Testing Platform: Architecture, Recommendation Engine, and Graph Database Implementation
Bilibili Tech
Bilibili Tech
Oct 15, 2024 · Frontend Development

AST‑Based Visual Programming for Vue SFC: Design, Implementation, and Demo

By binding a Vue single‑file component’s AST to a visual UI, this project parses templates with node‑html‑parser, transforms scripts via Babel, and processes styles with standard loaders, allowing developers to edit component properties visually, automatically regenerate synchronized source code, and preview changes, with a prototype demo and planned drag‑and‑drop, styling, state, AI, and CI/CD extensions.

ASTVisual ProgrammingVue
0 likes · 10 min read
AST‑Based Visual Programming for Vue SFC: Design, Implementation, and Demo
vivo Internet Technology
vivo Internet Technology
Sep 25, 2024 · Frontend Development

Automated AST-Based Code Migration for Vue Front‑End Projects

To simplify large‑scale Vue upgrades such as Vue 2→Vue 3, Webpack 4→Webpack 5, or migration to Vite, the author presents an automated AST‑based migration scaffold that parses JavaScript, Vue, and style files, applies transformation rules with GoGoCode and PostCSS, and rewrites code, reducing manual effort and error risk.

ASTJavaScriptVue
0 likes · 20 min read
Automated AST-Based Code Migration for Vue Front‑End Projects
Java Tech Enthusiast
Java Tech Enthusiast
Sep 15, 2024 · Fundamentals

How Source Code Is Transformed into Machine Instructions

A compiler transforms source code into executable machine instructions by first tokenizing the text into keywords, identifiers and literals, then parsing these tokens into an abstract syntax tree, generating and optimizing intermediate code, and finally assembling and linking the output for the target architecture or LLVM IR.

ASTLLVMMachine Code
0 likes · 4 min read
How Source Code Is Transformed into Machine Instructions
Goodme Frontend Team
Goodme Frontend Team
Sep 9, 2024 · Fundamentals

How JavaScript Parsers Turn Code into ASTs: Lexical & Syntax Basics

This article explains how JavaScript parsers transform source code strings into abstract syntax trees through lexical analysis and syntax parsing, covering language types, V8’s execution flow, token generation, AST construction, and practical examples, while also linking to tools like AST Explorer for further exploration.

ASTParserSyntax Parsing
0 likes · 10 min read
How JavaScript Parsers Turn Code into ASTs: Lexical & Syntax Basics
Zhuanzhuan Tech
Zhuanzhuan Tech
Jun 19, 2024 · Backend Development

Designing Visual Workflow Orchestration with LiteFlow: From Basic Components to Advanced AST Generation

This article explains how to use the LiteFlow rule‑engine framework to define reusable Java components, express execution flows with EL expressions, design a visual canvas that converts JSON into an abstract syntax tree, generate valid EL code via DFS, and manage workflow updates through push‑pull refresh mechanisms, while also outlining benefits and future plans.

ASTEL expressionLiteFlow
0 likes · 18 min read
Designing Visual Workflow Orchestration with LiteFlow: From Basic Components to Advanced AST Generation
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 14, 2024 · Frontend Development

How Tango’s AST‑Driven Low‑Code Engine Boosts Frontend Productivity

Facing the trade‑off between flexibility and speed in low‑code development, NetEase’s cloud music team built Tango—a source‑code‑based low‑code engine that leverages AST manipulation and the TangoBoot framework to standardize front‑end programming, halve view logic, and unify low‑code with traditional development.

ASTJavaScriptTangoBoot
0 likes · 12 min read
How Tango’s AST‑Driven Low‑Code Engine Boosts Frontend Productivity
JD Tech
JD Tech
May 6, 2024 · Fundamentals

Static and Runtime Code Scanning to Detect Unused Java Methods

This article presents a design and implementation of both static AST‑based scanning and runtime JaCoCo coverage analysis to automatically detect unused (zombie) Java methods, describing the workflow, required dependencies, code snippets, and how to visualize active versus dead code in the IDE.

ASTDead CodeJaCoCo
0 likes · 8 min read
Static and Runtime Code Scanning to Detect Unused Java Methods
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 16, 2024 · Frontend Development

Rax2Taro: Building a Compiler to Convert Rax Components into Taro

This article walks through the design and implementation of a compiler that automatically transforms Rax components into Taro components, covering the background, Babel‑based AST processing, import rewriting, component attribute mapping, project structure, automated end‑to‑end testing, and future enhancements.

ASTComponent ConversionRax
0 likes · 15 min read
Rax2Taro: Building a Compiler to Convert Rax Components into Taro
Open Source Tech Hub
Open Source Tech Hub
Jan 28, 2024 · Backend Development

What’s New in PHP‑Parser 5.0.0? A Deep Dive into Features and Usage

PHP‑Parser 5.0.0 introduces a host of new classes, methods, and parser improvements—including a PhpVersion class, PHP 8 support, enhanced pretty‑printing, and updated node handling—while also deprecating older APIs; the article provides a detailed changelog and a concise usage example for parsing PHP code.

ASTCode ParsingPHP
0 likes · 9 min read
What’s New in PHP‑Parser 5.0.0? A Deep Dive into Features and Usage
Tencent Music Tech Team
Tencent Music Tech Team
Jan 3, 2024 · Frontend Development

Automated Upgrade of Taro Mini‑Program from 1.x to 3.x Using AST

The article describes an AST‑driven command‑line tool that automatically upgrades a Taro 1.x mini‑program to 3.x by updating dependencies, converting imports, restructuring files, consolidating styles, replacing deprecated APIs, and adjusting build settings, offering faster, more reliable migration than the labor‑intensive manual approach.

ASTMini ProgramTaro
0 likes · 9 min read
Automated Upgrade of Taro Mini‑Program from 1.x to 3.x Using AST
DeWu Technology
DeWu Technology
Nov 27, 2023 · Operations

Precise Testing Platform: Practice, Data, and Insights

A precise testing platform built on AST analysis and a recommendation engine was deployed across four core applications, enabling automated test execution with 100% pass rates, at least 75% service coverage, around 80% precision, early defect interception, and up to one hour per‑iteration time savings while planning further expansion and precision improvements.

ASTSoftware qualitycode analysis
0 likes · 11 min read
Precise Testing Platform: Practice, Data, and Insights
Baidu Geek Talk
Baidu Geek Talk
Oct 9, 2023 · Artificial Intelligence

Code Understanding Technology: Building White-Box Software Knowledge Graph at Baidu

Baidu’s white‑box code understanding platform combines static, dynamic, non‑code and LLM‑based analyses in a three‑layer architecture that accelerates C/C++ processing ninefold, supports multiple languages, and powers applications such as intelligent unit testing, orphan‑function cleanup and AI‑driven risk detection, while future integration with models like GPT‑4 aims to enable multi‑turn code Q&A, automated refactoring and predictive testing.

ASTBaiduCode Understanding
0 likes · 15 min read
Code Understanding Technology: Building White-Box Software Knowledge Graph at Baidu
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Oct 8, 2023 · Frontend Development

How Tango’s Open‑Source Low‑Code Engine Redefines Front‑End Development with AST‑Based Visual Builder

This article examines the design and implementation of Tango, an open‑source low‑code engine that leverages ESTree AST standards to enable bidirectional code‑to‑visual‑schema conversion, offering a progressive, source‑code‑driven visual development experience integrated with modern front‑end tooling.

ASTfrontendlow-code
0 likes · 10 min read
How Tango’s Open‑Source Low‑Code Engine Redefines Front‑End Development with AST‑Based Visual Builder
政采云技术
政采云技术
Sep 26, 2023 · Backend Development

Understanding Lombok: Introduction, Compilation Principles, and a Manual @Getter Implementation

This article introduces Lombok, explains how it leverages Java's annotation‑processing (JSR‑269) and abstract syntax tree (AST) modifications to generate boilerplate code at compile time, and provides a step‑by‑step guide to manually implement a @Getter annotation processor with full Maven project examples.

ASTAnnotation ProcessingLombok
0 likes · 21 min read
Understanding Lombok: Introduction, Compilation Principles, and a Manual @Getter Implementation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 26, 2023 · Frontend Development

A Comprehensive Guide to Code Modification (Codemod) Tools and AST Transformations

This article explains the concept of codemod, outlines typical migration scenarios, details a step‑by‑step AST‑based workflow, and compares popular JavaScript code‑mod libraries such as Recast, jscodeshift, gogocode, and ast‑grep, helping developers choose the right tool for automated code upgrades.

ASTGoGoCodeJavaScript
0 likes · 13 min read
A Comprehensive Guide to Code Modification (Codemod) Tools and AST Transformations
Baidu Geek Talk
Baidu Geek Talk
Sep 20, 2023 · Backend Development

How Baidu Cut iOS App Size by Removing Unused Methods with LLVM Libtooling

Baidu reduced the iOS app package by over 350 MB by discarding dead code, replacing unreliable Mach‑O analysis with a source‑level AST approach built on LLVM libtooling and the Swift compiler, and implementing a multi‑layer static‑analysis pipeline that extracts, transforms, stores, and filters method usage data.

ASTLLVMapp size optimization
0 likes · 17 min read
How Baidu Cut iOS App Size by Removing Unused Methods with LLVM Libtooling
Baidu App Technology
Baidu App Technology
Aug 29, 2023 · Mobile Development

iOS App Package Size Optimization: A Technical Approach

To accurately trim iOS app binaries, the article discards low‑precision Mach‑O/LinkMap methods and instead builds a custom compilation pipeline using libtooling and the Swift compiler to analyze full abstract syntax trees, enabling reliable detection of unused methods across complex language features and inheritance hierarchies.

ASTPackage Sizecode analysis
0 likes · 14 min read
iOS App Package Size Optimization: A Technical Approach
Tencent Cloud Developer
Tencent Cloud Developer
Jul 24, 2023 · Artificial Intelligence

Building an Internal Code Knowledge Base with Embedding and AST Interpreter

The author builds an internal code knowledge base for the TDesign Vue‑Next library by scraping documentation, chunking and embedding texts with OpenAI’s ada model into a vector store, then retrieving relevant chunks for LLM answers, and enhances context continuity using a JavaScript AST interpreter, achieving up to 90 % query accuracy and a 20 % productivity boost.

ASTEmbeddingKnowledge Base
0 likes · 11 min read
Building an Internal Code Knowledge Base with Embedding and AST Interpreter
Sohu Tech Products
Sohu Tech Products
Jul 19, 2023 · Backend Development

Analyzing TypeScript AST to Track API Usage and Build a Visualized Plugin

This article explains how to convert TypeScript source code into an AST, traverse it to collect import statements, distinguish various import forms, and use the TypeScript compiler API to locate identifier symbols, enabling accurate counting of API calls and line numbers for a given dependency.

ASTTypeScriptcode analysis
0 likes · 12 min read
Analyzing TypeScript AST to Track API Usage and Build a Visualized Plugin
ByteFE
ByteFE
Feb 13, 2023 · Frontend Development

Understanding ESLint: Principles, Configuration, AST, and Custom Rule Development

This article explains the fundamentals of ESLint, including its purpose, configuration files, AST-based analysis, the SourceCode abstraction, rule template creation, key functions, and the overall linting and fixing workflow, enabling developers to build custom linting plugins for consistent code style.

ASTCustom RulesESLint
0 likes · 14 min read
Understanding ESLint: Principles, Configuration, AST, and Custom Rule Development
Huolala Tech
Huolala Tech
Jan 31, 2023 · Frontend Development

How to Turn Word Docs into Vue Components with mammoth.js

This article explains how to use the open‑source mammoth.js library to convert Word (.docx) documents into clean HTML, customize the AST to fix layout issues, and automatically generate Vue component files, dramatically streamlining documentation integration in frontend projects.

ASTVueWord to HTML
0 likes · 8 min read
How to Turn Word Docs into Vue Components with mammoth.js
ELab Team
ELab Team
Dec 14, 2022 · Frontend Development

Mastering ESLint: How AST Powers Code Linting and Custom Rules

This article explores the fundamentals of ESLint, explaining how it leverages abstract syntax trees (AST) to enforce code style, detect errors, and enable custom rule creation, while providing practical configuration examples, code snippets, and insights into the underlying processing pipeline.

ASTCustom RulesESLint
0 likes · 16 min read
Mastering ESLint: How AST Powers Code Linting and Custom Rules
ELab Team
ELab Team
Dec 7, 2022 · Frontend Development

Mastering AST: How Frontend Compilers Transform Code with Babel

This article explains the fundamentals of abstract syntax trees (AST) in frontend development, covering their generation, role in code transformation, and practical use of Babel plugins to instrument and modify JavaScript code, with detailed examples and code snippets.

ASTJavaScriptbabel
0 likes · 13 min read
Mastering AST: How Frontend Compilers Transform Code with Babel
DeWu Technology
DeWu Technology
Nov 30, 2022 · Big Data

Fundamentals and Implementation of Data Lineage in Big Data Environments

Data lineage in big‑data environments tracks how data moves and transforms—from source tables through SQL processing to final storage—enabling management tasks such as domain segmentation, performance tuning, anomaly detection, and dependency verification, with implementations ranging from simple regex extraction to robust AST parsing and optimization, as used by tools like Alibaba DataWorks and Apache Atlas.

ASTBig DataData Lineage
0 likes · 7 min read
Fundamentals and Implementation of Data Lineage in Big Data Environments
Huolala Tech
Huolala Tech
Nov 10, 2022 · Frontend Development

Seamlessly Migrate Taro 2.x to 3.x with Babel AST Transformations

This article explains how to upgrade Taro 2.x projects to Taro 3.x by converting source code into an AST using Babel, programmatically editing imports, configs, routers, and styles, and then generating the updated code, complete with practical code examples and migration tips.

ASTJavaScriptTaro
0 likes · 14 min read
Seamlessly Migrate Taro 2.x to 3.x with Babel AST Transformations
JD Cloud Developers
JD Cloud Developers
Oct 18, 2022 · Databases

How SQL Engines Turn Queries into Results: Inside ASTs and ANTLR4 Parsing

This article explores the inner workings of SQL engines, detailing the end‑to‑end process from query submission through lexical analysis, parsing, abstract syntax tree generation with ANTLR4, and subsequent logical and physical plan optimization, while also demonstrating practical Java examples for SQL parsing and rewriting.

ASTAntlr4java
0 likes · 11 min read
How SQL Engines Turn Queries into Results: Inside ASTs and ANTLR4 Parsing
Huolala Tech
Huolala Tech
Sep 27, 2022 · Frontend Development

How to Build a Custom ESLint Rule to Rewrite Import Paths

This tutorial explains why and how to create a custom ESLint rule that automatically replaces specified import paths, using AST traversal, rule configuration, and fixers, with a complete example including project scaffolding, implementation details, and unit testing.

ASTESLintJavaScript
0 likes · 8 min read
How to Build a Custom ESLint Rule to Rewrite Import Paths
ELab Team
ELab Team
Sep 1, 2022 · Fundamentals

From Lisp Parsers to SwiftUI: Unlocking Single Source of Truth and Language Fundamentals

This article explores the concept of Single Source of Truth in SwiftUI, explains the nature of computer programs, compares compiled and interpreted languages, discusses Turing completeness and formal language history, demonstrates a simple Lisp interpreter, and examines how Xcode leverages ASTs for live SwiftUI previews, highlighting the benefits of a code‑out approach.

ASTLispSwiftUI
0 likes · 18 min read
From Lisp Parsers to SwiftUI: Unlocking Single Source of Truth and Language Fundamentals
JD Tech
JD Tech
Aug 30, 2022 · Fundamentals

Deep Dive into Java Compiler AST Instrumentation for Monitoring

This article explores how to eliminate repetitive monitoring code in Java services by building a compile‑time instrumentation component that leverages JSR‑269 annotation processing and AST manipulation, detailing the component design, technical selection, compiler internals, implementation steps, and lessons learned.

ASTAnnotationProcessingInstrumentation
0 likes · 17 min read
Deep Dive into Java Compiler AST Instrumentation for Monitoring
DaTaobao Tech
DaTaobao Tech
Aug 29, 2022 · Frontend Development

Subtoken‑TranX: Front‑end JavaScript Code Generation for Industrial Use

Subtoken‑TranX, a joint effort by Alibaba’s DaTaobao team and Peking University, converts natural‑language requirements into JavaScript by training on a curated 2,489‑pair dataset, using subtoken‑level AST generation and task‑augmented variable semantics, achieving superior accuracy over standard TranX and Transformer models and now powering Alibaba’s BizCook front‑end production platform.

ASTJavaScriptmachine learning
0 likes · 12 min read
Subtoken‑TranX: Front‑end JavaScript Code Generation for Industrial Use
JD Retail Technology
JD Retail Technology
Aug 1, 2022 · Backend Development

How Java Compiler AST Injection Eliminates Repetitive Monitoring Code

This article explains how a Java compiler‑time AST injection component replaces manual monitoring instrumentation with a simple @UMP annotation, detailing the technology selection, implementation using JSR‑269 annotation processors, and the trade‑offs of compile‑time versus runtime weaving.

ASTAnnotation ProcessingInstrumentation
0 likes · 16 min read
How Java Compiler AST Injection Eliminates Repetitive Monitoring Code
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Jul 11, 2022 · Artificial Intelligence

How Structure-Aware Sparse Attention Boosts Long-Code Transformers

The SASA model, a structure‑aware sparse‑attention Transformer developed by Alibaba Cloud PAI and Prof. Gao Ming’s team, improves long‑code sequence processing by sparsifying self‑attention using top‑k frequency and AST pattern matrices, achieving higher performance and lower memory/computation costs on CodeXGLUE benchmarks.

ASTCode UnderstandingLong Sequences
0 likes · 8 min read
How Structure-Aware Sparse Attention Boosts Long-Code Transformers
Big Data Technology Architecture
Big Data Technology Architecture
Jun 29, 2022 · Fundamentals

Deriving Data Lineage from Python Code Using AST and Pyflakes

This article explains how to automatically extract data lineage and code dependencies from large collections of Python scripts by leveraging the language's compilation stages, abstract syntax trees, and the Pyflakes static‑analysis library, providing practical code examples and custom parsers for SQL extraction.

ASTBig DataCode Parsing
0 likes · 12 min read
Deriving Data Lineage from Python Code Using AST and Pyflakes
ELab Team
ELab Team
Jun 18, 2022 · Frontend Development

Deep Dive into ESLint: How Rules, CLI, and AST Processing Work

This article explains why ESLint is essential for frontend development, details how its rule configuration works, walks through the CLI execution flow, and reveals the internal call stack that parses code into an AST, applies custom rules, and performs auto‑fixes.

ASTCLICustom Rules
0 likes · 15 min read
Deep Dive into ESLint: How Rules, CLI, and AST Processing Work
ELab Team
ELab Team
Jun 17, 2022 · Fundamentals

How a Tiny Compiler Works: From Tokenizer to Code Generator

This article walks through the core concepts and implementation steps of a minimal JavaScript compiler, covering tokenization, parsing into an AST, traversing with a visitor, transforming the tree, and generating target code, while also explaining the visitor pattern and polyfills.

ASTJavaScriptParser
0 likes · 17 min read
How a Tiny Compiler Works: From Tokenizer to Code Generator
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 2, 2022 · Fundamentals

Design and Implementation of TinyLanguage Using Flex and Bison

The article walks readers through designing and implementing TinyLanguage—a minimal interpreted language with 4‑byte integers, constants, if/else, for loops, and print—by using Flex for lexical analysis, Bison for parsing into an AST, and an execution engine, even showing a Fibonacci example and future LLVM compilation possibilities.

ASTBisonFlex
0 likes · 30 min read
Design and Implementation of TinyLanguage Using Flex and Bison
vivo Internet Technology
vivo Internet Technology
May 25, 2022 · Fundamentals

Improving C/C++ Unit Test Development Efficiency with GCC Plugins

The article proposes a GCC‑plugin‑based tool called TU that automatically extracts AST information from C/C++ source files to generate boundary unit tests, custom cases, and mocks without modifying business code, dramatically reducing the manual effort required for comprehensive test development.

ASTC++Mock
0 likes · 11 min read
Improving C/C++ Unit Test Development Efficiency with GCC Plugins
Baidu Intelligent Testing
Baidu Intelligent Testing
May 6, 2022 · Backend Development

Exploring Baidu's Scalable Intelligent Testing: Automated Test Case Generation for Code, API, UI, and GUI

This article details Baidu's large‑scale intelligent testing framework, describing how AST‑based unit test generation, automated API test creation, visual UI interaction case synthesis, GUI traversal action set generation, and front‑end assertion automation work together to achieve high‑coverage, low‑cost automated testing across multiple languages and platforms.

API testingASTBaidu
0 likes · 10 min read
Exploring Baidu's Scalable Intelligent Testing: Automated Test Case Generation for Code, API, UI, and GUI
Baidu Geek Talk
Baidu Geek Talk
May 5, 2022 · Industry Insights

How Baidu Scales Intelligent Testing: From AST Unit Tests to GUI Action Generation

This article reveals Baidu's end‑to‑end intelligent testing pipeline, detailing AST‑driven unit test creation, automated interface test generation, visual UI interaction case synthesis, smart GUI action set production, and front‑end assertion automation, along with the techniques and results achieved.

ASTAutomated TestingBaidu
0 likes · 11 min read
How Baidu Scales Intelligent Testing: From AST Unit Tests to GUI Action Generation
IT Services Circle
IT Services Circle
May 1, 2022 · Frontend Development

A Comprehensive Guide to AST and Babel for JavaScript Code Transformation

This article provides an in‑depth tutorial on Abstract Syntax Trees (AST) and the Babel toolchain, covering AST fundamentals, its role in compilation, and practical examples of parsing, traversing, modifying, and generating JavaScript code using @babel/core, @babel/parser, @babel/traverse, @babel/generator, and @babel/types.

ASTJavaScriptTraversal
0 likes · 24 min read
A Comprehensive Guide to AST and Babel for JavaScript Code Transformation
ByteDance ADFE Team
ByteDance ADFE Team
Apr 14, 2022 · Frontend Development

Babel Basics: Definition, Workflow, Plugins, Presets, and Practical Usage

This article provides a comprehensive beginner-friendly guide to Babel, covering its definition as a JavaScript compiler, the parse‑transform‑generate workflow, AST concepts, core packages, plugin and preset classifications, configuration details, and step‑by‑step usage examples with code snippets.

ASTJavaScriptPlugins
0 likes · 16 min read
Babel Basics: Definition, Workflow, Plugins, Presets, and Practical Usage
ELab Team
ELab Team
Mar 31, 2022 · Frontend Development

How Babel Transforms Modern JavaScript: A Deep Dive into Frontend Compilation

This article explains the fundamentals of compilation, compares compiled and interpreted languages, outlines the full compiler pipeline, and uses Babel as a concrete example to show how JavaScript code is parsed, transformed, and generated for broader browser compatibility.

ASTCompilationJavaScript
0 likes · 27 min read
How Babel Transforms Modern JavaScript: A Deep Dive into Frontend Compilation
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 24, 2022 · Fundamentals

Unlocking JavaScript Power: A Deep Dive into AST and Babel

This article explains what an Abstract Syntax Tree (AST) is, how the ESTree specification standardizes JavaScript syntax, and how Babel parses, traverses, and transforms code using AST nodes, providing practical examples, core packages, plugin creation, and real‑world application scenarios for developers.

ASTJavaScriptbabel
0 likes · 13 min read
Unlocking JavaScript Power: A Deep Dive into AST and Babel
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 14, 2022 · Frontend Development

How NetEase Cloud Music Built a Source‑Code‑Driven Low‑Code Frontend Platform

The article analyzes NetEase Cloud Music's front‑end team's challenges with repetitive, mode‑driven development and explains how they designed a source‑code‑based low‑code system—Tango—that unifies LowCode and ProCode, integrates with existing GitLab and deployment tools, and dramatically speeds up business‑focused delivery.

ASTGitLab integrationTango platform
0 likes · 11 min read
How NetEase Cloud Music Built a Source‑Code‑Driven Low‑Code Frontend Platform
IT Services Circle
IT Services Circle
Mar 9, 2022 · Fundamentals

Learning Regular Expressions through AST Visualization

This article explains how to master regular expressions by visualizing their abstract syntax trees (AST), covering basic patterns, character classes, repetitions, greedy vs. non‑greedy matching, groups, and look‑ahead/look‑behind assertions with clear examples and diagrams.

ASTJavaScriptpattern-matching
0 likes · 11 min read
Learning Regular Expressions through AST Visualization
Taobao Frontend Technology
Taobao Frontend Technology
Feb 18, 2022 · Fundamentals

Unlock JavaScript Performance: From AST to Control Flow Graphs Explained

This article explores how understanding and visualizing JavaScript’s control and data flow—through abstract syntax trees, data flow graphs, and control flow graphs—can guide effective code optimization, illustrated with hardware-inspired examples and practical Arduino code, while also introducing SSA and Node Sea concepts.

ASTCode OptimizationControl Flow
0 likes · 13 min read
Unlock JavaScript Performance: From AST to Control Flow Graphs Explained
Aotu Lab
Aotu Lab
Jan 26, 2022 · Frontend Development

Extensible UI Secrets: Remote Rendering, AST Basics, i18n & Bézier Curves

This article explores Shopify's remote‑rendering UI framework, demystifies abstract syntax trees for JavaScript tooling, provides a step‑by‑step guide to frontend internationalization, dives into the mathematics of Bézier curves, and shares a two‑year product case study on scaling to tens of millions in revenue.

ASTBézier curvesUI architecture
0 likes · 5 min read
Extensible UI Secrets: Remote Rendering, AST Basics, i18n & Bézier Curves
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jan 24, 2022 · Fundamentals

Mastering Unified: Process Markdown, HTML, and Text with AST Plugins

This article introduces the Unified text‑processing ecosystem, explains its AST‑based core, surveys major plugins such as remark, rehype, retext, and demonstrates practical usage examples—including Node.js documentation, dumi, and react‑markdown—to help developers understand its capabilities, workflow, and integration patterns.

ASTHTMLJavaScript
0 likes · 11 min read
Mastering Unified: Process Markdown, HTML, and Text with AST Plugins
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
Jan 3, 2022 · Backend Development

Building a Simple Rule Engine with Go's AST and Parser

This article explains how to design a lightweight rule engine in Go by first using JSON‑defined rules, then leveraging Go's token scanner and AST parser to evaluate boolean expressions such as header and cookie checks, and finally discusses extending the engine with custom primitives and GoYACC for more complex grammars.

ASTDSLGo
0 likes · 16 min read
Building a Simple Rule Engine with Go's AST and Parser
JD Retail Technology
JD Retail Technology
Nov 24, 2021 · Backend Development

Understanding Gradle and Modifying Gradle Files via Groovy AST

This article explains Gradle's fundamentals, compares it with Maven, introduces Groovy's abstract syntax tree (AST) concepts, and provides a step‑by‑step demo that parses a Gradle script into an AST, modifies it to inject a dependency, and attempts to write the changes back to the original build file.

ASTBuild AutomationGradle
0 likes · 16 min read
Understanding Gradle and Modifying Gradle Files via Groovy AST
Top Architect
Top Architect
Nov 24, 2021 · Frontend Development

Automating Vue2‑to‑Vue3 Migration with GoGoCode: A Practical Guide

This article explains how to use the GoGoCode AST‑based tool to automate the migration of large Vue 2 codebases to Vue 3, covering installation, command‑line usage, sample transformation rules, supported API changes, and where to find documentation and source code.

ASTGoGoCodeVue3
0 likes · 8 min read
Automating Vue2‑to‑Vue3 Migration with GoGoCode: A Practical Guide
Architecture Digest
Architecture Digest
Sep 18, 2021 · Frontend Development

Automating Vue2 to Vue3 Migration with GoGoCode

This article explains how the GoGoCode AST‑based tool can automatically transform large Vue2 codebases to Vue3 by applying a set of around thirty migration rules, covering async components, custom directives, router and Vuex changes, and provides installation, usage examples, and a comprehensive rule table.

ASTGoGoCodeVue
0 likes · 10 min read
Automating Vue2 to Vue3 Migration with GoGoCode
Java Architect Essentials
Java Architect Essentials
Sep 15, 2021 · Frontend Development

Automating Vue2 to Vue3 Migration with GoGoCode

This article explains how to use the GoGoCode AST‑based tool to automatically convert Vue 2 projects to Vue 3 by following the official migration guide, installing the CLI, running conversion commands, and applying a comprehensive set of transformation rules covering common break‑changes.

ASTGoGoCodeVue3
0 likes · 7 min read
Automating Vue2 to Vue3 Migration with GoGoCode
58 Tech
58 Tech
Sep 9, 2021 · Mobile Development

Fair 2.0 Layout DSL Generation Principles

This article explains how the Fair 2.0 framework parses Dart source code into an AST, transforms the AST into a domain‑specific layout DSL, and handles variables, expressions, and method caching to enable dynamic UI updates in Flutter applications.

ASTDSLFair 2.0
0 likes · 11 min read
Fair 2.0 Layout DSL Generation Principles
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Jul 6, 2021 · Databases

Inside Cobar’s SQL Parser: AST Structure, Traversal, and Real‑World Uses

This article explains how Cobar’s SQL parser converts SQL statements into an abstract syntax tree (AST), details the parser’s implementation options, demonstrates AST node definitions and visitor‑based traversal in Java, and explores practical applications such as sharding, feature extraction, and dangerous‑SQL interception.

ASTCobarDatabase Middleware
0 likes · 8 min read
Inside Cobar’s SQL Parser: AST Structure, Traversal, and Real‑World Uses
ByteFE
ByteFE
Jun 30, 2021 · Frontend Development

Understanding AST and Its Application in CSS Processing with PostCSS

This article explains what an Abstract Syntax Tree (AST) is, demonstrates how JavaScript code is transformed into an AST, describes the tokenization and parsing steps used by PostCSS to generate a CSS AST, and shows how plugin mechanisms like AutoPrefixer can extend the toolchain.

ASTAutoprefixerCSS Parsing
0 likes · 9 min read
Understanding AST and Its Application in CSS Processing with PostCSS
Baidu App Technology
Baidu App Technology
Jun 24, 2021 · Frontend Development

Developing ESLint and StyleLint Plugins for San‑Native Code Linting

The article explains how to design and implement ESLint and StyleLint plugins for the San‑Native framework, detailing AST generation, processor creation, rule definitions for JavaScript and CSS, configuration sharing, and how these tools provide real‑time linting feedback for developers.

ASTESLintJavaScript
0 likes · 24 min read
Developing ESLint and StyleLint Plugins for San‑Native Code Linting
vivo Internet Technology
vivo Internet Technology
Jun 23, 2021 · Frontend Development

Automated Extraction of Vue Component Information for Documentation

The article presents an automated tool that parses Vue single‑file components using vue‑template‑compiler and Babel to extract props, methods, events, slots, and developer annotations, then generates up‑to‑date documentation in Markdown or JSON, reducing manual effort and errors.

ASTComponent DocumentationTemplate Compiler
0 likes · 14 min read
Automated Extraction of Vue Component Information for Documentation
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 9, 2021 · Frontend Development

How Rollup Packs JavaScript: Inside the Build Process and AST Analysis

This article explains Rollup’s core principles, compares it with Webpack, introduces prerequisite concepts such as magic‑string, AST and scope chains, and walks through the complete build workflow—including parsing, dependency analysis, statement expansion, and final code generation—using concrete code examples and diagrams.

ASTJavaScript bundlingTree Shaking
0 likes · 20 min read
How Rollup Packs JavaScript: Inside the Build Process and AST Analysis
58 Tech
58 Tech
Apr 23, 2021 · Information Security

Understanding AST, SAST, Taint Analysis, and CodeQL for Java Security Scanning

This article explains the fundamentals of abstract syntax trees, Java AST analysis with Spoon, the principles of static application security testing and taint analysis, and demonstrates how to use CodeQL to detect unsafe Fastjson usage and Spring web path bindings in a CI/CD pipeline.

ASTCodeQLSAST
0 likes · 24 min read
Understanding AST, SAST, Taint Analysis, and CodeQL for Java Security Scanning
ELab Team
ELab Team
Apr 22, 2021 · Frontend Development

Unlocking JavaScript Power: How AST Drives Modern Front‑End Tools

This article explains what an Abstract Syntax Tree (AST) is, how it’s generated during lexical and syntax analysis, outlines its core structure, and demonstrates practical applications such as code transformation, linting, formatting, and custom Babel plugins with detailed code examples.

ASTJavaScriptbabel
0 likes · 16 min read
Unlocking JavaScript Power: How AST Drives Modern Front‑End Tools
QQ Music Frontend Team
QQ Music Frontend Team
Apr 16, 2021 · Backend Development

Build a JCE Parser with PEG.js for Node.js BFF Framework

This tutorial explains how to use PEG.js to create a JavaScript parser that converts JCE protocol definitions into Node.js syntax, covering PEG.js basics, grammar rules, recursion, struct and interface parsing, and assembling a complete JCE parser.

ASTJCENode.js
0 likes · 9 min read
Build a JCE Parser with PEG.js for Node.js BFF Framework