Abstract Syntax - Research Article from World of Computer Science

This encyclopedia article consists of approximately 4 pages of information about Abstract Syntax.

Abstract Syntax - Research Article from World of Computer Science

This encyclopedia article consists of approximately 4 pages of information about Abstract Syntax.
This section contains 1,002 words
(approx. 4 pages at 300 words per page)
Buy the Abstract Syntax Encyclopedia Article

Abstract syntax refers to the form in which the grammar or rules that govern how a program may be written in a given language are defined, so that they are not tied to a single machine or operating system. In other words, a language's grammar is defined as an "abstract syntax" specification.

What it means, essentially, is that the programming language is fully specified in formal terms so that any arbitrary fragment of code can be unambiguously broken down into the basic building blocks of the language and declared as valid or invalid by the compiler.

This allows anyone who has the specification of the abstract syntax of the language to write a compiler that will correctly compile code written in that language. It also goes some way to giving programmers confidence that a program written for one compiler will also compile with another. This ideal...

(read more)

This section contains 1,002 words
(approx. 4 pages at 300 words per page)
Buy the Abstract Syntax Encyclopedia Article
Copyrights
Gale
Abstract Syntax from Gale. ©2005-2006 Thomson Gale, a part of the Thomson Corporation. All rights reserved.