Boot (more precisely newer dialect called Shoe) is used internally in FriCAS 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, boot 9211484592716052519-25px001.clisp PRODUCED ; compiling file "/var/aw/var/LatexWiki/9211484592716052519-25px001.clisp" (written 04 APR 2022 02:53:54 PM): Now call it. fricas pairBoot(1,
Type: SExpression?
fricas map(integer,
Type: List(Integer)
That's my first Boot function! You can now write for example: boot foobar(x, boot 7491012761112044243-25px003.clisp PRODUCED ; compiling file "/var/aw/var/LatexWiki/7491012761112044243-25px003.clisp" (written 04 APR 2022 02:53:54 PM): And call it with fricas integer(foobar(2,
Type: PositiveInteger?
In FriCAS (from revision 1049 on) the simplest way to compile and load boot code is to write it into a file and then call something like: )read FILE.boot To debug Boot code add diagnostic printouts using SAY, like boot print_bar(x) == SAY(["print_bar", boot 6147864484223767607-25px005.clisp PRODUCED ; compiling file "/var/aw/var/LatexWiki/6147864484223767607-25px005.clisp" (written 04 APR 2022 02:53:54 PM): fricas )boot print_bar(123) Note: Unlike other printing functions One can also add breakpoints using |