Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Andy Walker Newsgroups: comp.compilers Subject: Re: Parsing multiple inputs, was Why no shift-shift conflicts? Date: Fri, 28 Jan 2022 19:42:54 +0000 Organization: Not very much Lines: 20 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <22-01-119@comp.compilers> References: <22-01-112@comp.compilers> <22-01-115@comp.compilers> <22-01-116@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="74459"; mail-complaints-to="abuse@iecc.com" Keywords: parse Posted-Date: 28 Jan 2022 15:22:44 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Content-Language: en-GB Xref: csiph.com comp.compilers:2876 On 28/01/2022 10:13, I wrote: >     I suppose there is no conceivable use for a parsing process > that operates on several collateral input streams? [...] > [It seems pretty exotic.  The obvious first question is whether you can > combine the multiple input streams in a prepass and parse them as one. -John] You can; /unless/ there are unresolved shift/shift conflicts! I suppose a more useful obvious question would be whether there are any real-life applications for collateral multiple input streams. There are certainly uses for multiple inputs; but these are usually resolved by some mechanism such as interrupts or polling, rather than by parsing, and the streams are handled separately rather than stitched together. It's possible that there is a chicken-egg situation; no-one thinks of "compiling" multiple streams because there are no tools to do it, as there are no applications that anyone has thought of for it. -- Andy Walker, Nottingham. Andy's music pages: www.cuboid.me.uk/andy/Music Composer of the day: www.cuboid.me.uk/andy/Music/Composers/Simpson