1985
DOI: 10.1016/0096-0551(85)90018-9
|View full text |Cite
|
Sign up to set email alerts
|

An algorithm for generating abstract syntax trees

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
13
0

Year Published

1987
1987
2024
2024

Publication Types

Select...
6
4

Relationship

0
10

Authors

Journals

citations
Cited by 30 publications
(13 citation statements)
references
References 3 publications
0
13
0
Order By: Relevance
“…<EDD>::=<Header>{<Element List>} <Header>::=<MANUFACTURER><DEVICE_TYPE> <DEVICE_REVISION><DD_REVISION > <Element List >::= <Menu>|<Variable>|<Method>|<Command>|<Relation> <Command>::=<Command header><Command body> <Command header >::=Command<ID> <Command body>::=<Command_attribute_list> <Command_attribute_list>::= <Command_number>|<Command_operation>|<Comma nd_transaction_list>| [Command_respons_code] <Command_number_attribute>::=Number <integer>; <Command_operation_attribute>::=<Enum_operation> <Command_transaction_list>::= <Command_request>|<Command_reply> <Command_request>::=<Variable List> <Command_reply>::=<Variable List> <Command_respons_code>::=<Enum_respons_code> <Variable List>::=ID|<Variable List >,ID 2) AST (Abstract Syntax Tree) AST is an intermediate procedure representation which is obtained from syntax and lexical analysis [6], reflecting the syntax structure of the source code, whose tree nodes is used to represent the syntax element and corresponds with different layers of the syntax structure of language respectively. By searching for the syntax tree syntax structure of the source code can be analyzed in-depth and handled accordingly.…”
Section: ) Syntax Representationmentioning
confidence: 99%
“…<EDD>::=<Header>{<Element List>} <Header>::=<MANUFACTURER><DEVICE_TYPE> <DEVICE_REVISION><DD_REVISION > <Element List >::= <Menu>|<Variable>|<Method>|<Command>|<Relation> <Command>::=<Command header><Command body> <Command header >::=Command<ID> <Command body>::=<Command_attribute_list> <Command_attribute_list>::= <Command_number>|<Command_operation>|<Comma nd_transaction_list>| [Command_respons_code] <Command_number_attribute>::=Number <integer>; <Command_operation_attribute>::=<Enum_operation> <Command_transaction_list>::= <Command_request>|<Command_reply> <Command_request>::=<Variable List> <Command_reply>::=<Variable List> <Command_respons_code>::=<Enum_respons_code> <Variable List>::=ID|<Variable List >,ID 2) AST (Abstract Syntax Tree) AST is an intermediate procedure representation which is obtained from syntax and lexical analysis [6], reflecting the syntax structure of the source code, whose tree nodes is used to represent the syntax element and corresponds with different layers of the syntax structure of language respectively. By searching for the syntax tree syntax structure of the source code can be analyzed in-depth and handled accordingly.…”
Section: ) Syntax Representationmentioning
confidence: 99%
“…The logical forms normally have equivalent structured representations to precisely express the complex relations between a set of objects. For instance, the executable codes written in Python or SQL could be parsed into abstract syntax tree(AST) (Noonan, 1985) denoting the mutual relations among occurred constructs in the source code, while the knowledge bases may be converted into knowledge graphs that depict the relations between entities with directed edges. Compared to the plain text inputs, the structure-aware encoding capturing not only the sequential information from texts but also the internal logic from structural representations recently has been proved to be more effective in several Graph-to-Text tasks (Song et al, 2018;Ribeiro et al, 2020).…”
Section: Structure-aware Encodingmentioning
confidence: 99%
“…In parse trees, the roots of subtrees represent nonterminal symbols of the grammar, while leaves represent terminal grammar symbols. In an abstract syntax tree, operators represent root nodes, while leaves symbolize operands [60]. Once the trees are generated, tree-matching algorithms are used to find the similar code fragments.…”
Section: Code Clone Detection: Techniques and Toolsmentioning
confidence: 99%