ast

Tag

Cards List
#ast

Engineering High-Performance Parsers with Data-Oriented Design

Lobsters Hottest · 2026-07-13 Cached

This article explains how to design high-performance parsers by focusing on memory layout and data-oriented design, using the example of the Yuku JavaScript/TypeScript parser written in Zig.

0 favorites 0 likes
#ast

kparser - small, readable parser for K

Lobsters Hottest · 2026-07-09 Cached

kparser is a small, readable parser for the K programming language, designed as a pedagogical reference to make K's grammar legible by printing ASTs in a Lisp-style nested-list form from a REPL.

0 favorites 0 likes
#ast

I tested AST-backed context graphs for coding agents; here is what changed

Reddit r/AI_Agents · 2026-07-05

Experiment shows AST-backed context graphs for coding agents can reduce token usage by 90% compared to broad snippets, while maintaining grounding, with a hybrid approach recommended to handle narrow retrieval cases.

0 favorites 0 likes
#ast

@Ryrenz: The token-saving artifact for coding agents has arrived—cocoindex-code, one command for semantic search on your codebase. Just open-sourced, quickly gaining stars with the selling point of "saving 70% tokens". Enabling agents like Claude Code, Codex…

X AI KOLs Timeline · 2026-06-29 Cached

cocoindex-code is an AST-based semantic code search tool that can be quickly integrated into coding agents, saving up to 70% tokens and improving search efficiency.

0 favorites 0 likes
#ast

@evanyou: To answer a common question - why not make React Compiler a plugin? It all comes down to practical trade-offs. Making i…

X AI KOLs Following · 2026-06-24 Cached

Evan You explains why integrating React Compiler directly into OXC (Rust) offers significant performance gains over a plugin approach, while addressing binary size concerns and future plans for AST transfer.

0 favorites 0 likes
#ast

Making ast.walk 220x Faster

Hacker News Top · 2026-06-16 Cached

The Reflex team optimized Python's ast.walk by 220x for their AI code generation linter by removing generator overhead, inlining functions, and implementing a Rust binding.

0 favorites 0 likes
#ast

@DataChaz: How do you index the entire Linux kernel (28M lines of code) for an AI agent in 3 minutes? You stop letting the agent r…

X AI KOLs Timeline · 2026-06-15 Cached

A new open-source tool called codebase-memory-mcp indexes entire codebases like the Linux kernel in minutes using AST knowledge graphs, achieving massive efficiency gains for AI agents with 99% token reduction and 83% answer quality.

0 favorites 0 likes
#ast

CSP-Atlas: Concept-Specific Neural Circuits in a Sparse Python Transformer

arXiv cs.CL · 2026-05-26 Cached

This paper investigates neural circuits in a sparse 8-layer Python transformer, finding dedicated circuitry for 106 programming concepts and decomposing them into concept-specific and token-driven components, with implications for understanding structural encoding in code models.

0 favorites 0 likes
#ast

Giving LLMs exec() power is a security nightmare. I built a open-source AST-based guardrail to stop malicious agent execution.

Reddit r/AI_Agents · 2026-05-21

Introduces ast-guard, an open-source AST-based security tool that prevents malicious code execution from LLM-generated Python strings by parsing them into an abstract syntax tree and applying node-level whitelisting and context-aware safety checks.

0 favorites 0 likes
#ast

Even More Tagged Union Subsets with Comptime

Lobsters Hottest · 2026-05-19 Cached

This article explores using Zig's comptime to create tagged union subsets, inspired by Mitchell Hashimoto's work, and applies the technique to a MyST parser's AST traversal.

0 favorites 0 likes
← Back to home

Submit Feedback