TRX: A Formally Verified Parser Interpreter

Computer Science – Logic in Computer Science

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

26 pages, LMCS

Scientific paper

10.2168/LMCS-7(2:18)2011

Parsing is an important problem in computer science and yet surprisingly little attention has been devoted to its formal verification. In this paper, we present TRX: a parser interpreter formally developed in the proof assistant Coq, capable of producing formally correct parsers. We are using parsing expression grammars (PEGs), a formalism essentially representing recursive descent parsing, which we consider an attractive alternative to context-free grammars (CFGs). From this formalization we can extract a parser for an arbitrary PEG grammar with the warranty of total correctness, i.e., the resulting parser is terminating and correct with respect to its grammar and the semantics of PEGs; both properties formally proven in Coq.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

TRX: A Formally Verified Parser Interpreter does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with TRX: A Formally Verified Parser Interpreter, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and TRX: A Formally Verified Parser Interpreter will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-26537

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.