An Approach to Generate Text-Based IDEs for Syntax Completion Based on Syntax Specification

被引:3
|
作者
Sasano, Isao [1 ]
机构
[1] Shibaura Inst Technol, Dept Comp Sci & Engn, Tokyo, Japan
关键词
syntax completion; integrated development environments; LR parsing; sentential forms; reduction;
D O I
10.1145/3372884.3373158
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The integrated development environments provide several types of functionalities. Herein, we intend to generate a syntax completion functionality from the grammar of the target language as long as the sentences of the language can be analyzed via LR parsing. We specify the syntax candidates to be completed based on the sentential forms and reductions in LR parsing. Furthermore, we implement a prototype system for computing the syntax candidates to be completed at the cursor position in the source code written in a small subset of Standard ML; the system only uses the program text up to the cursor position to ensure simplicity.
引用
收藏
页码:38 / 44
页数:7
相关论文
共 50 条
  • [1] A Text-Based Syntax Completion Method using LR Parsing
    Sasano, Isao
    Choi, Kwanghoon
    [J]. PEPM '21: PROCEEDINGS OF THE 2021 ACM SIGPLAN WORKSHOP ON PARTIAL EVALUATION AND PROGRAM MANIPULATION, 2021, : 32 - 43
  • [2] A text-based approach to feature modelling: Syntax and semantics of TVL
    Classen, Andreas
    Boucher, Quentin
    Heymans, Patrick
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2011, 76 (12) : 1130 - 1143
  • [3] A text-based syntax completion method using LR parsing and its evaluation
    Sasano, Isao
    Choi, Kwanghoon
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2023, 228
  • [4] Code Completion Approach Based on Combination of Syntax and Semantics
    Fu S.-Q.
    Li Z.
    Zhao R.-L.
    Guo J.-X.
    [J]. Ruan Jian Xue Bao/Journal of Software, 2022, 33 (11): : 3930 - 3943
  • [5] DOMAIN SPECIFIC SYNTAX BASED APPROACH FOR TEXT CLASSIFICATION IN MACHINE LEARNING CONTEXT
    Mohasseb, Alaa
    Bader-El-Den, Mohamed
    Liu, Han
    Cocea, Mihaela
    [J]. PROCEEDINGS OF 2017 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND CYBERNETICS (ICMLC), VOL 2, 2017, : 652 - 657
  • [6] Text-Based Emotion Recognition Approach
    Razek, Mohammed Abdel
    Frasson, Claude
    [J]. INTELLIGENT TUTORING SYSTEMS, ITS 2016, 2016, 9684 : 500 - 501
  • [7] Monitoring knowledge - A text-based approach
    Schierz, Amanda C.
    [J]. TERMINOLOGY, 2007, 13 (02): : 125 - 154
  • [8] A chinese short text similarity algorithm based on semantic and syntax
    [J]. Liao, Zhi-Fang (zfliao@csu.edu.cn), 1600, Hunan University (43):
  • [9] Discriminative Syntax-Based Word Ordering for Text Generation
    Zhang, Yue
    Clark, Stephen
    [J]. COMPUTATIONAL LINGUISTICS, 2015, 41 (03) : 503 - 538
  • [10] Text plagiarism classification using syntax based linguistic features
    Vani, K.
    Gupta, Deepa
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2017, 88 : 448 - 464