9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Steve Simon <steve@quintile.net>
To: 9front@9front.org
Subject: Re: [9front] Question about parsing a json file
Date: Wed, 27 Apr 2022 20:33:52 +0100	[thread overview]
Message-ID: <B30360DD-B940-4D7E-AC83-DB43A35A791C@quintile.net> (raw)
In-Reply-To: <538a0b5c-ec13-415d-6084-826f34c9fa83@disroot.org>

i think parsing arbitary json reliably in rc would be very hard. it is fairly straightforward in c. i wrote a simple parser (in my contrib) with a beautifier as a sample app; thought that is not what you asked for…

-Steve


> On 27 Apr 2022, at 7:44 pm, Jacobo Da Riva Muñoz <jdrm@disroot.org> wrote:
> 
> Hi!!
> 
> I started a 'little' rc program to read and post beeps to Mastodon. My idea is to create a simple but functional program. I'm not a developer, I'm a devops, but I think this is a good idea to start developing on 9front. The main problem is How can a json file be parsed in rc? Does anyone have an idea how to fix this? Any experience will be welcome.
> 
> Regards
> 
> 

  parent reply	other threads:[~2022-04-27 19:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-27 18:43 Jacobo Da Riva Muñoz
2022-04-27 19:03 ` Stanley Lieber
2022-04-27 19:33 ` Steve Simon [this message]
2022-04-27 20:38   ` Jacobo Da Riva Muñoz
2022-04-27 20:45     ` umbraticus
2022-04-27 20:58       ` sirjofri
2022-04-28  8:37         ` Steve Simon
2022-05-01  2:43         ` jpeg
2022-05-02  7:19           ` Jacobo Da Riva Muñoz
     [not found]             ` <CAD3fX0OdUfjC2DueZu5oDno8tqffU3sZGxSffOsRLXQ+Sd1xyA@mail.gmail.com>
2022-05-02  7:25               ` phil9
2022-05-02  8:30                 ` Julien Blanchard
2022-05-03 13:27                   ` Philip Silva
2022-05-03 13:55                     ` Stanley Lieber
2022-05-03 15:12                       ` Philip Silva
2022-05-05  9:34                       ` Jacobo Da Riva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B30360DD-B940-4D7E-AC83-DB43A35A791C@quintile.net \
    --to=steve@quintile.net \
    --cc=9front@9front.org \
    --subject='Re: [9front] Question about parsing a json file' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).