ALPHA Script - Lang-Converter

1
Lang-Converter (Draft 1) ALPHA Script - Lang-Converter is the application that uses a XML reader, parses the XML schema and generates code in any programming language. The purpose of this paper is only to refer to best practices on developing a Lang-Converter that translates ALPHA Script meta-language into a true programming language. The Lang-Converter should start reading from the top of the XML file. When the reader meets the “definitions” and “code blocks” should map them into equivalent code of the target programming language and then move on to the “base”. When the base code refers to a definition tag or to a code block tag the converted code should be mapped together with the referrer. See the ALPHA Script – XML Schema (Example).xml for more information. George Delaportas (G0D) --- CEO & Founder of localhost Ltd. Informatics & Computer Engineer MSc in Data Communications & Networking PhD in Digital Forensics

Transcript of ALPHA Script - Lang-Converter

Page 1: ALPHA Script - Lang-Converter

Lang-Converter (Draft 1)

ALPHA Script - Lang-Converter is the application that uses a XML reader, parses the XML schema and generates code in any programming language. The purpose of this paper is only to refer to best practices on developing a Lang-Converter that translates ALPHA Script meta-language into a true programming language.

The Lang-Converter should start reading from the top of the XML file. When the reader meets the “definitions” and “code blocks” should map them into equivalent code of the target programming language and then move on to the “base”.When the base code refers to a definition tag or to a code block tag the converted code should be mapped together with the referrer.

See the ALPHA Script – XML Schema (Example).xml for more information.

George Delaportas (G0D)---CEO & Founder of localhost Ltd.Informatics & Computer EngineerMSc in Data Communications & NetworkingPhD in Digital Forensics