Title :
Towards a standard family of languages for matching patterns in source code
Author :
Dekel, Uri ; Cohen, Tal ; Porat, Sara
Author_Institution :
Sch. of Comput. Sci., Carnegie Mellon Univ., Pittsburgh, PA, USA
Abstract :
We make a case for the definition of a family of languages for expressing patterns over both the structure and semantics of source code. Our proposal is unique in that it attempts to provide a unified solution to the problem of searching for patterns in multiple programming languages, and in that it focuses on the semantics of the program rather than on its syntactic structure, all while striving to ensure simplicity and ease-of-use. We present the motivation and the unique difficulties involved in defining such languages, discuss strategies for dealing with these problems, and propose a prototype family of code pattern languages (CPLs).
Keywords :
object-oriented languages; object-oriented programming; pattern matching; programming language semantics; CPL; code pattern language; multiple programming language; pattern matching; source code semantics; syntactic structure; Code standards; Computer languages; Computer science; Database languages; Pattern matching; Prototypes; Relational databases; Software prototyping; Software standards; Software systems;
Conference_Titel :
Software: Science, Technology and Engineering, 2003. SwSTE '03. Proceedings. IEEE International Conference on
Print_ISBN :
0-7695-2047-2
DOI :
10.1109/SWSTE.2003.1245311