Re: Does the theory and algorithms of compiler design also apply to data formats?

Thomas Koenig <tkoenig@netcologne.de>
Sun, 23 Jan 2022 21:05:40 -0000 (UTC)

          From comp.compilers

Related articles
| List of all articles for this month |
From: Thomas Koenig <tkoenig@netcologne.de>
Newsgroups: comp.compilers
Date: Sun, 23 Jan 2022 21:05:40 -0000 (UTC)
Organization: news.netcologne.de
References: 22-01-100 22-01-102
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="5095"; mail-complaints-to="abuse@iecc.com"
Keywords: syntax
Posted-Date: 23 Jan 2022 17:16:00 EST

gah4 <gah4@u.washington.edu> schrieb:


> In the cases where a data format has enough structure to be parsable with
> compiler tools, it is usually named a programming language.


I think STEP (the CAD graphics format) is an exception.


A language called EXPRESS (specified in something like BNF) is used
to specify a "schema", and this specification can then be used to
write parsers for the actual file. All of this is specified in
standards which are quite expensive.


When I had occasion to write out CAD data from programs I wrote
myself, I looked at this workflow for an hour and decided to use
IGES instead.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.