{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,1]],"date-time":"2025-10-01T16:21:49Z","timestamp":1759335709329,"version":"3.37.3"},"reference-count":36,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2021,3,18]],"date-time":"2021-03-18T00:00:00Z","timestamp":1616025600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2021,3,18]],"date-time":"2021-03-18T00:00:00Z","timestamp":1616025600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Multimed Tools Appl"],"published-print":{"date-parts":[[2022,1]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>In this paper, we present <jats:sc>ParVis<\/jats:sc>, an interactive visual system for the animated visualization of logged parser trace executions. The system allows a parser implementer to create a visualizer for generated parsers by simply defining a JavaScript module that maps each logged parser instruction into a set of events driving the visual system interface. The result is a set of interacting graphical\/text windows that allows users to explore logged parser executions and helps them to have a complete understanding of how the parser behaves during its execution on a given input. We used our system to visualize the behavior of textual as well as visual parsers and describe here two of these uses. Moreover, in order to validate the efficacy of our system, we ran a user experiment where students analyzed a CUP-generated parser both with <jats:sc>ParVis<\/jats:sc>, instantiated to LALR parsers, and the standard CUP debug facilities. The results show that students can indeed analyze parser behavior and find mistakes in parser specifications more easily and quickly using <jats:sc>ParVis<\/jats:sc>. In particular, in some parser design tasks, using <jats:sc>ParVis<\/jats:sc> participants achieved a higher success rate of 50<jats:italic>%<\/jats:italic> in 42<jats:italic>%<\/jats:italic> less time with respect to the baseline system.<\/jats:p>","DOI":"10.1007\/s11042-021-10624-6","type":"journal-article","created":{"date-parts":[[2021,3,18]],"date-time":"2021-03-18T19:38:11Z","timestamp":1616096291000},"page":"299-317","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":4,"title":["Visual exploration of visual parser execution"],"prefix":"10.1007","volume":"81","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-3816-7765","authenticated-orcid":false,"given":"Gennaro","family":"Costagliola","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6922-5529","authenticated-orcid":false,"given":"Mattia","family":"De Rosa","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3244-3650","authenticated-orcid":false,"given":"Vittorio","family":"Fuccella","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8968-9013","authenticated-orcid":false,"given":"Mark","family":"Minas","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"297","published-online":{"date-parts":[[2021,3,18]]},"reference":[{"key":"10624_CR1","doi-asserted-by":"publisher","unstructured":"Andrews K, Henry RR, Yamamoto WK (1988) Design and implementation of the UW illustrated compiler. In: Proceedings of the ACM SIGPLAN 1988 conference on programming language design and implementation, PLDI \u201988. https:\/\/doi.org\/10.1145\/53990.54001. Association for Computing Machinery, New York, pp 105\u2013114","DOI":"10.1145\/53990.54001"},{"issue":"1","key":"10624_CR2","doi-asserted-by":"publisher","first-page":"208","DOI":"10.1145\/191033.191121","volume":"26","author":"SA Blythe","year":"1994","unstructured":"Blythe SA, James MC, Rodger SH (1994) LLParse and LRparse: visual and interactive tools for parsing. SIGCSE Bull 26(1):208\u2013212. https:\/\/doi.org\/10.1145\/191033.191121","journal-title":"SIGCSE Bull"},{"key":"10624_CR3","unstructured":"Brooke J (1996) SUS: a \u2018quick and dirty\u2019 usability scale. In: Jordan PW, Thomas B, Weerdmeester BW, McClelland IL (eds) Usability evaluation in industry, chap. 21. Taylor and Francis, London, pp 189\u2013194"},{"issue":"01","key":"10624_CR4","doi-asserted-by":"publisher","first-page":"28","DOI":"10.1109\/MS.1985.229778","volume":"2","author":"MH Brown","year":"1985","unstructured":"Brown MH, Sedgewick R (1985) Techniques for algorithm animation. IEEE Softw 2(01):28\u201339. https:\/\/doi.org\/10.1109\/MS.1985.229778","journal-title":"IEEE Softw"},{"key":"10624_CR5","doi-asserted-by":"publisher","unstructured":"Costagliola G, De Rosa M, Fuccella V, Minas M (2020) ParVis: a visual tool for exploring parser execution traces. In: Proceedings of the 2020 international conference on advanced visual interfaces, AVI \u201920. https:\/\/doi.org\/10.1145\/3399715.3399853. Association for Computing Machinery, New York","DOI":"10.1145\/3399715.3399853"},{"issue":"4","key":"10624_CR6","doi-asserted-by":"publisher","first-page":"335","DOI":"10.1177\/1473871617714520","volume":"17","author":"G Costagliola","year":"2018","unstructured":"Costagliola G, De Rosa M, Fuccella V, Perna S (2018) Visual languages: a graphical review. Inf Vis 17(4):335\u2013350. https:\/\/doi.org\/10.1177\/1473871617714520","journal-title":"Inf Vis"},{"key":"10624_CR7","doi-asserted-by":"crossref","unstructured":"Costagliola G, De Rosa M, Minas M (2019) Visual parsing and parser visualization. In: 2019 IEEE symposium on visual languages and human-centric computing (VL\/HCC). IEEE Computer Society, Los Alamitos, pp 243\u2013247","DOI":"10.1109\/VLHCC.2019.8818802"},{"key":"10624_CR8","doi-asserted-by":"publisher","unstructured":"Costagliola G, De Rosa M, Minas M (2020) Visualizing visual parser execution. In: Proc. of the 26th int. DMS conf. on visualization and visual languages, pp 57\u201366. https:\/\/doi.org\/10.18293\/DMSVIVA20-013","DOI":"10.18293\/DMSVIVA20-013"},{"issue":"4","key":"10624_CR9","doi-asserted-by":"publisher","first-page":"431","DOI":"10.1145\/1040291.1040293","volume":"13","author":"G Costagliola","year":"2004","unstructured":"Costagliola G, Deufemia V, Polese G (2004) A framework for modeling and implementing visual notations with applications to software engineering. ACM Trans, Softw Eng Methodol 13(4):431\u2013487. https:\/\/doi.org\/10.1145\/1040291.1040293","journal-title":"ACM Trans, Softw Eng Methodol"},{"key":"10624_CR10","doi-asserted-by":"publisher","unstructured":"Drewes F, Hoffmann B, Minas M (2015) Predictive top-down parsing for hyperedge replacement grammars. In: Parisi-Presicce F, Westfechtel B (eds) Graph transformation, 8th international conference, ICGT 2015, L\u2019Aquila, Italy, Lecture Notes in Computer Science, vol 9151, pp 19\u201334. Springer International Publishing. https:\/\/doi.org\/10.1007\/978-3-319-21145-9_2","DOI":"10.1007\/978-3-319-21145-9_2"},{"key":"10624_CR11","doi-asserted-by":"publisher","unstructured":"Drewes F, Hoffmann B, Minas M (2017) Predictive shift-reduce parsing for hyperedge replacement grammars. In: de Lara J, Plump D (eds) Graph transformation: 10th international conference, ICGT 2017, held as part of STAF 2017, Marburg, Germany, July 18-19, 2017, Proceedings, Lecture Notes in Computer Science, vol 10373, pp 106\u2013122. Springer International Publishing, Cham. https:\/\/doi.org\/10.1007\/978-3-319-61470-0_7","DOI":"10.1007\/978-3-319-61470-0_7"},{"key":"10624_CR12","doi-asserted-by":"publisher","first-page":"303","DOI":"10.1016\/j.jlamp.2018.12.006","volume":"104","author":"F Drewes","year":"2019","unstructured":"Drewes F, Hoffmann B, Minas M (2019) Formalization and correctness of predictive shift-reduce parsers for graph grammars based on hyperedge replacement. Journal of Logical and Algebraic Methods in Programming 104:303\u2013341. https:\/\/doi.org\/10.1016\/j.jlamp.2018.12.006. Preprint available also at arXiv:1812.11927[cs.FL]","journal-title":"Journal of Logical and Algebraic Methods in Programming"},{"key":"10624_CR13","unstructured":"Economopoulos GR (2006) Generalized LR parsing algorithms. Ph.D. thesis, Royal Holloway, University of London, UK. http:\/\/ethos.bl.uk\/OrderDetails.do?uin=uk.bl.ethos.435358"},{"key":"10624_CR14","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0013875","volume-title":"Hyperedge replacement: grammars and languages, Lecture Notes in Computer Science, vol 643","author":"A Habel","year":"1992","unstructured":"Habel A (1992) Hyperedge replacement: grammars and languages, Lecture Notes in Computer Science, vol 643. Springer, Berlin. https:\/\/doi.org\/10.1007\/BFb0013875"},{"key":"10624_CR15","doi-asserted-by":"publisher","unstructured":"Hoffmann B, Minas M (2019) Generalized predictive shift-reduce parsing for hyperedge replacement graph grammars. In: Mart\u00edn-Vide C, Okhotin A, Shapira D (eds) Language and automata theory and applications, 13th international conference, LATA 2019, St. Petersburg, Russia, March 26-29, 2019, Proceedings, Lecture Notes in Computer Science, vol 11417, pp 233\u2013245. Springer International Publishing, Cham. https:\/\/doi.org\/10.1007\/978-3-030-13435-8_17","DOI":"10.1007\/978-3-030-13435-8_17"},{"issue":"1","key":"10624_CR16","doi-asserted-by":"publisher","first-page":"43","DOI":"10.1145\/3002136","volume":"8","author":"A Jain","year":"2017","unstructured":"Jain A, Goyal A, Chakraborty P (2017) PPVT: a tool to visualize predictive parsing. ACM Inroads 8(1):43\u201347. https:\/\/doi.org\/10.1145\/3002136","journal-title":"ACM Inroads"},{"key":"10624_CR17","doi-asserted-by":"publisher","first-page":"97","DOI":"10.1016\/j.entcs.2004.06.008","volume":"110","author":"A Johnstone","year":"2004","unstructured":"Johnstone A, Scott E, Economopoulos G (2004) The grammar tool box: a case study comparing GLR parsing algorithms. Electronic Notes in Theoretical Computer Science 110:97\u2013113. https:\/\/doi.org\/10.1016\/j.entcs.2004.06.008","journal-title":"Electronic Notes in Theoretical Computer Science"},{"key":"10624_CR18","doi-asserted-by":"publisher","unstructured":"Jorgensen A, Economopoulos GR, Fischer B (2011) VLEx: visualizing a lexical analyzer generator - tool demonstration. In: Language descriptions, tools and applications, LDTA 2011, Saarbr\u00fccken, Germany, March 26-27, 2011. Proceeding, pp 12. https:\/\/doi.org\/10.1145\/1988783.1988795","DOI":"10.1145\/1988783.1988795"},{"key":"10624_CR19","doi-asserted-by":"publisher","unstructured":"Kaplan A, Shoup D (2000) CUPV\u2013a visualization tool for generated parsers. In: Proceedings of the Thirty-first SIGCSE technical symposium on computer science education, SIGCSE \u201900. https:\/\/doi.org\/10.1145\/330908.331801. Association for Computing Machinery, New York, pp 11\u201315","DOI":"10.1145\/330908.331801"},{"key":"10624_CR20","doi-asserted-by":"publisher","unstructured":"Karavirta V, Shaffer CA (2013) JSAV: the JavaScript Algorithm visualization library. In: Proceedings of the 18th ACM conference on innovation and technology in computer science education, ITiCSE \u201913. https:\/\/doi.org\/10.1145\/2462476.2462487. Association for Computing Machinery, New York, pp 159\u2013164","DOI":"10.1145\/2462476.2462487"},{"key":"10624_CR21","doi-asserted-by":"publisher","unstructured":"Khuri S, Sugono Y (1998) Animating parsing algorithms. In: Proceedings of the twenty-ninth SIGCSE technical symposium on computer science education, SIGCSE \u201998. https:\/\/doi.org\/10.1145\/273133.274303. Association for Computing Machinery, New York, pp 232\u2013236","DOI":"10.1145\/273133.274303"},{"key":"10624_CR22","doi-asserted-by":"publisher","first-page":"101","DOI":"10.1016\/j.scico.2012.03.001","volume":"79","author":"N Krebs","year":"2014","unstructured":"Krebs N, Schmitz L (2014) Jaccie: a Java-based compiler-compiler for generating, visualizing and debugging compiler components. Sci Comput Program 79:101\u2013115. https:\/\/doi.org\/10.1016\/j.scico.2012.03.001","journal-title":"Sci Comput Program"},{"key":"10624_CR23","doi-asserted-by":"publisher","unstructured":"Lovato ME, Kleyn MF (1995) Parser visualizations for developing grammars with Yacc. In: Proceedings of the twenty-sixth SIGCSE technical symposium on computer science education, SIGCSE \u201995. https:\/\/doi.org\/10.1145\/199688.199855. Association for Computing Machinery, New York, pp 345\u2013349","DOI":"10.1145\/199688.199855"},{"issue":"1","key":"10624_CR24","doi-asserted-by":"publisher","first-page":"61","DOI":"10.1109\/TE.2002.808277","volume":"46","author":"M Mernik","year":"2003","unstructured":"Mernik M, Zumer V (2003) An educational tool for teaching compiler construction. IEEE Trans Educ 46(1):61\u201368. https:\/\/doi.org\/10.1109\/TE.2002.808277","journal-title":"IEEE Trans Educ"},{"key":"10624_CR25","doi-asserted-by":"publisher","unstructured":"Minas M (2019) Speeding up generalized PSR parsers by memoization techniques. In: Echahed R, Plump D (eds) Proceedings tenth international workshop on graph computation models, Eindhoven, The Netherlands, 17th July 2019, Electronic Proceedings in Theoretical Computer Science, vol 309, pp 71\u201386. Open Publishing Association. https:\/\/doi.org\/10.4204\/EPTCS.309.4","DOI":"10.4204\/EPTCS.309.4"},{"key":"10624_CR26","doi-asserted-by":"publisher","first-page":"215","DOI":"10.1145\/196699.196702","volume":"1","author":"S Mukherjea","year":"1994","unstructured":"Mukherjea S, Stasko JT (1994) Toward visual debugging: integrating algorithm animation capabilities within a source level debugger. ACM Trans Comput-Hum Interact 1:215\u2013244","journal-title":"ACM Trans Comput-Hum Interact"},{"issue":"8","key":"10624_CR27","doi-asserted-by":"publisher","first-page":"120","DOI":"10.1145\/87416.87483","volume":"25","author":"D Resler","year":"1990","unstructured":"Resler D (1990) Visiclang\u2013a visible compiler for clang. SIGPLAN Not 25(8):120\u2013123. https:\/\/doi.org\/10.1145\/87416.87483","journal-title":"SIGPLAN Not"},{"key":"10624_CR28","doi-asserted-by":"publisher","unstructured":"Resler RD, Deaver DM (1998) VCOCO: a visualisation tool for teaching compilers. In: Proceedings of the 6th annual conference on the teaching of computing and the 3rd annual conference on integrating technology into computer science education: changing the delivery of computer science education, ITiCSE \u201998. https:\/\/doi.org\/10.1145\/282991.283123. Association for Computing Machinery, New York, pp 199\u2013202","DOI":"10.1145\/282991.283123"},{"key":"10624_CR29","unstructured":"Rodger SH, Finley TW (2006) JFLAP: an interactive formal languages and automata package. Jones & Bartlett Learning"},{"issue":"6","key":"10624_CR30","doi-asserted-by":"publisher","first-page":"2737","DOI":"10.1007\/s10639-018-9739-x","volume":"23","author":"S Sangal","year":"2018","unstructured":"Sangal S, Kataria S, Tyagi T, Gupta N, Kirtani Y, Agrawal S, Chakraborty P (2018) PAVT: a tool to visualize and teach parsing algorithms. Educ Inf Technol 23(6):2737\u20132764. https:\/\/doi.org\/10.1007\/s10639-018-9739-x","journal-title":"Educ Inf Technol"},{"key":"10624_CR31","doi-asserted-by":"publisher","unstructured":"Sauro J, Lewis JR (2012) Standardized Usability Questionnaires. In: M. Kaufmann (ed) Quantifying the user experience, pp 185\u2013240. https:\/\/doi.org\/10.1016\/B978-0-12-384968-7.00008-4","DOI":"10.1016\/B978-0-12-384968-7.00008-4"},{"issue":"3","key":"10624_CR32","doi-asserted-by":"publisher","first-page":"9:1","DOI":"10.1145\/1821996.1821997","volume":"10","author":"CA Shaffer","year":"2010","unstructured":"Shaffer CA, Cooper ML, Alon AJD, Akbar M, Stewart M, Ponce S, Edwards SH (2010) Algorithm visualization: the state of the field. Trans Comput Educ 10(3):9:1\u20139:22. https:\/\/doi.org\/10.1145\/1821996.1821997","journal-title":"Trans Comput Educ"},{"key":"10624_CR33","doi-asserted-by":"publisher","unstructured":"Stasko JT (1990) Simplifying algorithm animation with Tango. In: Proceedings of the 1990 IEEE workshop on visual languages, pp 1\u20136. https:\/\/doi.org\/10.1109\/WVL.1990.128374","DOI":"10.1109\/WVL.1990.128374"},{"key":"10624_CR34","unstructured":"Tomita M (1985) An efficient context-free parsing algorithm for natural languages. In: Proceedings of the 9th international joint conference on artificial intelligence - vol 2, IJCAI\u201985, pp 756\u2013764. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA. http:\/\/dl.acm.org\/citation.cfm?id=1623611.1623625"},{"issue":"1","key":"10624_CR35","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1002\/(SICI)1097-024X(199901)29:1<1::AID-SPE216>3.0.CO;2-N","volume":"29","author":"EL White","year":"1999","unstructured":"White EL, Ruby J, Deddens LD (1999) Software visualization of LR parsing and synthesized attribute evaluation. Software: Practice and Experience 29 (1):1\u201316. https:\/\/doi.org\/10.1002\/(SICI)1097-024X(199901)29:1<1::AID-SPE216>3.0.CO;2-N. https:\/\/onlinelibrary.wiley.com\/doi\/abs\/10.1002\/7-024X","journal-title":"Software: Practice and Experience"},{"key":"10624_CR36","doi-asserted-by":"crossref","unstructured":"Wilhelm R, Seidl H, Hack S (2013) Compiler design: syntactic and semantic analysis. Springer Publishing Company, Incorporated","DOI":"10.1007\/978-3-642-17540-4"}],"container-title":["Multimedia Tools and Applications"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s11042-021-10624-6.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s11042-021-10624-6\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s11042-021-10624-6.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,1,20]],"date-time":"2022-01-20T20:26:44Z","timestamp":1642710404000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s11042-021-10624-6"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,3,18]]},"references-count":36,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2022,1]]}},"alternative-id":["10624"],"URL":"https:\/\/doi.org\/10.1007\/s11042-021-10624-6","relation":{},"ISSN":["1380-7501","1573-7721"],"issn-type":[{"type":"print","value":"1380-7501"},{"type":"electronic","value":"1573-7721"}],"subject":[],"published":{"date-parts":[[2021,3,18]]},"assertion":[{"value":"22 June 2020","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"3 November 2020","order":2,"name":"revised","label":"Revised","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"29 January 2021","order":3,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"18 March 2021","order":4,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}}]}}