comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Writing a scanner and parser in Ada
Date: Sun, 24 Dec 2017 17:09:04 +0200
Date: 2017-12-24T17:09:04+02:00	[thread overview]
Message-ID: <fa9u8gFrekcU1@mid.individual.net> (raw)
In-Reply-To: <p1nqr5$1oer$1@gioia.aioe.org>

On 17-12-24 11:08 , Dmitry A. Kazakov wrote:
> On 2017-12-24 02:15, Yves Cloutier wrote:
>
>> I'd like to know if there are any examples of how to write a scanner
>> and parser in Ada.
>
> Table-driven parser:
>
>    http://www.dmitry-kazakov.de/ada/components.htm#Parsers_etc

Another useful tool is OpenToken:

http://stephe-leake.org/ada/opentoken.html

Quote: "OpenToken is a facility for performing token analysis and 
parsing within the Ada language. It supports two modes of parser 
programming; code generation similar to yacc, and Ada packages to 
construct the grammar and parse tables directly at run-time."

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .


  reply	other threads:[~2017-12-24 15:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-24  1:15 Writing a scanner and parser in Ada Yves Cloutier
2017-12-24  4:07 ` Robert Eachus
2017-12-25 16:32   ` Yves Cloutier
2017-12-24  9:08 ` Dmitry A. Kazakov
2017-12-24 15:09   ` Niklas Holsti [this message]
2017-12-25 16:37     ` Yves Cloutier
2017-12-25 16:35   ` Yves Cloutier
2017-12-25 17:08     ` Dmitry A. Kazakov
2017-12-25 18:57       ` Yves Cloutier
2017-12-25 19:19         ` Dmitry A. Kazakov
2017-12-26 18:06           ` Shark8
2017-12-26 21:45             ` Dmitry A. Kazakov
2017-12-26 22:20             ` Dmitry A. Kazakov
2017-12-24 14:40 ` Tero Koskinen
2017-12-25 16:36   ` Yves Cloutier
2017-12-24 15:33 ` Lucretia
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox