An Incremental Graft Parsing Based Program Development Environment
碩士 === 國立東華大學 === 資訊工程學系 === 93 === Incremental parsing is a parsing technique that re-establishes a correct parse tree with respect to user editing. In this paper, we propose a novel approach of incremental LL(1) parsing, called incremental graft parsing. Incremental parser provides an explicitly t...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | en_US |
Published: |
2005
|
Online Access: | http://ndltd.ncl.edu.tw/handle/27855209432142364458 |
id |
ndltd-TW-093NDHU5392007 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-093NDHU53920072016-06-06T04:11:18Z http://ndltd.ncl.edu.tw/handle/27855209432142364458 An Incremental Graft Parsing Based Program Development Environment 值基於接枝語法分析法的程式發展環境 Po-Jen Chuang 莊博仁 碩士 國立東華大學 資訊工程學系 93 Incremental parsing is a parsing technique that re-establishes a correct parse tree with respect to user editing. In this paper, we propose a novel approach of incremental LL(1) parsing, called incremental graft parsing. Incremental parser provides an explicitly top-down or bottom-up parsing with backtracking and symbol lookahead. Our incremental graft parsing is an LL(1) parsing with top-down parsing, non-backtracking and 1-symbol lookahead. We de ne the attributes of a nonterminal in a context-free grammar as a node. With the node of the parse tree, we may locate a modi cation of the user editing as a region and concise at a node. We design an approach `CUT' operation to split out the replaced node and gather the split nonterminals and subtrees for re-parsing. Our implementation of incremental graft parsing for a grammar PLUS is on an editor. The grammar PLUS is a rst-order functional language, shows the e cacy of our approach. Chung Yung 雍忠 2005 學位論文 ; thesis 113 en_US |
collection |
NDLTD |
language |
en_US |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 國立東華大學 === 資訊工程學系 === 93 === Incremental parsing is a parsing technique that re-establishes a correct parse
tree with respect to user editing. In this paper, we propose a novel approach
of incremental LL(1) parsing, called incremental graft parsing. Incremental
parser provides an explicitly top-down or bottom-up parsing with backtracking
and symbol lookahead. Our incremental graft parsing is an LL(1) parsing with
top-down parsing, non-backtracking and 1-symbol lookahead. We de ne the
attributes of a nonterminal in a context-free grammar as a node. With the
node of the parse tree, we may locate a modi cation of the user editing as
a region and concise at a node. We design an approach `CUT' operation to
split out the replaced node and gather the split nonterminals and subtrees for
re-parsing. Our implementation of incremental graft parsing for a grammar
PLUS is on an editor. The grammar PLUS is a rst-order functional language,
shows the e cacy of our approach.
|
author2 |
Chung Yung |
author_facet |
Chung Yung Po-Jen Chuang 莊博仁 |
author |
Po-Jen Chuang 莊博仁 |
spellingShingle |
Po-Jen Chuang 莊博仁 An Incremental Graft Parsing Based Program Development Environment |
author_sort |
Po-Jen Chuang |
title |
An Incremental Graft Parsing Based Program Development Environment |
title_short |
An Incremental Graft Parsing Based Program Development Environment |
title_full |
An Incremental Graft Parsing Based Program Development Environment |
title_fullStr |
An Incremental Graft Parsing Based Program Development Environment |
title_full_unstemmed |
An Incremental Graft Parsing Based Program Development Environment |
title_sort |
incremental graft parsing based program development environment |
publishDate |
2005 |
url |
http://ndltd.ncl.edu.tw/handle/27855209432142364458 |
work_keys_str_mv |
AT pojenchuang anincrementalgraftparsingbasedprogramdevelopmentenvironment AT zhuāngbórén anincrementalgraftparsingbasedprogramdevelopmentenvironment AT pojenchuang zhíjīyújiēzhīyǔfǎfēnxīfǎdechéngshìfāzhǎnhuánjìng AT zhuāngbórén zhíjīyújiēzhīyǔfǎfēnxīfǎdechéngshìfāzhǎnhuánjìng AT pojenchuang incrementalgraftparsingbasedprogramdevelopmentenvironment AT zhuāngbórén incrementalgraftparsingbasedprogramdevelopmentenvironment |
_version_ |
1718295912308015104 |