Rich, on Tue, 30 May 2023 13:28:33 -0400 you (Rich Felker ) wrote: > On Tue, May 30, 2023 at 08:46:36AM +0200, Jₑₙₛ Gustedt wrote: > > Rich, > > > > on Mon, 29 May 2023 21:48:22 -0400 you (Rich Felker > > ) wrote: > > > > > On Mon, May 29, 2023 at 09:21:55PM +0200, Jₑₙₛ Gustedt wrote: > [...] > [...] > > > [...] > > > [...] > > > [...] > [...] > [...] > > > > > > It sounds like the core issue is that you don't like the state > > > machine approach to how musl's printf processes format > > > specifiers. > > > > It is well suited for simple grammars, I agree with that, but here > > the grammar is becomming more complex. Be it just for the fact that > > you'd have to enlargen the set of possible values to match decimal > > digits. > > I don't think it's really any more complex. … It seems that we don't converge for this one. So it would probably better if you do a complete patch for this that satisfies you personally. I need the complete functionality to build on my 128 bit patches and to have a complete C23 system for my tests. So I will keep my variant in my series for the moment, and rebase on top of yours once that is ready and tested. (Same for `memset` by the way or any other patch that you guys think can be implemented better than I have foreseen.) Thanks Jₑₙₛ -- :: ICube :::::::::::::::::::::::::::::: deputy director :: :: Université de Strasbourg :::::::::::::::::::::: ICPS :: :: INRIA Nancy Grand Est :::::::::::::::::::::::: Camus :: :: :::::::::::::::::::::::::::::::::::: ☎ +33 368854536 :: :: https://icube-icps.unistra.fr/index.php/Jens_Gustedt ::