<x-rich><color><param>FFFF,0000,0000</param><bigger>Fast, Error Correcting
Parsing Combinators


</bigger></color>(Updated: Aug-19-1999)


I have placed a completely new set of parser combinators on the net at
http://www.cs.uu.nl/groups/ST/Software/Parse/.


I consider my old LL(1) combinators obsolete by now.



<color><param>FFFF,0000,0000</param>Why would you like to use these
Combinators?


</color>Have you always been intrigued by Combinator Parsers because
they allow you to:


       use the abstraction, typing and naming mechanism of Haskell

       create parsers dynamically

       keep life simple by not having to run a separate program in
order to generate a parser

       work with (limited forms of) infinite grammars


but did you not like:


       expensive backtracking implementations

       bad error reporting and error recovery properties

       my previous combinators because they required the grammar to be
LL(1)

       spurious shift-reduce conflicts reported by other parser
generating tools


then why not use my new parsing combinators? (Provided you have access
to the universal type extensions, as present in e.g. Hugs)


My parser combinators perform (without the programmer having to worry)
left-factorisation of the underlying grammar. The only restriction on
the grammar is that it should not be (neither

directly nor indirectly) left-recursive! If it is, you will soon find
out by running out of stack space. A paper describing the combinators
is in the works. Although the title above uses the word

"deterministic", this may be a bit misleading, since it is well known
fact that not all context free languages can be parsed
deterministically.


I hope this software is useful to you. If you have any comments do not
hesitate to contact me.


Doaitse Swierstra mailto:[EMAIL PROTECTED]

<smaller>_______________________________________________________________________
___

S. Doaitse Swierstra, Department of Computer Science, Utrecht
University

(Prof. Dr)            P.O.Box 80.089, 3508 TB UTRECHT,   the
Netherlands

                      Mail:  mailto:[EMAIL PROTECTED]

                      WWW:   http://www.cs.uu.nl/

                      PGP Public Key:
http://www.cs.uu.nl/people/doaitse/

                      tel:   +31 (30) 253 3962, fax: +31 (30) 2513791

__________________________________________________________________________

</smaller>


</x-rich>




Reply via email to