Article · Wikipedia archive · Last revised Jun 9, 2026

Tom (programming language)

Tom is a programming language 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 as well as support for rewrite rules systems. The rules can be controlled using a strategy language.

Last revised
Jun 9, 2026
Read time
≈ 1 min
Length
140 w
Citations
6
Source
Tom
DeveloperINRIA
Stable release
2.101 / 2013-03-21
Typeprogram transformation language
LicenseGPL, BSD licenses
Websitetom.loria.fr

Tom is a programming language2 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 Java3 as well as support for rewrite rules systems.4 The rules can be controlled using a strategy5 language.

Tom is good for:

References

References

  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).{{cite web}}: CS1 maint: multiple names: authors list (link)
  5. "Data structure traversal with Tom". 4 April 2008.
  6. "Pattern Matching Pointers".
External links