Language Syntax - Directory


Syntax (programming languages) - Wikipedia, the free encyclopedia
Syntax highlighting is often used to aid programmers in recognizing ... The syntax of a language defines its surface form.[1] Text-based programming languages ...

Linguistics Syntax
The Role of Syntax in Language. This section is an introduction to syntax in language as far as it is relevant to the content of this book. ...

Syntax - Wikipedia, the free encyclopedia
Modern research in syntax attempts to describe languages in terms of such rules. ... The syntax of natural language (Beatrice Santorini & Anthony Kroch, ...

Is There Musical Syntax Like Language Syntax?
Is there a syntax of music which is analogous to the syntax of language? ... Syntax in both language and music refers not just to these hierarchies, but to ...

Visual Basic Language Syntax
Find information on how to program using Visual Basic language syntax.Includes videos, virtual labs, webcasts, and more.

Array

Introduction to Psychology (PSYC 110) One of the most uniquely human abilities is the capacity for creating and understanding language. This ...

[GAS] Explains: What is Metaprogramming?

By Sterling “Chip” Camden
Contributing Writer, [GAS]

In recent years, the Greek root meta has perhaps become overused.  Originally, it was just a lowly preposition meaning “after”, “beyond”, or simply “with” – but especially since the writings of Douglas Hofstadter it has taken on the meaning of a higher level of abstraction, especially a self-referential abstraction.  That’s the sense in which it is used in the term metaprogramming – modifying programs programmatically, or modifying the programming language itself.

As with many terms that describe programming, metaprogramming admits of many different incarnations, shades of meaning, and degrees of support.  In the broadest sense, the simple act of creating generalized functions or classes represents an extension and abstraction of the “language” used for programming – but the term “metaprogramming” is usually reserved for more radical modifications.  Languages that provide features for those types of operations are often called dynamic languages.

Generative programming

One use of the term “metaprogramming” refers to programs that generate or manipulate their own code.  Languages that provide the best support for this are those that easily overcome the distinction between code and data.  In more than fifty years since the introduction of Lisp, no other language has devised a more radical yet natural representation of that interchangeability.  Code and data are both represented in Lisp as lists, so any list can easily be treated as either code or data.  It’s simple, therefore, to manipulate code as data, and then execute it – either via EVAL or by returning it as the result of a macro expansion.

By comparison, COBOL’s single contribution to metaprogramming, the odious ALTER statement, seems laughable.  If GOTO is deemed harmful, then ALTER was pure evil.  It allowed you to change the destination of a GOTO statement at runtime, producing stealth spaghetti.  It had all the pitfalls of metaprogramming and none of the benefits, since it reduced readability without improving abstraction.

...

Read more...

Alibris U.K., Inc. Grapes Language Description: Syntax, Semantics and Grammar of Grapes-86
(Alibris U.K., Inc.)
Price: 5.58


Alibris U.K., Inc. Idiom Book of New Testament Greek
(Alibris U.K., Inc.)
Price: 7.42


Alibris U.K., Inc. Perl 5 for Dummies
(Alibris U.K., Inc.)
Price: 5.73