Parsing JSON Is a Minefield (2018)

seriot.ch
parsing-json-is-a-minefield-(2018)

Parsing JSON is a Minefield seriot.ch About > Projects > Parsing JSON is a Minefield [2016-10-26] First version of the article[2016-10-28] Presentation at Soft-Shake Conference, Geneva (slides)[2016-11-01] Article and comments in The Register[2017-11-16] Presentation at Black Alps Security Conference, Yverdon … Read more

Parsing URLs in Python

tkte.ch

tl;dr – Try can_ada if you need to parse URLs in Python. URLs Parsing URLs correctly is surprisingly hard. Who even defines what a “correct” URL is? URLs have evolved drastically since they were originally defined in 1994. The WHATWG … Read more

Parsing: The Solved Problem That Isn’t (2011)

tratt.net

Updated (2014-10-24): If you find this article interesting, you may be interested in the follow-up article on an editor for composed programs. Parsing is the act of taking a stream of characters and deducing if and how they conform to … Read more

Parsing the .DS_Store File Format

0day.work
parsing-the.ds-store-file-format

About two years ago I came across a .DS_Store file and wanted to extract its information (e.g. file names). After researching the file format and its security implications, as well as writing a parser for it, I would like to … Read more

pup: Parsing HTML at the Command Line

github.com
pup:-parsing-html-at-the-command-line

{{ message }} This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. You can’t perform that action at this time. You signed in with another tab or window. … Read more

Parsing JSON faster with Intel AVX-512

lemire.me
parsing-json-faster-with-intel-avx-512

Many recent Intel processors benefit from a new family of instructions called AVX-512. These instructions operate over wide registers (up to 512 bits) and follow the Single instruction, multiple data (SIMD) paradigm. These new AVX-512 instructions allow you to break some … Read more

Parsing expressions by precedence climbing (2012)

eli.thegreenplace.net
parsing-expressions-by-precedence-climbing-(2012)

I’ve written previously about the problem recursive descent parsers have with expressions, especially when the language has multiple levels of operator precedence. There are several ways to attack this problem. The Wikipedia article on operator-precedence parsers mentions three algorithms: Shunting … Read more

Parsing / Recursive Descent Parser

huy.rocks
parsing-/-recursive-descent-parser

« All posts A parser is a program that usually takes a stream of lexical tokens and transforms them into another data structure, usually in the form of a parse tree that satisfies the language’s grammar rules. Recursive Descent Parser … Read more

Parsing Bitstreams with Rust and Nom

blog.adamchalmers.com
parsing-bitstreams-with-rust-and-nom

Programming languages generally only manipulate bytes (groups of 8 bits). It can be pretty tricky to manipulate single bits. But sometimes you need to — for example, a DNS header has some 4-bit numbers, and encodes some boolean flags into … Read more