BSP (Berry-Sethi Parser) is a new SW tool for parsing ambiguous regular expressions (r.e.). Given a r.e., the BSP tool generates a DFA. Then the DFA processes the given input string, recognizes it and outputs, depending on user choice, all the syntax trees or just the one selected by either the Greedy or the POSIX criterion. The BSP tool is a HTML page including JavaScript code, and can be executed by any browser. It is self-documented and is intended for educational purposes. See http://github.com/breveglieri/ebs.

BSP: A Parsing Tool for Ambiguous Regular Expressions

BREVEGLIERI, LUCA ODDONE;CRESPI REGHIZZI, STEFANO;MORZENTI, ANGELO CARLO
2015-01-01

Abstract

BSP (Berry-Sethi Parser) is a new SW tool for parsing ambiguous regular expressions (r.e.). Given a r.e., the BSP tool generates a DFA. Then the DFA processes the given input string, recognizes it and outputs, depending on user choice, all the syntax trees or just the one selected by either the Greedy or the POSIX criterion. The BSP tool is a HTML page including JavaScript code, and can be executed by any browser. It is self-documented and is intended for educational purposes. See http://github.com/breveglieri/ebs.
2015
978-3-319-22359-9
regular expression, RE, parsing, Berry-Sethi algorithm, ambiguity
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11311/980953
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? ND
social impact