parsing

Tag

Cards List
#parsing

Per Vognsen on the effect of AVX-512 on lexing and parsing

Lobsters Hottest ↗ · 3d ago

A Lobsters discussion on Per Vognsen's observations about how AVX-512 instructions affect lexing and parsing performance, with comments linked from the post.

0 favorites 0 likes
#parsing

GitHub Actions accepts invalid YAML

Lobsters Hottest ↗ · 5d ago Cached

GitHub Actions accepts several invalid YAML productions, so workflow definitions that fail a conforming YAML parser still run — rooted in the YamlDotNet parser it uses. The author also reverted an earlier tree-sitter-yaml change made to accommodate this nonstandard behavior.

0 favorites 0 likes
#parsing

Pratt parsing is a black box

Lobsters Hottest ↗ · 2026-11-01 Cached

博客文章论证 Pratt 解析应被视为黑盒来使用,强调理解 nuds/leds 心智模型比记忆 9 行算法实现更重要,并对比了与 GNU Bison 等传统解析技术的差异。

0 favorites 0 likes
#parsing

Parsing Expression Grammar vs. regexes: Building Org parser in Lisp that exports to HTML (via SXML)

Lobsters Hottest ↗ · 2026-09-24 Cached

The blog post describes building OrgWebAlchemy, a Guile Scheme library using Parsing Expression Grammars to parse Org mode documents and convert them to HTML via SXML, comparing PEGs to regular expressions for this task.

0 favorites 0 likes
#parsing

Tilia—a new formatter for Haskell

Lobsters Hottest ↗ · 2026-09-17 Cached

Tilia is a new formatter for Haskell that addresses challenges like comment handling, operator fixity inference, and CPP support.

0 favorites 0 likes
#parsing

How an unsupported tool-call response could become “perfectly stable” in an LLM benchmark

Reddit r/artificial ↗ · 2026-09-03

An LLM benchmark's scoring pipeline could erroneously treat unsupported tool-call responses as stable empty outputs due to preprocessing, highlighting the importance of distinguishing between parsing failures and genuine outputs in evaluation.

0 favorites 0 likes
#parsing

Optimizing memory usage in a markdown parser

Lobsters Hottest ↗ · 2026-08-23 Cached

The blog post details techniques to optimize memory usage in a C++ markdown parser, significantly reducing AST node size from 232 bytes to 16 bytes through arena allocation and pointer compression, while maintaining parsing speed.

0 favorites 0 likes
#parsing

Opinions About Compiler Building

Lobsters Hottest ↗ · 2026-08-19 Cached

The article shares personal opinions on modern compiler building, advocating for tools like OhmJS for parsing and Prolog for type checking, with a focus on simplicity and iterative development.

0 favorites 0 likes
#parsing

We Are Forking dotenvy into dotenv-ng

Hacker News Top ↗ · 2026-08-17 Cached

SecretSpec has released dotenv-ng, a modern Rust fork of dotenvy, to fix parsing issues with secrets like bcrypt fragments and address maintenance gaps in .env file handling.

0 favorites 0 likes
#parsing

Stoicheia: Character-Level Masked Diffusion for Ancient Greek Textual Restoration, Parsing, and Metrical Scansion

arXiv cs.CL ↗ · 2026-08-10 Cached

The paper introduces Stoicheia, a 405M-parameter character-level masked diffusion encoder for Ancient Greek that unifies textual restoration, parsing, and metrical scansion in a single model, outperforming prior systems like Ithaca on benchmark tasks.

0 favorites 0 likes
#parsing

@llama_index: "OCR is just a feature now. Frontier models will eat it." We hear this constantly. The data says otherwise. Across thre…

X AI KOLs Following ↗ · 2026-08-05 Cached

LlamaIndex argues that document OCR is not being commoditized by frontier models, using benchmark data showing specialized parsers remain more accurate and cheaper.

0 favorites 0 likes
#parsing

The true power of regular expressions (2012)

Hacker News Top ↗ · 2026-08-03 Cached

This article explains that modern regex engines like PCRE can parse far more than regular languages, debunking the common claim that HTML cannot be parsed with regex.

0 favorites 0 likes
#parsing

sizeof is surprisingly difficult to parse in c

Lobsters Hottest ↗ · 2026-08-02 Cached

This article explores the challenges of parsing the C `sizeof` operator, which can take either an expression or a parenthesized type, and the extra complications introduced by compound literals and postfix operators. It discusses parsing strategies and notes that C2y's newly introduced `_Countof` operator faces similar issues.

0 favorites 0 likes
#parsing

Parsers don't have to be complicated

Hacker News Top ↗ · 2026-07-29 Cached

A blog post introducing bx::Scanner, a small zero-copy, allocation-free set of scanning primitives that simplify writing parsers without full parser generators or complex PEG libraries.

0 favorites 0 likes
#parsing

Quick & Easy Parser Combinators

Lobsters Hottest ↗ · 2026-07-27 Cached

A tutorial on building parser combinators in Scheme (Gambit), explaining how to write quick and readable parsers using functional programming techniques.

0 favorites 0 likes
#parsing

How AST-grep Rewrote Tree-sitter in Rust and Made It 30% Faster

Hacker News Top ↗ · 2026-07-26 Cached

ast-grep rewrote Tree-sitter's C core in Rust, achieving up to 30% faster parsing and 22% faster end-to-end performance in ast-grep, at the cost of slightly higher memory usage.

0 favorites 0 likes
#parsing

the perils of parsing type inference declarations in c

Lobsters Hottest ↗ · 2026-07-25 Cached

This blog post explores parsing ambiguities in C23 involving `auto` as a type inference specifier or storage-class specifier, showing how GCC and Clang disagree on parsing declarations like `auto x = 67;` when `x` is a typedef, and how attributes complicate the situation.

0 favorites 0 likes
#parsing

Microformats – building blocks for data-rich web pages

Lobsters Hottest ↗ · 2026-07-25 Cached

An article explaining how to consume and use microformats 2 data on personal websites, covering parser selection, fetching considerations, and data storage strategies.

0 favorites 0 likes
#parsing

Let's build a simple interpreter for APL

Lobsters Hottest ↗ · 2026-07-10 Cached

This blog post starts a series on building an APL interpreter in Python, covering tokenization and parsing of basic APL expressions with numbers, functions, and operators.

0 favorites 0 likes
#parsing

Seventy Years of Parsing: Theoretical and Practical Consequences

Lobsters Hottest ↗ · 2026-07-06

An overview of seventy years of parsing theory and its practical implications in computer science.

0 favorites 0 likes
Next →
← Back to home

Submit Feedback