Grammar engineering for multiple front-ends for Python']Python

被引:0
|
作者
Malloy, Brian A. [1 ]
Power, James F. [2 ]
机构
[1] Clemson Univ, Comp Sci Div, Sch Comp, Clemson, SC USA
[2] Maynooth Univ, Dept Comp Sci, Maynooth, Kildare, Ireland
来源
SOFTWARE-PRACTICE & EXPERIENCE | 2019年 / 49卷 / 03期
关键词
front end; grammarware; grammar engineering; parser; programming language evolution; !text type='Python']Python[!/text; software engineering;
D O I
10.1002/spe.2665
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper, we describe our experience in grammar engineering to construct multiple parsers and front ends for the Python language. We present a metrics-based study of the evolution of the Python grammars through the multiple versions of the language in an effort to distinguish and measure grammar evolution and to provide a basis of comparison with related research in grammar engineering. To conduct this research, we have built a toolkit, which builds on tools developed in other research. We use to build a system that automates much of the process needed to translate the Python grammars from EBNF to a formalism acceptable to the parser generator. We exploit the suite of Python test cases, used by the Python developers, to validate our parser generation. Finally, we describe our use of the parser generator to facilitate the parser and front-end construction, eliminating some of the transformations and providing practical support for grammar modularisation.
引用
收藏
页码:380 / 400
页数:21
相关论文
共 50 条
  • [1] Engineering SOI Substrates for RF to mmWave Front-Ends
    Allibert, F.
    Andia, L.
    Morandini, Y.
    Veytizou, C.
    Rack, M.
    Nyssens, L.
    Raskin, J. P.
    Augendre, E.
    [J]. MICROWAVE JOURNAL, 2020, 63 (10) : 72 - 84
  • [2] INTELLIGENT FRONT-ENDS
    MERTENS, P
    [J]. WIRTSCHAFTSINFORMATIK, 1992, 34 (03): : 269 - 282
  • [3] Designing front-ends
    Carr, J
    [J]. ELECTRONICS WORLD, 2001, 107 (1777): : 50 - 53
  • [4] Data Engineering for HPC with Python']Python
    Abeykoon, Vibhatha
    Perera, Niranda
    Widanage, Chathura
    Kamburugamuve, Supun
    Kanewalat, Thejaka Amila
    Maithree, Hasara
    Wickramasinghe, Pulasthi
    Uyar, Ahmet
    Fox, Geoffrey
    [J]. PROCEEDINGS OF PYHPC 2020: 2020 IEEE/ACM 9TH WORKSHOP ON PYTHON FOR HIGH-PERFORMANCE AND SCIENTIFIC COMPUTING (PYHPC), 2020, : 13 - 21
  • [5] BUILDING SQL FRONT-ENDS
    GREHAN, R
    [J]. BYTE, 1993, 18 (12): : 238 - &
  • [6] Digital printing front-ends
    Vennekens, P
    [J]. IS&T'S NIP14: INTERNATIONAL CONFERENCE ON DIGITAL PRINTING TECHNOLOGIES, PROCEEDINGS, 1998, : 663 - 666
  • [7] SQL FRONT-ENDS FOR WINDOWS
    HETTLER, M
    HIGGS, S
    [J]. BYTE, 1994, 19 (10): : 129 - &
  • [8] QBPS in RF front-ends
    Dempster, A. G.
    Cetin, E.
    [J]. ELECTRONICS LETTERS, 2016, 52 (23) : 1965 - 1967
  • [10] CODING IN PYTHON']PYTHON FOR MATHEMATICS, SCIENCE AND ENGINEERING
    Malcoci, Iulian
    Ciobanu, Oleg
    Ciobanu, Radu
    [J]. ACTA TECHNICA NAPOCENSIS SERIES-APPLIED MATHEMATICS MECHANICS AND ENGINEERING, 2022, 65 (04): : 1215 - 1220