Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Thomas Koenig Newsgroups: comp.compilers Subject: Re: Does the theory and algorithms of compiler design also apply to data formats? Date: Sun, 23 Jan 2022 21:05:40 -0000 (UTC) Organization: news.netcologne.de Lines: 15 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <22-01-108@comp.compilers> References: <22-01-100@comp.compilers> <22-01-102@comp.compilers> 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 X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:2866 gah4 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.