2002 · 58 citations · 17 references
ComputingComputer ScienceProgramming LanguagesSoftware EngineeringSyntaxAbstract Syntax TreesSoftware ArchitectureSoftware ConstructionSoftware DesignSoftware DocumentationSoftware ModelingMulti-view ModelingSource Code AnalysisSource Code StructureSource Code TransformationSource DocumentsSyntactic KnowledgeXml Data ManagementXml Encoding
The paper describes the use of an XML format to store and represent program source code. A new XML application, srcML (SouRCe Markup Language), is presented. srcML presumes a document view of source code where information about the syntactic structure is layered over the original source code document. The resultant multi-layered document has a base layer of all the original text (and formatting). The second layer is the syntactic information, derived from the grammar of the programming language, and is encoded in XML. This multi-layered view supports both the creation and viewing of the source code in its original form and the use of XML technologies (for tasks such as analysis and transformation of the source). Although directed at source code documents, (particularly C++) srcML is also applicable to other programming languages and to languages with a strict syntax. srcML represents a departure from the compiler centric manner in which source code is commonly stored, instead a document point of view is taken thus better supporting the manipulation and management of the large numbers of source documents typical in modern software systems.
17
Generating robust parsers using island grammars
Leon Moonen · 2002 · 255 citations
Language Studies, Computer Science, Computational Linguistics +13
GXL: toward a standard exchange format
Richard C. Holt, Andreas Winter, Andy Schürr · 2002 · 235 citations
JavaML: a markup language for Java source code
Greg J. Badros · Computer Networks · 2000 · 179 citations