Abstract
AbstractIn this paper, we present ParVis, 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 ParVis, 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 ParVis. In particular, in some parser design tasks, using ParVis participants achieved a higher success rate of 50% in 42% less time with respect to the baseline system.
Publisher
Springer Science and Business Media LLC
Subject
Computer Networks and Communications,Hardware and Architecture,Media Technology,Software
Reference36 articles.
1. 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 ’88. https://doi.org/10.1145/53990.54001. Association for Computing Machinery, New York, pp 105–114
2. Blythe SA, James MC, Rodger SH (1994) LLParse and LRparse: visual and interactive tools for parsing. SIGCSE Bull 26(1):208–212. https://doi.org/10.1145/191033.191121
3. Brooke J (1996) SUS: a ‘quick and dirty’ usability scale. In: Jordan PW, Thomas B, Weerdmeester BW, McClelland IL (eds) Usability evaluation in industry, chap. 21. Taylor and Francis, London, pp 189–194
4. Brown MH, Sedgewick R (1985) Techniques for algorithm animation. IEEE Softw 2(01):28–39. https://doi.org/10.1109/MS.1985.229778
5. 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 ’20. https://doi.org/10.1145/3399715.3399853. Association for Computing Machinery, New York
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献