Title :
Identification of patterns through Haskell programs analysis
Author :
Kollár, Ján ; Chodarev, Sergej ; Pietriková, Emília ; Wassermann, L´ubomír
Author_Institution :
Dept. of Comput. & Inf., Tech. Univ. of Kosice, Kosice, Slovakia
Abstract :
Usage of appropriate high-level abstractions is very important for development of reliable and maintainable programs. Abstractions can be more effective if applied at the level of language syntax. To achieve this goal, analysis of programs based on the syntax is needed. This paper presents Haskell Syntax Analyzer tool that can be used for analysis of Haskell programs from the syntactic perspective. It allows to retrieve derivation trees of Haskell programs, visualize them and perform their statistical analysis. We also propose approach for recognition of recurring patterns in programs that can be used as a basis for automated introduction of abstractions into the language.
Keywords :
computational linguistics; grammars; program diagnostics; statistical analysis; Haskell program analysis; Haskell syntax analyzer tool; high-level abstraction; pattern identification; statistical analysis; Generators; Grammar; Pattern recognition; Software; Syntactics; XML;
Conference_Titel :
Computer Science and Information Systems (FedCSIS), 2011 Federated Conference on
Conference_Location :
Szczecin
Print_ISBN :
978-1-4577-0041-5
Electronic_ISBN :
978-83-60810-35-4