Verse

From Makers Local 256
Revision as of 14:26, 12 March 2007 by Jmcarthur (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

Domain specific languages are growing in popularity, especially implementations that can be natively parsed within a parser for more general languages. Verse is an attempt at a language designed specifically for that purpose. The semantics are extremely simple. Everything is a message to something else, and each message contains exactly one string argument. A method's purpose is usually to parse the argument into a message tree which is then evaluated. The code of the language has no particular syntax of its own, only a standard library (which follows a convention of some sort) and a built-in parser for that library.