[plt-scheme] XML schema equivalent but for scheme s-expressions
Yea, and scheme/sandbox helps you define such environments. However, I
continually worry about "getting it right". Luckily, I don't write any
apps that need an untrusted config.
Jay
On Sat, Oct 25, 2008 at 8:47 AM, Grant Rettke <grettke at acm.org> wrote:
> On Sat, Oct 25, 2008 at 9:33 AM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
>> Third, sometimes when I want to do this sort of thing, I make the
>> configuration a program that returns a configuration object of my
>> program. Then, PLT Scheme does the work of parsing and validating,
>> etc. But this is not "safe".
>
> Is it safe if you evalaute it within a limited namespace?
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://jay.teammccarthy.org
"The glory of God is Intelligence" - D&C 93