Liste des Groupes | Revenir à cl c |
Bart <bc@freeuk.com> writes:My systems language is actually one of the closest to C in its type system, language level, and the sorts of things it can do.On 04/12/2024 19:23, Janis Papanagnou wrote:Nobody has made that claim other than yourself.On 04.12.2024 18:43, Bart wrote:>>[...]>
Do you use a formal grammar when parsing a CSV file, or something
equally trivial?
Is that the reason why there's so many versions around that are
incompatible? CSV-parsing is not "trivial" if you look into the
details; you have to specify these (at first glance not obvious
details) to be sure that your "CSV-data" works not only with your
"CSV-parser" but that there's a common understanding of the CSV-
"language". (It's only few details; delimiters in string values,
escapes, and such, but enough to initiate incompatible formats.)
Yes, of course; if there would have been a formal specification
in the first place we wouldn't have the mess we now actually have.
>
And if you anyway write your tools only for yourself, and if you
don't intend to exchange data with others, no one cares what you
think a/the "CSV-format" actually is.
>
But we weren't discussing such comparably simple structures; we
have been discussing programming languages (and their grammars).
And most of us are considering sensible languages, not privately
hacked up toy languages or implementations of personal hobbies.
You really hate toy languages don't you?
I don't feel that your 'toy' languages are interesting
in the context of comp.lang.c.
No, JP was. But of course you wouldn't be rude to him or make belittling remarks.>Now you're being ridiculous.
The fact is that a compiler is only a bit of software like anything
else. It might take some input, process it, and produce output.
>
When someone has claimed to write some program, do you always demand
they produce a 'formal grammar' for it?
Intentionally, no doubt, to induceWow. All this Bart-baiting ('fool', 'ignorant', 'hacker', 'feeble', 'idiot', mentioning 'Professional' with a clear insinuation that I wasn't, 'toy' this and 'toy' that), isn't exactly that?
a response.
And you know that for a fact?>Most real-world working applications start with a formal specification.
What is the complexity threshold anyway for something to need such a
formal specification?
As do most other real-world projects whether it is a payroll applicationI've done a payroll app. It was a custom job and the rough specs were provided by my client. There was never a formal paper spec. It was part of a larger app and ran a $1m a year business for over 20 years.
or a massive construction project like Vogtle Unit #3.
snip rant
Les messages affichés proviennent d'usenet.