TRS

Minimal Magic

Programming languages aim to balance performance and expressive power (among many other attributes) in the context of a consistent, intuitive programming model.

Term Rewriting

Term Rewriting Turtles all the way down Language definitions are often based on significant tacit knowledge.

Meta Interpreter and Tram

The Meta-Representation of Terms Earlier, we saw that a term is either a variable or a tuple <f,t1, …,tk> (for k ≥ 1) where f is a symbol and each ti is a term.

TRAM.1

TRAM.1 is an implementation of term rewriting systems. TRAM.1 is written in standard C using only a few standard libraries.

Memory Management

Software uses memory to store data objects. An object may contain data such as strings or numbers, but it may also contain references to other nodes.

Binary Numbers

Tram does not offer built-in integers, which may seem an omission, but being unopinionated is at odds with built-in data types.

Conclusions

Conclusions MinimalMagic.blog/trs was created with several purposes in mind: As an informal though complete and entirely self-contained introduction to term rewriting systems.

Conclusions

Conclusions MinimalMagic.blog/trs was created with several purposes in mind: As an informal though complete and entirely self-contained introduction to term rewriting systems.

Binary Numbers

Tram does not offer built-in integers, which may seem an omission, but being unopinionated is at odds with built-in data types.

Minimal Magic

Programming languages aim to balance performance and expressive power (among many other attributes) in the context of a consistent, intuitive programming model.

TRAM.1

TRAM.1 is an implementation of term rewriting systems. TRAM.1 is written in standard C using only a few standard libraries.

TRAM

TRAM (Term Rewriting Abstract Machine) is an implementation of term rewriting systems.

Meta Interpreter and Tram

The Meta-Representation of Terms Earlier, we saw that a term is either a variable or a tuple <f,t1, …,tk> (for k ≥ 1) where f is a symbol and each ti is a term.

Memory Management

Software uses memory to store data objects. An object may contain data such as strings or numbers, but it may also contain references to other nodes.