Boot is used internally in Axiom for some of the interpreter and compiler code. Here is a detailed description of the Boot Language This is a simple example of Boot programming. Define a function. boot pairBoot(a,b) == a>b => [-b,-a] [a,b] boot Value = T Value = 432 Now call it. axiom pairBoot(1,4)$Lisp
Type: SExpression?
axiom map(integer,destruct(pairBoot(3,2)$Lisp))
Type: List Integer
That's my first Boot function! You can now write for example: boot foobar(x,y) == x + y boot Value = T Value = 304 And call it with axiom integer(foobar(2,3)$Lisp)
Type: PositiveInteger
|