rex (language)
From Seo Wiki - Search Engine Optimization and Programming Languages
Jump to navigationJump to search
This article is an orphan, as few or no other articles link to it. Please introduce links to this page from related articles; suggestions are available. (February 2009) |
This article is about a functional programming language used primarily by students. For the scripting language created by IBM, see REXX.
rex is a functional programming language developed by Robert M. Keller for use in teaching functional programming to Harvey Mudd College students.
Example
The "Hello World" of functional languages is the factorial function. Expressed in rex:
factorial(0) => 1; factorial(X) => X * factorial(X-1);
The name "rex" derives from "rewriting expressions", which is the basic principle underlying the implementation: replace an instantation of an expression on the left-hand side of a rule with the instantiated right-hand side.
External links
If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...
→