Llun - a high-level debugger for generated parsers

被引:2
作者
Glass, S
Ince, D
Fergus, E
机构
[1] Open Univ, Fac Comp & Math, Dept Comp Sci, Milton Keynes MK7 6AA, Bucks, England
[2] Experian Ltd, Strateg Solut Div, Nottingham, England
[3] Hlth & Safety Execut, Div Technol, Bootle, Merseyside, England
关键词
debugger; Llun; generated parser;
D O I
10.1002/spe.397
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Parser generators such as yacc have been used in a large number of applications, not just those that involve compiler writing. This has meant that these tools are being used increasingly by nonspecialist developers. A consequence of this is that good support is required for debugging a grammar and its generated parser(s). This paper describes Linn, a debugging tool that visualizes the operation of a generated parser at both a high-level and a low-level. Llun is superior to other parser visualization products by virtue of the high-level facilities it offers. The paper describes some of the problems encountered using parser generators, outlines a visualization system which addresses a number of the problems and uses a taxonomy developed by Price to categorize the system. Copyright (C) 2001 John Wiley & Sons, Ltd.
引用
收藏
页码:983 / 1001
页数:19
相关论文
共 17 条
[1]   YT - THE YACC TRACER [J].
ADAMOV, R .
JOURNAL OF MICROCOMPUTER APPLICATIONS, 1988, 11 (04) :281-299
[2]  
ANDREWS K, 1988, ACM SIGPLAN NOTICES, V23, P105
[3]  
DOBLER H, 1990, ACM SIGPLAN NOTICES, V25, P82
[4]  
DUBOULAY B, 1981, INT J MAN MACH STUD, V14, P237, DOI 10.1016/S0020-7373(81)80056-9
[5]  
EISENSTADT M, 1993, INSTR SCI, V21, P335
[6]  
Fischer CharlesN., 1991, CRAFTING COMPILER C
[7]   YTRACC - A PARSE BROWSER FOR YACC GRAMMARS [J].
FURUTA, R ;
STOTTS, PD ;
OGATA, J .
SOFTWARE-PRACTICE & EXPERIENCE, 1991, 21 (02) :119-132
[8]  
HOLUB AI, 1990, COMILER DESIGN C
[9]  
JOHNSON SC, 1980, COMPUTER, V13, P16, DOI 10.1109/MC.1980.1653741
[10]  
Johnson StephenC., 1975, YACC YET ANOTHER COM