Tom (pattern matching language)

Print Print
Reading time 2:24

Tom
Tom (pattern matching language) logo.png
Developer(s)INRIA
Stable release
2.10[1] / 2013-03-21
Typeprogram transformation language
LicenseGPL, BSD licenses
Websitetom.loria.fr

Tom is a programming language[2] particularly well-suited for programming various transformations on tree structures and XML based documents. Tom is a language extension which adds new matching primitives to C and Java[3] as well as support for rewrite rules systems.[4] The rules can be controlled using a strategy[5] language.

Tom is good for:

  • programming by pattern matching[6]
  • developing compilers and DSL
  • transforming XML documents
  • implementing rule based systems
  • describing algebraic transformations

Notes

  1. ^ https://gforge.inria.fr/frs/?group_id=78&release_id=7940
  2. ^ "Freecode".
  3. ^ Java Community News Tom: A Pattern-Matching Compiler for Java
  4. ^ Emilie Balland, Paul Brauner, Radu Kopetz, Pierre-Etienne Moreau and Antoine Reilles (April 2008). "Tom Manual" (PDF).CS1 maint: multiple names: authors list (link)
  5. ^ "Data structure traversal with Tom".
  6. ^ "Pattern Matching Pointers".

By: Wikipedia.org
Edited: 2021-06-18 18:20:00
Source: Wikipedia.org