Path: csiph.com!xmission!news.alt.net!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Jan Ziak <0xe2.0x9a.0x9b@gmail.com> Newsgroups: comp.compilers Subject: Re: Parsing using a Graphics Processing Unit (GPU)? Date: Wed, 2 Sep 2020 02:13:04 -0700 (PDT) Organization: Compilers Central Lines: 11 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <20-09-008@comp.compilers> References: <20-09-001@comp.compilers> <20-09-002@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="5669"; mail-complaints-to="abuse@iecc.com" Keywords: parallel Posted-Date: 02 Sep 2020 10:05:06 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com In-Reply-To: <20-09-002@comp.compilers> Xref: csiph.com comp.compilers:2579 On Tuesday, September 1, 2020 at 6:03:27 PM UTC+2, Christian Gollwitzer wrote: > The parser reads the input as a stream of > tokens; you can't split the C file at some arbitrary point in half and > parse both parts independently. Of course you can split asm/C/C++/Go/Python/Rust/etc file at arbitrary points: when the state of the lexical analyzer collapses to a single state starting from a random file position with an arbitrary starting state. -atom