The Algebraic Metalanguage
Go to file
Mike Gerwitz ff01f39c1e Liberate current implementation of "Calc DSL"
(Copyright headers will be added in the next commit; these are the
original files, unaltered in any way.)

The internal project name at LoVullo is simply "Calc DSL".  This
liberates the entire thing.  If anything was missed, I'll be added

To continue building at LoVullo with this move, symlinks are used for
the transition; this is the exact code that is used in production.

There is a lot here---over 25,000 lines.  Much of it is in disarray from
the environment surrounding its development, but it does work well for
what it was intended to do.

(LoVullo folks: fork point is 65723a0 in calcdsl.git.)
2016-08-24 12:38:00 -04:00
doc Liberate current implementation of "Calc DSL" 2016-08-24 12:38:00 -04:00
src Liberate current implementation of "Calc DSL" 2016-08-24 12:38:00 -04:00
test Initial symbol documentation, find-symbol 2016-08-23 11:04:50 -04:00
tools Update literate-xsl 2016-07-14 09:15:38 -04:00
.gitignore /src/{init=>conf}.xsl .gitignore 2016-08-23 12:16:27 -04:00
.gitmodules Documentation and testing scaffolding 2015-04-16 13:21:22 -04:00
COPYING Initial repository setup 2015-04-14 05:35:36 -04:00
COPYING.FDL Initial repository setup 2015-04-14 05:35:36 -04:00 Liberate current implementation of "Calc DSL" 2016-08-24 12:38:00 -04:00 Liberate current implementation of "Calc DSL" 2016-08-24 12:38:00 -04:00 Add generated VERSION 2016-08-23 11:33:51 -04:00 Version bump 0.0.{0=>1} 2016-08-23 11:53:39 -04:00


TAME is The Adaptive Metalanguage, a programming language and system of tools designed to aid in the development, understanding, and maintenance of systems performing numerous calculations on a complex graph of dependencies, conditions, and a large number of inputs.

This system was developed at LoVullo Associates to handle the complexity of comparative insurance rating systems. It is a domain-specific language (DSL) that itself encourages, through the use of templates, the creation of sub-DSLs. TAME itself is at heart a calculator—processing only numerical input and output—driven by quantifiers as predicates. Calculations and quantifiers are written declaratively without concern for order of execution.

The system has powerful dependency resolution and data flow capabilities.

TAME consists of a macro processor (implementing a metalanguage), numerous compilers for various targets (JavaScript, HTML documentation and debugging environment, LaTeX, and others), linkers, and supporting tools. The input grammar is XML, and the majority of the project (including the macro processor, compilers, and linkers) are written in XSLT. There is a reason for that odd choice; until an explanation is provided, know that someone is perverted enough to implement a full compiler in XSLT.

More information will become available as various portions are liberated during refactoring. tame-core is TAME's core library, and hoxsl was developed as a supporting library.


The current state of the project as used in production is found in src/current/. The environment surrounding the development of this project resulted in a bit of a mess, which is being refactored into src/ as it is touched. Documentation is virtually non-existent.


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.