Elektrine lite

← Feed

@chemoelectric@masto.ai

Post #1864720

2026-05-01 18:39 UTC

In the src/plugins/50-decimal_float.c plugin. This is something that acts on about the third pass through the Pratt parser for the lexing phase. That’s how I am doing lexing. I am using NUD rules in a Pratt parser and going through the parser repeatedly until a fixed point is reached. It could be done in one pass (because my input reader has indefinite amounts of lookahead, I use Gnulib’s gl_xlist.h) but multiple passes makes it a little simpler.

Replies (0)

No replies.