From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,21a8034919747a69 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 11 Feb 2007 07:59:22 -0600 Date: Sun, 11 Feb 2007 08:45:06 -0500 From: Jeffrey Creem User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Splitting packages in per-procedure separate files References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <48j3a4-77i.ln1@newserver.thecreems.com> NNTP-Posting-Host: 24.147.74.171 X-Trace: sv3-1WwTtzURxjzlwoiT7Jc/MJZuTcaPnrTNluOgyQSoEgoJAmQ6At+PFQd0Wiy4iLn0YOqAhHHfEh0iDVr!tgq/QqrkdqGDYSE8I3VBwAimk44KgrzsEYuF82R/y95FezIInxhhtckTA490XqohCGAWSkP/5ha9!LpY= X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:9259 Date: 2007-02-11T08:45:06-05:00 List-Id: Francesco Bochicchio wrote: > Hi all, > > due to coding standards which were not enforced when someone else coded, > I now have to split the packages of a 20000 LOC ADA program, putting a > single procedure per file (using the separate clause). > > While this is not a very big work. it would be nice t find some tool to > help in this task. > > Alternatively, I was tinking to prepare some script myself (Python + some > parser library ). In this case, it would help to have ADA grammar rules > written in yacc-style or similar. This could also be useful in similar > situation in the future. I'm not sure that this got posted http://www.adaic.org/standards/95lrm/grammar9x.y Used to be easy to find the YACC Ada 95 Grammar but there are so many dead links for it now it certainly clouds things a bit. I am not even sure this is the "best" one.