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 条
  • [41] The Influence of Music on the Emotional Interpretation of Visual Contexts Designing Interactive Multimedia Tools for Psychological Research
    Bravo, Fernando
    FROM SOUNDS TO MUSIC AND EMOTIONS, 2013, 7900 : 366 - 377
  • [42] Adaptive teaching: Latin and the use of digital parsing tools
    Coe, Rebecca
    Cope, Emma
    Hunt, Steven
    JOURNAL OF CLASSICS TEACHING, 2024,
  • [43] Progressively diffused networks for semantic visual parsing
    Zhang, Ruimao
    Yang, Wei
    Peng, Zhanglin
    Wei, Pengxu
    Wang, Xiaogang
    Lin, Liang
    PATTERN RECOGNITION, 2019, 90 : 78 - 86
  • [44] A visual model approach for parsing colonoscopy videos
    Cao, Y
    Tavanapong, W
    Li, DL
    Oh, J
    de Groen, PC
    Wong, J
    IMAGE AND VIDEO RETRIEVAL, PROCEEDINGS, 2004, 3115 : 160 - 169
  • [45] Visual Parsing After Recovery From Blindness
    Ostrovsky, Yuri
    Meyers, Ethan
    Ganesh, Suma
    Mathur, Umang
    Sinha, Pawan
    PSYCHOLOGICAL SCIENCE, 2009, 20 (12) : 1484 - 1491
  • [46] Design pattern recovery by visual language parsing
    Costagliola, G
    De Lucia, A
    Deufemia, V
    Gravino, C
    Risi, M
    NINTH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING, PROCEEDINGS, 2005, : 102 - 111
  • [47] On Parsing Visual Sequences with the Hidden Markov Model
    Harte, Naomi
    Lennon, Daire
    Kokaram, Anil
    EURASIP JOURNAL ON IMAGE AND VIDEO PROCESSING, 2009,
  • [48] Practical error handling in parsing visual languages
    Tuovinen, AP
    JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 2000, 11 (05): : 505 - 528
  • [49] On Parsing Visual Sequences with the Hidden Markov Model
    Naomi Harte
    Daire Lennon
    Anil Kokaram
    EURASIP Journal on Image and Video Processing, 2009
  • [50] Recognition of visual activities and interactions by stochastic parsing
    Ivanov, YA
    Bobick, AF
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2000, 22 (08) : 852 - 872