Wiki compiler definition: A compiler is a computer program (or set of programs) that transforms source code written in a programming language (source language) into another computer language.

Input metadata languages are translated into an internal abstract syntax tree. This abstract syntax tree has metadata representations for database, procedural, sql, data structure, and complex expression definitions.

The back-end (or templates) knows nothing about the front-end languages and uses a template language to transverse the abstract syntax tree to generate code.

Abstract Syntax Tree

Many developers think that the parsers are the heart of the compiler, but infact, the abstract syntax tree that is created while parsing is the heart. ObjectRiver's compiler technology contains hundreds of classes known as Things, Expressions, and Tokens that makeup the abstract syntax tree. The piece called the semantic action is where the parser creates abstract syntax. This syntax normalizes the metadata into a generic form.


The back-end of the compiler contains a template language that has language syntax like, "If", "Switch", "Loop", "Map", "List", and "Sets". It is this language that allows the complex code to be generated on the back-end.

Pattern Programming

ObjectRiver has coined the term pattern programming. The pattern is a collection of desired output files. These files can be arranged in a hierarchy of directories, and files may be made up of any ASCII based language. The pattern is usually programmed by an expert in the subject matter. The pattern is built in conjunction with an example piece of metadata. This establishes the input and output to the cloud compiler. The goal is to design a model driven architecture that can be regenerated continuously.

Third generation metadata compiler

Our metadata compiler is the third generation of compiler built by our founder. We have been developing, perfecting, and using the ObjectRiver Programmable Metadata Compiler for the past 11 years. Now it's time for others to receive the benefits.