Content deleted Content added
PigFlu Oink (talk | contribs) |
Rescuing 2 sources and tagging 0 as dead.) #IABot (v2.0.8.8) (Ost316 - 10430 |
||
(17 intermediate revisions by 14 users not shown) | |||
Line 3:
|logo =
|paradigm = [[Pattern-matching]] and [[Term-rewriting]]
|designer =
|developer = [[James Cordy]] <br /> Charles Halpern-Hamu
}}
'''TXL''' is a special-purpose [[programming language]] originally designed by [[Charles Halpern-Hamu]] and [[
Modern TXL is specifically designed for creating, manipulating and rapidly prototyping language-based descriptions, tools and applications using source transformation. It is a hybrid [[Functional programming|functional]] / [[rule-based programming|rule-based]] language using first order functional programming at the higher level and term rewriting at the lower level. The [[Semantics of programming languages|formal semantics]] and implementation of TXL are based on formal [[term rewriting]], but the term structures are largely hidden from the user due to the example-like style of pattern specification.
Each TXL program has two components
The first component
TXL is most commonly used in software analysis and reengineering tasks such as [[reengineering (software)|design recovery]], and in rapid prototyping of new [[programming languages]] and dialects.
==Examples==
===BubbleSort
%Syntax specification
define program
Line 35 ⟶ 34:
end rule
===Factorial<ref>{{Cite
%Syntax specification
define program
Line 68 ⟶ 67:
1
end function
== References ==▼
*[http://portal.acm.org/citation.cfm?id=114627.115074 J.R. Cordy, C.D. Halpern and E. Promislow, 1991. TXL: A Rapid Prototyping System for Programming Language Dialects. Computer Languages 16,1 (January 1991), 97-107.]▼
*[http://portal.acm.org/citation.cfm?id=1149672 J.R. Cordy, 2006. The TXL Source Transformation Language. Science of Computer Programming 61,3 (August 2006), 190-210.]▼
== See also ==
* [[Turing (programming language)]]
* [[Refal | Refal (programming language)]]
* [[DMS Software Reengineering Toolkit]]
* [[Program transformation]]
▲== References ==
{{Reflist}}
▲*[http://portal.acm.org/citation.cfm?id=114627.115074 J.R. Cordy, C.D. Halpern and E. Promislow, 1991. TXL: A Rapid Prototyping System for Programming Language Dialects. Computer Languages 16,1 (January 1991), 97-107.]
▲*[http://portal.acm.org/citation.cfm?id=1149672 J.R. Cordy, 2006. The TXL Source Transformation Language. Science of Computer Programming 61,3 (August 2006), 190-210.]
== External links ==
Line 81 ⟶ 83:
[[Category:Functional languages]]
[[Category:Transformation languages]]
[[Category:Term-rewriting programming languages]]
|