LLparse and LRparse: visual and interactive tools for parsing

被引:8
|
作者
Blythe, Stephen A. [1 ]
James, Michael C. [1 ]
Rodger, Susan H. [1 ]
机构
[1] Rensselaer Polytechnic Inst, Troy, United States
关键词
Automata theory - Computational grammars - Computer programming languages - Formal languages - Formal logic - Interactive computer graphics - Program compilers - Set theory - Software engineering - User interfaces - Visualization;
D O I
10.1145/191033.191121
中图分类号
学科分类号
摘要
This paper describes instructional tools, LLparse and LRparse, for visualizing and interacting with small examples of LL and LR parsing. These tools can be used to understand the process of constructing LL(1) and LR(1) parse tables through a series of steps in which users receive feedback on the correctness of each step before moving on to the next step. For example, in LRparse, the user initially enters an LR(1) grammar, calculates FIRST and FOLLOW sets, graphically constructs a deterministic finite automation of item sets, and finally constructs the LR(1) parsing table. Upon completion of the constructed table, the user can observe a visualization of the parsing of input strings. These tools can be used to provide problem solving feedback in courses on automata theory or computer design.
引用
收藏
页码:208 / 212
相关论文
共 50 条
  • [21] INCREMENTAL PARSING FOR SOFTWARE MAINTENANCE TOOLS
    VONMAYRHAUSER, A
    ARCHIE, K
    WEBER, N
    JOURNAL OF SYSTEMS AND SOFTWARE, 1993, 23 (03) : 235 - 243
  • [22] Interactive visual tools as triggers of collaborative reasoning in entry-level pathology
    Nivala, Markus
    Rystedt, Hans
    Saljo, Roger
    Kronqvist, Pauliina
    Lehtinen, Erno
    INTERNATIONAL JOURNAL OF COMPUTER-SUPPORTED COLLABORATIVE LEARNING, 2012, 7 (04) : 499 - 518
  • [23] Interactive visual tools as triggers of collaborative reasoning in entry-level pathology
    Markus Nivala
    Hans Rystedt
    Roger Säljö
    Pauliina Kronqvist
    Erno Lehtinen
    International Journal of Computer-Supported Collaborative Learning, 2012, 7 : 499 - 518
  • [24] Design and implementation of geo-objects simulation and interactive visual editing tools
    Shi, Song
    Chen, Chongchen
    Wang, Qingmin
    Yan, Jie Yun
    ICAT 2006: 16TH INTERNATIONAL CONFERENCE ON ARTIFICIAL REALITY AND TELEXISTENCE - WORSHOPS, PROCEEDINGS, 2006, : 447 - +
  • [25] Benchmarking dairy information for efficient decision making using interactive visual tools
    Boda, G.
    Lacroix, R.
    Wade, K. M.
    JOURNAL OF DAIRY SCIENCE, 2005, 88 : 331 - 331
  • [26] Benchmarking dairy information for efficient decision making using interactive visual tools
    Boda, G.
    Lacroix, R.
    Wade, K. M.
    JOURNAL OF ANIMAL SCIENCE, 2005, 83 : 331 - 331
  • [27] Dynamic Interaction Dilation for Interactive Human Parsing
    Gao, Yutong
    Lang, Congyan
    Liu, Fayao
    Cao, Yuanzhouhan
    Sun, Lijuan
    Wei, Yunchao
    IEEE TRANSACTIONS ON MULTIMEDIA, 2024, 26 : 178 - 189
  • [28] Interactive Predictive Parsing Framework for the Spanish Language
    Sanchez-Saez, Ricardo
    Leiva, Luis A.
    Andreu Sanchez, Joan
    Miguel Benedi, Jose
    PROCESAMIENTO DEL LENGUAJE NATURAL, 2010, (45): : 121 - 128
  • [29] Clicking Matters: Towards Interactive Human Parsing
    Gao, Yutong
    Liang, Liqian
    Lang, Congyan
    Feng, Songhe
    Li, Yidong
    Wei, Yunchao
    IEEE TRANSACTIONS ON MULTIMEDIA, 2023, 25 : 3190 - 3203
  • [30] Incremental parsing for interactive natural language interface
    Mori, D
    Matsubara, S
    Inagaki, Y
    2001 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS, VOLS 1-5: E-SYSTEMS AND E-MAN FOR CYBERNETICS IN CYBERSPACE, 2002, : 2880 - 2885