Path: csiph.com!3.us.feeder.erje.net!feeder.erje.net!2.us.feeder.erje.net!newspeer1.nac.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: "lucretia9@lycos.co.uk" Newsgroups: comp.compilers Subject: Re: Designing a Domain-specific language Date: Wed, 24 May 2017 04:13:19 -0700 (PDT) Organization: Compilers Central Lines: 10 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <17-05-010@comp.compilers> References: <17-05-007@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Injection-Info: miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="63248"; mail-complaints-to="abuse@iecc.com" Keywords: design Posted-Date: 25 May 2017 10:58:56 EDT 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:1877 Don't do what C and C++ do and implement includes, it's a severely brain dead approach. Implement a real module / unit / package system and when the compiler reaches and import / use / with / whatever statement, the compiler needs to read in the symbol table for that. Do what Ada does and allow the driver to take many files and just compile them. Luke.