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: a07f3367d7,4fd338e56f592cfb X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.217.195 with SMTP id hn3mr45874906qab.5.1367327653832; Tue, 30 Apr 2013 06:14:13 -0700 (PDT) X-Received: by 10.49.95.137 with SMTP id dk9mr1711432qeb.34.1367327653685; Tue, 30 Apr 2013 06:14:13 -0700 (PDT) Path: ef9ni36305qab.0!nntp.google.com!s14no1209109qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 30 Apr 2013 06:14:13 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.241.99.204; posting-account=nd46uAkAAAB2IU3eJoKQE6q_ACEyvPP_ NNTP-Posting-Host: 85.241.99.204 References: <85sj2aydwi.fsf@stephe-leake.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <80d9c981-1487-4a2e-97a4-9965174e9cea@googlegroups.com> Subject: Re: LALR parser question From: john@peppermind.com Injection-Date: Tue, 30 Apr 2013 13:14:13 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-04-30T06:14:13-07:00 List-Id: > I've started toying around with building an Ada 2012 parser using the=20 >=20 > ANTLR v4 parser generator tool. I haven't gotten very far with this yet= =20 >=20 > so it's too early to draw any conclusions but ANTLR is quite powerful so= =20 >=20 > I'm hoping the process will be fairly enjoyable... educational at least := ) For a small home-brewn language based on a virtual machine written in Ada I= am currently investigating whether I should use a parser generator that ca= n generate Ada code or write the tokenizer/parser by hand. I'm currently te= nding towards OpenToken but also looking for alternatives, so I was wonderi= ng:=20 Have you checked ANTLR's Ada backend? It seems to have been lying dormant f= or a long time. How usable is it?