#parser — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #parser, aggregated by home.social.
-
You fell asleep at the movies. Now the crowd's gone, your friend's vanished, and the déjà vu won't stop. 🎬
Warp Cinema is a bite-size retro parser jam game in EGA. 👇
https://cosmicvoid.itch.io/warp-cinema -
You fell asleep at the movies. Now the crowd's gone, your friend's vanished, and the déjà vu won't stop. 🎬
Warp Cinema is a bite-size retro parser jam game in EGA. 👇
https://cosmicvoid.itch.io/warp-cinema -
Our paper, “B-OCL: An Object Constraint Language #Parser and #Interpreter,” has been accepted to the #OCL #Workshop
With BESSER, you can define OCL constraints on models, validate them, and evaluate them against object diagrams, making it easier to specify behavior.
Try it here: https://lnkd.in/dYkJw5X7
-
Rust rewrite of wikiextractor, processes enwiki dump with template expansion in 24 min (instead of 13h with Python). Output is binary compatible (not counting Python mangling). CLI parameters are identical. New option to output a specific page by title (instead of pageid).
#mediawiki #parser #wikipedia #rustlang -
Rust rewrite of wikiextractor, processes enwiki dump with template expansion in 24 min (instead of 13h with Python). Output is binary compatible (not counting Python mangling). CLI parameters are identical. New option to output a specific page by title (instead of pageid).
#mediawiki #parser #wikipedia #rustlang -
Dear #lazyweb,
I am looking for a way to generate a simple #parser in #Python without extra run-time dependencies.
I am happy to use whatever tooling is needed to generate the parser, but the generated Python code must be standalone (just like lex/yacc generate standalone C code).
I found a lot of parser generators for Python but they all introduce run-time dependencies that I would really like to avoid.
Do you know a tool that fits this use-case?
Retoots appreciated!
-
Dear #lazyweb,
I am looking for a way to generate a simple #parser in #Python without extra run-time dependencies.
I am happy to use whatever tooling is needed to generate the parser, but the generated Python code must be standalone (just like lex/yacc generate standalone C code).
I found a lot of parser generators for Python but they all introduce run-time dependencies that I would really like to avoid.
Do you know a tool that fits this use-case?
Retoots appreciated!
-
New update for my #python #multipart #parser #benchmark:
https://defnull.de/2026/python-multipart-benchmark/
The benchmark tests and compares the most commonly used Python parsers for multipart/form-data (HTML5 forms) in different scenarios, including a #rust parser and a #cython parser. The results may surprise you :awesome:
Disclaimer: I'm the author of the 'multipart' library.
-
New update for my #python #multipart #parser #benchmark:
https://defnull.de/2026/python-multipart-benchmark/
The benchmark tests and compares the most commonly used Python parsers for multipart/form-data (HTML5 forms) in different scenarios, including a #rust parser and a #cython parser. The results may surprise you :awesome:
Disclaimer: I'm the author of the 'multipart' library.
-
👨💻 In the latest saga of "I did it #without trying", our hero claims to have revamped PostHog's #SQL #parser, achieving #warp #speed 🚀 without even glancing at the code. Clearly, the next logical step is to solve #world #hunger with a casual scroll through Pinterest 🍕.
https://posthog.com/blog/sql-parser #PostHog #coding #effort #solution #HackerNews #ngated -
👨💻 In the latest saga of "I did it #without trying", our hero claims to have revamped PostHog's #SQL #parser, achieving #warp #speed 🚀 without even glancing at the code. Clearly, the next logical step is to solve #world #hunger with a casual scroll through Pinterest 🍕.
https://posthog.com/blog/sql-parser #PostHog #coding #effort #solution #HackerNews #ngated -
NEW: sulpher
sulpher v0.2.0 is out — a Cypher graph query language parser written in Go.
This release completes openCypher 9 coverage and adds several Neo4j 5+ idioms:
✓ CALL {} subquery blocks (with variable scope clause and IN TRANSACTIONS)
✓ COUNT {} / COLLECT {} subquery expressions
✓ Label boolean expressions: (n:Person&Employee), (n:!Bot)
✓ LOAD CSV, pattern comprehensions, reduce(), quantified paths {n,m}
✓ Hex/octal literals, || GQL string concatenation
✓ 45-file corpus, 269 queries, 100% pass rateCompatibility: openCypher 9 100% · Neo4j 5 ~85% · Neo4j 25 ~65%
https://github.com/ha1tch/sulpher
#Go #Golang #Neo4j #Cypher #GraphDatabase #OpenSource #Parser #FOSS #Sulpher
-
NEW: sulpher
sulpher v0.2.0 is out — a Cypher graph query language parser written in Go.
This release completes openCypher 9 coverage and adds several Neo4j 5+ idioms:
✓ CALL {} subquery blocks (with variable scope clause and IN TRANSACTIONS)
✓ COUNT {} / COLLECT {} subquery expressions
✓ Label boolean expressions: (n:Person&Employee), (n:!Bot)
✓ LOAD CSV, pattern comprehensions, reduce(), quantified paths {n,m}
✓ Hex/octal literals, || GQL string concatenation
✓ 45-file corpus, 269 queries, 100% pass rateCompatibility: openCypher 9 100% · Neo4j 5 ~85% · Neo4j 25 ~65%
https://github.com/ha1tch/sulpher
#Go #Golang #Neo4j #Cypher #GraphDatabase #OpenSource #Parser #FOSS #Sulpher
-
От регулярок к ANTLR4: три архитектурных решения на парсере бизнес-формул
Три года назад я писал свой первый коммерческий парсер на ANTLR4 — для бизнес-формул аналитической системы. Несколько лет спустя я бы сделал его иначе в трёх центральных местах. Разбираю каждое: левая рекурсия для приоритета операторов, Listener vs Visitor, и почему getText() для повторного парсинга — антипаттерн.
https://habr.com/ru/articles/1027742/
#antlr #antlr4 #парсер #parser #грамматика #dsl #java #spring_boot #compiler #code_generation
-
Мотивация, оптимизация, коробочка, жабочка и «налог на усталость»
Я не программист. Я архитектор, проектирую дома, а полгода назад не знала, где живут скрипты и питоны. Но когда важный для меня чат в Telegram собрались удалять, я попросила нейросеть написать парсер – и пропала. С тех пор прошло полгода. Я всё ещё доделываю приложение. У него есть имя – Розитта, розовая робожаба на иконке. И оно пожирает мои ночи, деньги на такси и остатки семейного спокойствия. Это не история успеха за 4 дня. Это история о том, как взрослый человек с семьёй, работой и падающим забором ушёл в вайбкодинговый запой – и что из этого вышло. Все совпадения с реальными нейросетями не случайны, а промпты – настоящие. Заглянуть в цифровое болото
https://habr.com/ru/articles/1022674/
#telethon #parser #deepseek #околоайтишник #telegram #вайбкодинг
-
#Development #Launches
Syntaqlite Playground · Parse, format, validate, and tokenize SQLite queries, https://ilo.im/16by65_____
#Parser #Formatter #Validator #Tokenizer #SQL #SQLite #Databases #Server #WebDev #Backend -
#Development #Launches
Syntaqlite Playground · Parse, format, validate, and tokenize SQLite queries, https://ilo.im/16by65_____
#Parser #Formatter #Validator #Tokenizer #SQL #SQLite #Databases #Server #WebDev #Backend -
This week on the blog: the latest release of my Ophis assembler hit an ugly corner of 6502 assembly language syntax (Z80 has it too, x86 and m68k don't), and that turns out to be a good excuse to drop a couple of thousand words on parsing theory.
Also, the Bison parser generator is cooler than it was the last time I looked at it.
-
This week on the blog: the latest release of my Ophis assembler hit an ugly corner of 6502 assembly language syntax (Z80 has it too, x86 and m68k don't), and that turns out to be a good excuse to drop a couple of thousand words on parsing theory.
Also, the Bison parser generator is cooler than it was the last time I looked at it.
-
chibicc-dumper makes public.
A JSON dumper tool derived from chibicc that can output C language tokens and ASTs.This is a small tool that extracts token sequences and ASTs from C source code and outputs them as JSON.
With this tool, generating bridge code—such as FFI—from C source code becomes easier than before. -
chibicc-dumper makes public.
A JSON dumper tool derived from chibicc that can output C language tokens and ASTs.This is a small tool that extracts token sequences and ASTs from C source code and outputs them as JSON.
With this tool, generating bridge code—such as FFI—from C source code becomes easier than before. -
One Open-source Project Daily
Simple .INI file parser in C, good for embedded systems
https://github.com/benhoyt/inih
#1ospd #opensource #c #configparser #embeddedsystems #ini #parser -
One Open-source Project Daily
Simple .INI file parser in C, good for embedded systems
https://github.com/benhoyt/inih
#1ospd #opensource #c #configparser #embeddedsystems #ini #parser -
BuxarParser — простой парсер поисковиков Google, Яндекса и DuckDuckGo на Python
Здравствуйте, товарищи! Сразу скажу: скрипт, которым делюсь, рассчитан в первую очередь на новичков (которых тут тьма). Старожилы, прошу не пинать сильно.
-
Increasing the performance of WebAssembly Text Format parser by 350%
https://blog.gplane.win/posts/improve-wat-parser-perf.html
#HackerNews #WebAssembly #Performance #Wat #Parser #Optimization #350% #TechNews
-
Increasing the performance of WebAssembly Text Format parser by 350%
https://blog.gplane.win/posts/improve-wat-parser-perf.html
#HackerNews #WebAssembly #Performance #Wat #Parser #Optimization #350% #TechNews
-
-
Damn. My PLY lexer doesn't recognize hexadecimal numbers, it recognizes them as decimal(0) and symbol(x1).
edit: oh, it's a matter of definition order.
-
Today I "learned" (???).
Apparently I need parser.restart for PLY for my use case instead of errok
https://git.uvok.de/fpga-exper/commit/?h=main&id=d7dfbe810354335ca39c8d14013782b7e8152fd3
Otherwise, when fed this invalid file
https://git.uvok.de/fpga-exper/tree/nandgame/assembler/ex5_broken.asm?h=main
the parser gets stuck in some state, not expecting newlines, and continuing to generate errors. huh -
Httpz – Zero-Allocation HTTP/1.1 Parser for OxCaml
#HackerNews #Httpz #ZeroAllocation #HTTP1.1 #Parser #OxCaml #OpenSource
-
Talking to the duck:
Why am I worrying about stream vs memory input? My paged stream class handles that while tracking only a couple of extra variables and a function call on page boundaries. The only performance hit is having to reposition the stream and read the text into memory for processing a terminal node - still more or less trivial if done right. I need to stop thinking as if its the 80s and every clock cycle counts... -
Building a High-Performance OpenAPI Parser in Go
https://www.speakeasy.com/blog/building-speakeasy-openapi-go-library
#HackerNews #OpenAPI #Go #Parser #HighPerformance #Programming #TechBlog