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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,21a8034919747a69,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.germany.com!feeder.news.tin.it!news-out.tin.it!spool.news.tin.it!not-for-mail From: Francesco Bochicchio Subject: Splitting packages in per-procedure separate files Date: Sat, 10 Feb 2007 17:23:12 +0100 User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) Message-Id: Newsgroups: comp.lang.ada MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Organization: TIN.IT (http://www.tin.it) X-Comments: Please send technical notifications to newsmaster@tin.it NNTP-Posting-Host: 82.55.255.215 X-Trace: 1171124726 reader2.news.tin.it 29423 82.55.255.215:3271 X-Complaints-To: Please send abuse reports to abuse@tin.it Xref: g2news2.google.com comp.lang.ada:9230 Date: 2007-02-10T17:23:12+01:00 List-Id: 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. Any help/pointer is appreciated. Thakns in advance. Ciao ----- FB