Tootfinder

Opt-in global Mastodon full text search. Join the index!

@timbray@cosocial.ca
2025-06-26 18:11:47

More on the crisis in open-source maintenance as exemplified by libxml2: lwn.net/SubscriberLink/1025971
Some money *has* to start flowing into this community or the foundations we all rely on will start rotting away. Given the many-bi…

@fanf@mendeddrum.org
2025-06-21 14:42:03

from my link log —
Rewriting the Ruby parser.
railsatscale.com/2023-06-12-re
saved 2024-12-26

@fanf@mendeddrum.org
2025-07-21 17:42:03

from my link log —
Optimizing a simple expression parser in Rust.
rpallas92.github.io/math-parse
saved 2025-07-10

@arXiv_csPL_bot@mastoxiv.page
2025-08-26 07:48:46

Syntactic Completions with Material Obligations
David Moon, Andrew Blinn, Thomas J. Porter, Cyrus Omar
arxiv.org/abs/2508.16848 arxiv.org/p…

@aral@mastodon.ar.al
2025-07-21 10:22:10

🥳 New Kitten Release
• Improved Markdown parser
Kitten’s JavaScript tagged template strings (`kitten.html`) no longer fail to render as expected when interpolated values are used inside of Markdown where the Markdown render changes source order.
So, for example, the following will now work correctly, whereas, previously, the link source and link text would have been erroneously flipped:
kitten.html`
<markdown>
[${linkText}](${linkSource})

@jamesthebard@social.linux.pizza
2025-07-21 00:51:33

Wooo, added another feature to the dice parser: the ability to count dice. I'm really happy that I implemented this with a parser, but I'm definitely gonna need to clean up the code here in a bit.
dice.jamesthebard.net/usage/#d

A picture of the new documentation showing dice count options for comparisons.
@arXiv_csSE_bot@mastoxiv.page
2025-07-18 09:38:52

Inferring Attributed Grammars from Parser Implementations
Andreas Pointner, Josef Pichler, Herbert Pr\"ahofer
arxiv.org/abs/2507.13117

@timbray@cosocial.ca
2025-06-22 01:20:45

So, @… is working on using LLMs to process XML Except for, the models can’t write legal XML. So he’s using the model to generate a sloppy-XML parser: lucumr.pocoo.org/202…

@cyrevolt@mastodon.social
2025-08-01 11:30:01

I've sent out a funding application to OSFF for Intel ME tooling.
🥳
I had started an Intel ME file system parser for recent and current versions:
github.com/fiedka/me_fs_rs 👈🧐
Then I realized how much overlap there is between this, MEAnalyzer, the long unmaintained me_clean…

@jamesthebard@social.linux.pizza
2025-07-18 03:48:02

Okay, _now_ I'm done. Fixed a few parser errors and implemented a skew option (the `^` value) that will push the average value towards either 1 or the maximum of the dice. I like that once you get the parser up and running that it's easy to add stuff to it. I now am the official owner of a completely overkill dice running program.
For the example below, the skew is `2.0`. The random value is raised to the `1/skew` power before being multiplied by the number of sides of the …

@dawid@social.craftknight.com
2025-08-18 20:47:35

Koniec końców udało się jedynie napisać działający parser klatek z tej "szitman supercamery" ale wypluwa tylko jpegowe klatki na stdout, które przejmuje przez gstreamer i dalej wyświetlam/tworze sink z pipewire w usernamespace/cokolwiek.
Poległem na razie przy implementacji gstreamer sinka w samym Rust, a v4l2loopback... DKMS wykrzaczył się po upgradzie kernela do 6.16 z ostatnim pacman -Syyu - fix już jest w repo, ale pakiet jest niezaktualizowany w . Mógłbym sam kompilować,…

@domm@social.linux.pizza
2025-06-16 20:31:58

Today i wrote a parser & import to convert some semi-structured plain text into 40 different newsletter issues for an upcoming newsletter relaunch. And also fixed the internal structure of some of the mail widgets we are using, and their HTML representation.

@aral@mastodon.ar.al
2025-08-14 10:42:55

The new integrated Markdown parser I’ve been implementing in Kitten has been kicking my ass for the past few weeks but I think I finally have it fully working and seamlessly so. Expect a new release this/next week that brings the parsing of Markdown pages (.page.md files) in your apps up to the standard of the recently-improved runtime Markdown parsing in Kitten HTML tagged-template strings (within `<markdown>…</markdown>` blocks).
The coolest thing is I was able to impleme…

@jamesthebard@social.linux.pizza
2025-07-18 00:11:46

Time to write a dice roller...gonna use `lark` to parse the string so I can just type out the roll and add tags for the damage types and let it do the math. Is it overkill? Yes. Does it work? No, not yet...but that's the fun part.
#python #lark

The initial parser rules for processing dice written in Python using Lark as the parser.
@awinkler@openbiblio.social
2025-07-08 20:00:35

es ist ja mit Blick auf Datenanalyse schon einigermaßen tragisch, dass die VDs die Seitenzahlen zwar penibelst aufschlüsseln, man aber einen komplexen Parser braucht, der das dann auch irgendeine Art von normierter Zahl herunterbricht, mit der man dann auch rechnen kann:
"1 ungezähltes Blatt Bildtafel, 1 ungezähltes Blatt, 28 ungezählte Seiten, 3028 Spalten, 1055 Spalten, 1 gefaltetes Blatt"
"[27] Bl., 1836 Sp., [1] Bl., 1204 Sp., [52, 4] Bl., Sp. 1-60, S. 61-115, Sp…

@jamesthebard@social.linux.pizza
2025-07-22 00:53:40

Work continues on the Dice Parser. Added a ton of features:
- Raw rolls
- Dice rerolls
- Keeping the nth lowest/highest dice
You can literally now do some craziness like "roll 10d10, reroll all rolls 3 or less, keep the two highest as fire damage, then roll 3d4, keep the lowest two values, keep those as piercing damage"
```python
dice.roll("10d10 reroll 3 keep 2[fire] 3d4 keep -2[piercing]")
dice.roll("10d10!3k2[fire] 3d4k-2[pi…

@fanf@mendeddrum.org
2025-07-17 11:42:03

from my link log —
Nearley.js: a toolkit for parsers written in JavaScript.
nearley.js.org/
saved 2025-06-22 dotat.at/:/TV…

@arXiv_csRO_bot@mastoxiv.page
2025-08-11 09:33:10

Incremental Language Understanding for Online Motion Planning of Robot Manipulators
Mitchell Abrams, Thies Oelerich, Christian Hartl-Nesic, Andreas Kugi, Matthias Scheutz
arxiv.org/abs/2508.06095

@jamesthebard@social.linux.pizza
2025-07-20 07:39:20

Got the documentation for the dice parser software online and now I can close the laptop and relax a bit. I think it still needs some cleaning up, but it's good enough for now.
#python

A screenshot of the front page of the DiceParser documentation written using mkdocs.
@fanf@mendeddrum.org
2025-06-17 14:42:03

from my link log —
IELR(1): practical LR(1) parser tables for non-LR(1) grammars with conflict resolution.
people.computing.clemson.edu/~
saved 2025-06-05

@arXiv_csPL_bot@mastoxiv.page
2025-07-03 08:02:40

Advanced LPeg techniques: A dual case study approach
Zixuan Zhu
arxiv.org/abs/2507.01272 arxiv.org/pdf/2507.01272

@fanf@mendeddrum.org
2025-05-31 14:42:03

from my link log —
comrak: a CommonMark and GFM compatible Markdown parser and renderer in Rust.
github.com/kivikakk/comrak
saved 2025-03-31

@arXiv_csDB_bot@mastoxiv.page
2025-07-03 08:03:10

PathDB: A system for evaluating regular path queries
Roberto Garc\'ia, Renzo Angles, Vicente Rojas, Sebasti\'an Ferrada
arxiv.org/abs/2507.01755

@jamesthebard@social.linux.pizza
2025-07-18 17:30:00

Okay, added a few more features and I'm really liking the results. I added the `-` operator for `dice_groups` which was a bit more tricky than I thought it'd be. I also added the ability to roll a dice group multiple times via a `x`|`*` operator. I removed the requirement that a dice group has to have a damage type associated with it since the only way you can roll something like `1d4-1` is in a dice group since there is a minimum value of 1 associated with it.
The code liv…

The output of the parser tree showing how the program handles the dice syntax.  After that is the result of the roll.
@arXiv_csPL_bot@mastoxiv.page
2025-07-01 08:26:23

Compiling a Q# Subset to QASM 3.0 in TypeScript via a JSON Based IR
Marcus Edwards
arxiv.org/abs/2506.23407 arxiv.org…

@arXiv_csRO_bot@mastoxiv.page
2025-08-08 09:31:22

GhostShell: Streaming LLM Function Calls for Concurrent Embodied Programming
Jian Gong, Youwei Huang, Bo Yuan, Ming Zhu, Juncheng Zhan, Jinke Wang, Hang Shu, Mingyue Xiong, Yanjun Ye, Yufan Zu, Yang Zhou, Yihan Ding, Xuannian Chen, Xingyu Lu, Runjie Ban, Bingchao Huang, Fusen Liu
arxiv.org/abs/2508.05298

@jamesthebard@social.linux.pizza
2025-07-18 02:00:55

So, I think I'm done for the evening. Managed to get the dice roller working as intended with the `lark` parser which is a Christmas miracle. I'll clean it up tomorrow and make it look a bit better code-wise, but I'm pretty happy it does what it says it does. I'll probably roll this into the Pathfinder 2E TUI character sheet.
```
$ python main.py
Roll to parse: (3d8 2d6 15)[lightning] (4d10)[piercing] 3d8
===============================================…

@arXiv_csPL_bot@mastoxiv.page
2025-08-14 07:38:22

Invertible Syntax without the Tuples (Functional Pearl)
Mathieu Boespflug, Arnaud Spiwack
arxiv.org/abs/2508.09856 arxiv.org/pdf/2508.09856…

@fanf@mendeddrum.org
2025-05-29 17:42:03

from my link log —
LALRPOP: a parser generator for Rust.
smallcultfollowing.com/babyste
saved 2025-03-31

@mgorny@social.treehouse.systems
2025-05-28 13:01:55

A #Python package that can't be installed on Python 3.14, because the author had to implement a 200 line custom AST parser in `setup.py`? Yeah, why not.
#Gentoo #packaging #setuptools

@fanf@mendeddrum.org
2025-06-28 17:42:03

from my link log —
The IELR(1) algorithm for generating minimal LR(1) parser tables for non-LR(1) grammars with conflict resolution.
people.computing.clemson.edu/~
saved 2025-…