Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #385179

Re: Which newsgroup for json parsing?

From Josef Möllers <josef@invalid.invalid>
Newsgroups comp.lang.c
Subject Re: Which newsgroup for json parsing?
Date 2024-05-27 13:51 +0200
Message-ID <lbjaepFm1vbU1@mid.individual.net> (permalink)
References <la1bjoF2anmU1@mid.individual.net> <v25c4k$1lhfu$1@dont-email.me> <lamvvbFb0g2U1@mid.individual.net> <v2aa1g$2q337$1@dont-email.me>

Show all headers | View raw


On 18.05.24 15:21, Mikko wrote:
> On 2024-05-16 18:01:15 +0000, Josef Möllers said:
[...]
>> What one could do would be to use LEX to recognize the tokens and the 
>> write a recursive descent parser in plain C.
> 
> As YACC is too heavy I would use only LEX and do with C what LEX alone
> cannot do.

That is exactly what I wrote.

[...]


>> But, as I wrote in another posting, I have switched to libjson-c5 and 
>> the code works fine.
> 
> That the code works fine is the most important aspect.

In my 40+ years of experience in IT/programming (I graduated 1981 from a 
Dutch polytechnic "HIO" in Computer Science and have retired in 2022) I 
have learnt that "works fine" is only part of the work. Maintainability 
should be added as well. Even if it is code written for one's personal 
use only, it may need some work later and then it's crucial to have it 
maintainable.

But maybe you think so too,

Josef

Back to comp.lang.c | Previous | NextNext in thread | Find similar


Thread

Re: Which newsgroup for json parsing? Josef Möllers <josef@invalid.invalid> - 2024-05-27 13:51 +0200
  Re: Which newsgroup for json parsing? Vir Campestris <vir.campestris@invalid.invalid> - 2024-05-27 21:18 +0100
    Re: Which newsgroup for json parsing? Josef Möllers <josef@invalid.invalid> - 2024-05-28 12:33 +0200
      Re: Which newsgroup for json parsing? Michael S <already5chosen@yahoo.com> - 2024-05-28 14:45 +0300
        Re: Which newsgroup for json parsing? Josef Möllers <josef@invalid.invalid> - 2024-05-28 20:15 +0200
        Re: Which newsgroup for json parsing? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2024-05-29 17:14 +0100
          Re: Which newsgroup for json parsing? David Brown <david.brown@hesbynett.no> - 2024-05-29 19:23 +0200
            Re: Which newsgroup for json parsing? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2024-05-29 23:32 +0100
        Re: Which newsgroup for json parsing? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2024-05-30 19:23 -0700
      Re: Which newsgroup for json parsing? Vir Campestris <vir.campestris@invalid.invalid> - 2024-05-30 17:49 +0100

csiph-web