Message-ID: <394024209.1847.1369262022891.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1846_1301648714.1369262022890" ------=_Part_1846_1301648714.1369262022890 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>
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.
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.------=_Part_1846_1301648714.1369262022890--