[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using syntax tables to parse buffer content
From: |
Jean Louis |
Subject: |
Re: Using syntax tables to parse buffer content |
Date: |
Wed, 19 May 2021 02:21:13 +0300 |
User-agent: |
Mutt/2.0.6 (2021-03-06) |
* Eric Abrahamsen <eric@ericabrahamsen.net> [2021-05-19 01:54]:
> Jean Louis <bugs@gnu.support> writes:
>
> > * Eric Abrahamsen <eric@ericabrahamsen.net> [2021-05-19 00:04]:
> >> My main problem now is escaping: I don't know how to treat escaped
> >> special characters as non-special. The simplest example is in vCard
> >> parsing. A property line might look like this:
> >>
> >> URL;TYPE=homepage:https\://mygreatpage.com/
> >
> > That is when important "standards" like vCard are written by people
> > that lack global knowledge of data structures. Would they write it in
> > LISP data or at least XML, we could all easily parse it, including by
> > using other programming languages. But no...
>
> There have been further efforts based on XML and JSON, but nothing has
> quite gained the currency of vCard, so here we are...
Is it vCard that you wish to parse?
I have made some vCard exporting functions. But I would need
importing. Some packages already exist.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
https://rms-support-letter.github.io/