From: "G.B." <bauhaus@notmyhomepage.invalid>
Subject: Re: String view of file
Date: Mon, 21 Nov 2022 14:01:01 +0100 [thread overview]
Message-ID: <tlfsqd$3q843$2@dont-email.me> (raw)
In-Reply-To: <d1d4d819-8da2-4442-8bf9-a00c7ab6b4a5n@googlegroups.com>
On 21.11.22 09:30, Jesper Quorning wrote:
> I like to ask about
>
> Is it possible to write something like this with ADA
>
> ```Ada
> package my_rw_file is new file
> (name => "whatever"
> ,mode => read_write
> ,implementation => standard -- or portable or fast
> );
> package as_string is new. xxx(from => my_rw_file);
>
> -- parse (as_string);
> package data is new parse (as_string, format => markdown); -- or whatever
> ```
Do you mean, gobble up a file into a string
and then parse that? Yes, that's possible
in a number of ways.
next prev parent reply other threads:[~2022-11-21 13:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-21 8:30 String view of file Jesper Quorning
2022-11-21 13:01 ` G.B. [this message]
2022-11-21 13:48 ` Jeffrey R.Carter
2022-11-21 15:52 ` Niklas Holsti
2022-11-21 16:42 ` Jeffrey R.Carter
2022-11-21 17:29 ` Niklas Holsti
2022-11-21 15:18 ` Dmitry A. Kazakov
2022-11-21 16:11 ` Marius Amado-Alves
2022-11-21 17:29 ` Qunying
2022-11-21 21:43 ` Gautier write-only address
2023-01-01 23:36 ` Jesper Quorning
2023-01-02 18:57 ` Stephen Leake
2023-01-03 16:37 ` Jeffrey R.Carter
2023-01-03 17:02 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox