Message-ID: <469613592.23991.1394251639050.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_23990_1897970590.1394251639049" ------=_Part_23990_1897970590.1394251639049 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Occasionally, we developers need to do something zany like expose a part= of our program or library via easy to understand "sc= ripting" for regular users--for the user, there's no compiler, IDE; ju= st a plain text file with "code." Nice and easy, in other words.<= /p>=20
This document is designed to show you just how to do that either through= the Boo.Lang.Compiler API which give you much more control on how the code= gets compiled and generated or through the simpler, higher level, Boo.Lang= .Interpreter API.=20
That is pretty much the sum of it--the way you implement scripting will = vary, of course; you might want to accept Boo source code from your applica= tion via a nicely formatted text editor; in that case, it would be more app= ropriate to use the StringInput class and feed it a string from your buffer= instead.