articleMay 1, 2019Closed access

A Novel Neural Source Code Representation Based on Abstract Syntax Tree

Beihang University · University of Newcastle Australia

Indexed incrossref

Abstract

Exploiting machine learning techniques for analyzing programs has attracted much attention. One key problem is how to represent code fragments well for follow-up analysis. Traditional information retrieval based methods often treat programs as natural language texts, which could miss important semantic information of source code. Recently, state-of-the-art studies demonstrate that abstract syntax tree (AST) based neural models can better represent source code. However, the sizes of ASTs are usually large and the existing models are prone to the long-term dependency problem. In this paper, we propose a novel AST-based Neural Network (ASTNN) for source code representation. Unlike existing models that work on…

Citation impact

651
total citations
FWCI
96.60
Percentile
100%
References
87
Citations per year

Authors

6

Topics & keywords

Keywords
  • Computer science
  • Abstract syntax tree
  • Source code
  • Artificial intelligence
  • Abstract syntax
  • Natural language processing
  • Statement (logic)
  • Syntax
UN Sustainable Development Goals
  • Quality Education
No related works found for this paper.