#parsing — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #parsing, aggregated by home.social.
-
Как я случайно написал что-то быстрое и декларативное (на Rust)
Писал парсер строго под свой проект, а получился быстрый декларативный движок для парсинга текстовых форматов. Как?
https://habr.com/ru/articles/1049432/
#rust #parsing #engine #declarative #fast #парсер #парсинг #работа_с_текстом #работа_с_текстовыми_данными
-
Okay, es ist mal wieder Psycholinguistik-Time, weil #Psycholinguistik geilste #Linguistik!
Lest mal den folgenden Satz:
"Dass Nagelsmann zugunsten von Sané nie etwas unternommen worden wäre, ist eine Lüge."
Ich gebe zu, der ist ein bisschen kompliziert, und vielleicht habt Ihr gedacht: "Müsste da statt 'worden wäre' nicht 'hat' stehen?" - Ja, kann es, aber es ist auch so ein auflösbarer ("richtiger") Satz.
Interessant ist aber, dass es in der Form oben ein #Holzweg-Satz (Engl. #gardenpath) ist. Die heißen deshalb so, weil sie einen bei der Satzinterpretation (Engl. #parsing) in die Irre führen: Die meisten Leute denken beim ersten Lesen, dass Nagelsmann die handelnde Person (Agens) beim "unternehmen" ist. In Wahrheit ist es aber Sané – und das wird klar, wenn man den Satz entsprechend betont. Liegt die Betonung auf Nagelsmann, wird die Interpretation einfacher.
-
Okay, es ist mal wieder Psycholinguistik-Time, weil #Psycholinguistik geilste #Linguistik!
Lest mal den folgenden Satz:
"Dass Nagelsmann zugunsten von Sané nie etwas unternommen worden wäre, ist eine Lüge."
Ich gebe zu, der ist ein bisschen kompliziert, und vielleicht habt Ihr gedacht: "Müsste da statt 'worden wäre' nicht 'hat' stehen?" - Ja, kann es, aber es ist auch so ein auflösbarer ("richtiger") Satz.
Interessant ist aber, dass es in der Form oben ein #Holzweg-Satz (Engl. #gardenpath) ist. Die heißen deshalb so, weil sie einen bei der Satzinterpretation (Engl. #parsing) in die Irre führen: Die meisten Leute denken beim ersten Lesen, dass Nagelsmann die handelnde Person (Agens) beim "unternehmen" ist. In Wahrheit ist es aber Sané – und das wird klar, wenn man den Satz entsprechend betont. Liegt die Betonung auf Nagelsmann, wird die Interpretation einfacher.
-
Okay, es ist mal wieder Psycholinguistik-Time, weil #Psycholinguistik geilste #Linguistik!
Lest mal den folgenden Satz:
"Dass Nagelsmann zugunsten von Sané nie etwas unternommen worden wäre, ist eine Lüge."
Ich gebe zu, der ist ein bisschen kompliziert, und vielleicht habt Ihr gedacht: "Müsste da statt 'worden wäre' nicht 'hat' stehen?" - Ja, kann es, aber es ist auch so ein auflösbarer ("richtiger") Satz.
Interessant ist aber, dass es in der Form oben ein #Holzweg-Satz (Engl. #gardenpath) ist. Die heißen deshalb so, weil sie einen bei der Satzinterpretation (Engl. #parsing) in die Irre führen: Die meisten Leute denken beim ersten Lesen, dass Nagelsmann die handelnde Person (Agens) beim "unternehmen" ist. In Wahrheit ist es aber Sané – und das wird klar, wenn man den Satz entsprechend betont. Liegt die Betonung auf Nagelsmann, wird die Interpretation einfacher.
-
Okay, es ist mal wieder Psycholinguistik-Time, weil #Psycholinguistik geilste #Linguistik!
Lest mal den folgenden Satz:
"Dass Nagelsmann zugunsten von Sané nie etwas unternommen worden wäre, ist eine Lüge."
Ich gebe zu, der ist ein bisschen kompliziert, und vielleicht habt Ihr gedacht: "Müsste da statt 'worden wäre' nicht 'hat' stehen?" - Ja, kann es, aber es ist auch so ein auflösbarer ("richtiger") Satz.
Interessant ist aber, dass es in der Form oben ein #Holzweg-Satz (Engl. #gardenpath) ist. Die heißen deshalb so, weil sie einen bei der Satzinterpretation (Engl. #parsing) in die Irre führen: Die meisten Leute denken beim ersten Lesen, dass Nagelsmann die handelnde Person (Agens) beim "unternehmen" ist. In Wahrheit ist es aber Sané – und das wird klar, wenn man den Satz entsprechend betont. Liegt die Betonung auf Nagelsmann, wird die Interpretation einfacher.
-
Okay, es ist mal wieder Psycholinguistik-Time, weil #Psycholinguistik geilste #Linguistik!
Lest mal den folgenden Satz:
"Dass Nagelsmann zugunsten von Sané nie etwas unternommen worden wäre, ist eine Lüge."
Ich gebe zu, der ist ein bisschen kompliziert, und vielleicht habt Ihr gedacht: "Müsste da statt 'worden wäre' nicht 'hat' stehen?" - Ja, kann es, aber es ist auch so ein auflösbarer ("richtiger") Satz.
Interessant ist aber, dass es in der Form oben ein #Holzweg-Satz (Engl. #gardenpath) ist. Die heißen deshalb so, weil sie einen bei der Satzinterpretation (Engl. #parsing) in die Irre führen: Die meisten Leute denken beim ersten Lesen, dass Nagelsmann die handelnde Person (Agens) beim "unternehmen" ist. In Wahrheit ist es aber Sané – und das wird klar, wenn man den Satz entsprechend betont. Liegt die Betonung auf Nagelsmann, wird die Interpretation einfacher.
-
Шифрование на уровне протокола
Как организовать шифрование на уровне протокола? На самом деле тема непростая и пожалуй (имхо) это как раз та самая тема, где прийти к компромиссу почти никогда не получается. Разве что просто не передавать чувствительные данные вовсе. Я расскажу как шифрование можно организовать на уровне протокола brec и ни в коем случае не буду затрагивать те самые принципиальные решения, влияющие на безопасность (как передавать, куда передавать, отправлять ли, и хранить ли чувствительные данные вовсе). Иными словами нас интересует инструментальная сторона вопроса.
https://habr.com/ru/articles/1040298/
#rust #protocols #parsing #binary #communication #no_database #storage #binary_storage #filtering #crypt
-
🎉 Behold the ultimate #toolkit for #nerds who find #parsing MPEG-TS streams exhilarating! #TSDuck presents a dizzying array of standards and protocols, because nothing screams #fun like endless acronyms and a PDF bonanza 📚. Dive in, if you dare, and unleash your inner transport stream aficionado! 😂
https://tsduck.io/ #MPEGTS #TransportStream #HackerNews #ngated -
🎉 Behold the ultimate #toolkit for #nerds who find #parsing MPEG-TS streams exhilarating! #TSDuck presents a dizzying array of standards and protocols, because nothing screams #fun like endless acronyms and a PDF bonanza 📚. Dive in, if you dare, and unleash your inner transport stream aficionado! 😂
https://tsduck.io/ #MPEGTS #TransportStream #HackerNews #ngated -
💡 Docling + Ollama + Qdrant: costruisci una knowledge base privata con Qwen3.6 in locale
https://gomoot.com/docling-la-libreria-open-source-per-il-pdf-parsing-nelle-pipeline-rag-con-ollama-e-qdrant/ -
Parse, Don’t Validate—in a Language That Doesn’t Want You To, by (not on Mastodon or Bluesky):
https://cekrem.github.io/posts/parse-dont-validate-typescript/
-
Parse, Don’t Validate—in a Language That Doesn’t Want You To, by (not on Mastodon or Bluesky):
https://cekrem.github.io/posts/parse-dont-validate-typescript/
-
The fastest way to match characters on ARM processors?, https://lemire.me/blog/2026/04/19/the-fastest-way-to-match-characters-on-arm-processors/.
In this article, Lemir talks about two SIMD ARM SVE/SVE2 instructions: `match` and `nmatch`, which fit nicely in the _vectorized classification_ step of `simdjson`. These instructions improve the performance of `simdjson` from 11.4Gb/s to 14.4Gb/s.
-
The fastest way to match characters on ARM processors?, https://lemire.me/blog/2026/04/19/the-fastest-way-to-match-characters-on-arm-processors/.
In this article, Lemir talks about two SIMD ARM SVE/SVE2 instructions: `match` and `nmatch`, which fit nicely in the _vectorized classification_ step of `simdjson`. These instructions improve the performance of `simdjson` from 11.4Gb/s to 14.4Gb/s.
-
How do you build a complex parser without it becoming a mess? The swift-parsing library from Point-Free lets you compose smaller, focused parsers into powerful pipelines using the Parse block and map modifiers.
🔗: https://swiftdevjournal.com/posts/composing-parsers/ by Mark Szymczyk
-
I do not see why a recursive-descent parser cannot have numeric precedences like a Pratt parser. You just move the order of productions freely, and let any production call any other.
Am I missing something?
-
I do not see why a recursive-descent parser cannot have numeric precedences like a Pratt parser. You just move the order of productions freely, and let any production call any other.
Am I missing something?
-
Rewriting Our Rust Wasm Parser in TypeScript, by (not on Mastodon or Bluesky):
-
Rewriting Our Rust Wasm Parser in TypeScript, by (not on Mastodon or Bluesky):
-
🚀 Ohm's #PEG-to-WASM Compiler: because everyone needs a #parsing #tool that's 50x #faster to parse things nobody asked for! 😂 Forget about improving your life—just make #parsing 0.02 seconds quicker. Is it a bird? Is it a plane? No, it's an #unnecessary #compiler update! 🙄
https://ohmjs.org/blog/2026/03/12/peg-to-wasm #update #speed #improvement #tool #coding #humor #HackerNews #ngated -
🚀 Ohm's #PEG-to-WASM Compiler: because everyone needs a #parsing #tool that's 50x #faster to parse things nobody asked for! 😂 Forget about improving your life—just make #parsing 0.02 seconds quicker. Is it a bird? Is it a plane? No, it's an #unnecessary #compiler update! 🙄
https://ohmjs.org/blog/2026/03/12/peg-to-wasm #update #speed #improvement #tool #coding #humor #HackerNews #ngated -
Nobody Gets Fired for Picking JSON, but Maybe They Should?
Nobody Gets Fired for Picking JSON, but Maybe They Should?By Miguel Young de la Sota
Nobody Gets Fired for Picking JSON, but Maybe They Should?
JSON is extremely popular but deeply flawed. This article discusses the details of JSON’s design, how it’s used (and misused), and how
https://monodes.com/predaelli/2026/03/29/nobody-gets-fired-for-picking-json-but-maybe-they-should/
#Javascript #formats #JSON #parsing -
Nobody Gets Fired for Picking JSON, but Maybe They Should?
Nobody Gets Fired for Picking JSON, but Maybe They Should?By Miguel Young de la Sota
Nobody Gets Fired for Picking JSON, but Maybe They Should?
JSON is extremely popular but deeply flawed. This article discusses the details of JSON’s design, how it’s used (and misused), and how
https://monodes.com/predaelli/2026/03/29/nobody-gets-fired-for-picking-json-but-maybe-they-should/
#Javascript #formats #JSON #parsing -
A Faster Alternative to Jq
https://micahkepe.com/blog/jsongrep/
#HackerNews #A #Faster #Alternative #to #Jq #json #parsing #programming #speed #optimization
-
A Faster Alternative to Jq
https://micahkepe.com/blog/jsongrep/
#HackerNews #A #Faster #Alternative #to #Jq #json #parsing #programming #speed #optimization
-
A nice survey of #ProgrammingLanguages that allow you to omit semicolons:
“No Semicolons Needed”, Terts Diepraam (https://terts.dev/blog/no-semicolons-needed/).
Via HN: https://news.ycombinator.com/item?id=47470200
On Lobsters: https://lobste.rs/s/09wmcz/no_semicolons_needed
#Programming #PLDI #Parsing #Lexing #Syntax #Grammar #Compilers
-
A nice survey of #ProgrammingLanguages that allow you to omit semicolons:
“No Semicolons Needed”, Terts Diepraam (https://terts.dev/blog/no-semicolons-needed/).
Via HN: https://news.ycombinator.com/item?id=47470200
On Lobsters: https://lobste.rs/s/09wmcz/no_semicolons_needed
#Programming #PLDI #Parsing #Lexing #Syntax #Grammar #Compilers
-
Another excellent post 👌🏽 from Russ Cox 👇🏽🫡:
“Floating-Point Printing And Parsing Can Be Simple And Fast” (https://research.swtch.com/fp).
On HN: https://news.ycombinator.com/item?id=46685317
On Lobsters: https://lobste.rs/s/nbsclr/floating_point_printing_parsing_can_be
#Programming #Math #FloatingPoint #Numbers #PLDI #Parsing #Printing
-
Another excellent post 👌🏽 from Russ Cox 👇🏽🫡:
“Floating-Point Printing And Parsing Can Be Simple And Fast” (https://research.swtch.com/fp).
On HN: https://news.ycombinator.com/item?id=46685317
On Lobsters: https://lobste.rs/s/nbsclr/floating_point_printing_parsing_can_be
#Programming #Math #FloatingPoint #Numbers #PLDI #Parsing #Printing
-
A Percise Parser, by @remyporter.bsky.social:
-
A Percise Parser, by @remyporter.bsky.social:
-
How to Stop parseFloat From Accepting Garbage
parseFloat accepts partial input and hides bugs.
-
“Explainer: Tree-sitter Vs. LSP”, Ashton Wiersdorf (https://lambdaland.org/posts/2026-01-21_tree-sitter_vs_lsp/).
Via HN: https://news.ycombinator.com/item?id=46719899
On Lobsters: https://lobste.rs/s/qhickw/explainer_tree_sitter_vs_lsp
#LSP #TreeSitter #LanguageServerProtocol #Editors #SyntaxHighlighting #Parsers #Parsing
-
Nice:
“Which Parsing Approach?” [2020], Laurence Tratt (https://tratt.net/laurie/blog/2020/which_parsing_approach.html).
On HN: https://news.ycombinator.com/item?id=35800189
On Lobsters: https://lobste.rs/s/9pcqys/which_parsing_approach
#Parsing #Programming #Compilers #Interpreters #Parser #PLDI
-
Nice:
“Which Parsing Approach?” [2020], Laurence Tratt (https://tratt.net/laurie/blog/2020/which_parsing_approach.html).
On HN: https://news.ycombinator.com/item?id=35800189
On Lobsters: https://lobste.rs/s/9pcqys/which_parsing_approach
#Parsing #Programming #Compilers #Interpreters #Parser #PLDI
-
“Why I Write Recursive Descent Parsers (Despite Their Issues)” [2020], Chris Siebenmann (https://utcc.utoronto.ca/~cks/space/blog/programming/WhyRDParsersForMe).
-
“Why I Write Recursive Descent Parsers (Despite Their Issues)” [2020], Chris Siebenmann (https://utcc.utoronto.ca/~cks/space/blog/programming/WhyRDParsersForMe).
-
Context free grammars (CFG) are better than parsing expression grammars (PEG), because CFGs represent how we think.
Parser combinators are similar to PEGs, so they are worse than CFGs, too.
So, don't use Rust libraries
nom,combine. Uselalrpop.Don't use Haskell libraries
parsec,gigaparsec,attoparsec,megaparsec,trifecta. UseEarley,happy.See more detailed story in my new article https://safinaskar.writeas.com/this-is-why-you-should-never-use-parser-combinators-and-peg .
The story also includes some cases, where PEG and parser combinators may still be useful. Also, the article gives links to my Haskell parsing libraries.
#haskell #rust #parsing #parse #cfg #peg #combinators #parsercombinators #parsingcombinators #nom #combine #lalrpop #parsec #earley #happy
-
Context free grammars (CFG) are better than parsing expression grammars (PEG), because CFGs represent how we think.
Parser combinators are similar to PEGs, so they are worse than CFGs, too.
So, don't use Rust libraries
nom,combine. Uselalrpop.Don't use Haskell libraries
parsec,gigaparsec,attoparsec,megaparsec,trifecta. UseEarley,happy.See more detailed story in my new article https://safinaskar.writeas.com/this-is-why-you-should-never-use-parser-combinators-and-peg .
The story also includes some cases, where PEG and parser combinators may still be useful. Also, the article gives links to my Haskell parsing libraries.
#haskell #rust #parsing #parse #cfg #peg #combinators #parsercombinators #parsingcombinators #nom #combine #lalrpop #parsec #earley #happy
-