Journal of Beijing University of Posts and Telecommunications

  • EI核心期刊

JOURNAL OF BEIJING UNIVERSITY OF POSTS AND TELECOM ›› 2019, Vol. 42 ›› Issue (6): 70-75.doi: 10.13190/j.jbupt.2019-125

• Papers • Previous Articles     Next Articles

An ANTLR-Based Feature Extraction and Detection System for Scratch3.0

LIU Pai, SUN Yan, REN Wei   

  1. Beijing Key Laboratory of Intelligent Telecommunications Software and Multimedia, Beijing University of Posts and Telecommunications, Beijing 100876, China
  • Received:2019-11-22 Online:2019-12-28 Published:2019-11-15

Abstract: As a visual programming language for children, Scratch has received wide attention in the programming education. Considering that Scratch has evolved to the latest version 3.0 and its storage structure changes significantly from the previous version, the existing methods cannot be directly applied to project analysis. A new feature extraction and detection system based on linked list data structure and another tool for language recognition (ANTLR) was presented to solve the problem. Experimental results show that the system can effectively extract programming features from the projects and provide feedback to students and teachers. Moreover, its detection performance and stability perform better than the original methods in Scratch2.0.

Key words: Scratch, another tool for language recognition, feature extraction, feature detection

CLC Number: