Validating LR(1) Parsers. Jourdan, J., Pottier, F., & Leroy, X. In ESOP 2012 - Programming Languages and Systems - 21st European Symposium on Programming, volume 7211, of Lecture Notes in Computer Science, pages 397–416, Berlin, Heidelberg, March, 2012. Springer-Verlag. ZSCC: 0000072 event-place: Tallinn, Estonia Citation Key Alias: jourdan2012a, jourdan2012b, jourdan2012validating, jourdan:hal-01077321
Validating LR(1) Parsers [link]Paper  doi  abstract   bibtex   
An LR(1) parser is a finite-state automaton, equipped with a stack, which uses a combination of its current state and one lookahead symbol in order to determine which action to perform next. We present a validator which, when applied to a context-free grammar G\textbackslashmathcal G and an automaton A\textbackslashmathcal A, checks that A\textbackslashmathcal A and G\textbackslashmathcal G agree. Validating the parser provides the correctness guarantees required by verified compilers and other high-assurance software that involves parsing. The validation process is independent of which technique was used to construct A\textbackslashmathcal A. The validator is implemented and proved correct using the Coq proof assistant. As an application, we build a formally-verified parser for the C99 language.
@inproceedings{jourdan_validating_2012,
	address = {Berlin, Heidelberg},
	series = {Lecture {Notes} in {Computer} {Science}},
	title = {Validating {LR}(1) {Parsers}},
	volume = {7211},
	isbn = {978-3-642-28869-2},
	url = {http://dx.doi.org/10.1007/978-3-642-28869-2_20},
	doi = {10/gf9gsj},
	abstract = {An LR(1) parser is a finite-state automaton, equipped with a stack, which uses a combination of its current state and one lookahead symbol in order to determine which action to perform next. We present a validator which, when applied to a context-free grammar G{\textbackslash}mathcal G and an automaton A{\textbackslash}mathcal A, checks that A{\textbackslash}mathcal A and G{\textbackslash}mathcal G agree. Validating the parser provides the correctness guarantees required by verified compilers and other high-assurance software that involves parsing. The validation process is independent of which technique was used to construct A{\textbackslash}mathcal A. The validator is implemented and proved correct using the Coq proof assistant. As an application, we build a formally-verified parser for the C99 language.},
	language = {en},
	booktitle = {{ESOP} 2012 - {Programming} {Languages} and {Systems} - 21st {European} {Symposium} on {Programming}},
	publisher = {Springer-Verlag},
	author = {Jourdan, Jacques-Henri and Pottier, François and Leroy, Xavier},
	editor = {Seidl, Helmut},
	month = mar,
	year = {2012},
	note = {ZSCC: 0000072 
event-place: Tallinn, Estonia
Citation Key Alias: jourdan2012a, jourdan2012b, jourdan2012validating, jourdan:hal-01077321},
	keywords = {Abstract Syntax Tree, Input Stream, Parse Tree, Semantic Action, Terminal Symbol},
	pages = {397--416}
}

Downloads: 0