in reply to Re: Preferred Scripting Language to Embed?
in thread Preferred Scripting Language to Embed?

Let me clarify.

I want a language that allows variable & method declaration, branching (if/elseif/else) loops (for/foreach/while), recursion and simple data structures (scalar, list, hash).

When I say "logic" I mean "branching, looping, variable-declaration and assignment, method-calls and return values".

Things I don't want are file- or socket-io operations, sleep() or exit(). Nor do I want the ability to import other modules.

I would use Inline::WSC and embed JavaScript and/or VBScript but it is only for Windows and the application I am writing is intended for Linux.
  • Comment on Re^2: Preferred Scripting Language to Embed?

Replies are listed 'Best First'.
Re^3: Preferred Scripting Language to Embed?
by Asim (Hermit) on Oct 13, 2006 at 14:03 UTC
    Things I don't want are file- or socket-io operations...I would use Inline::WSC and embed JavaScript and/or VBScript

    As someone who's supporting legacy VBScript apps, I can tell you that it does allow file operations; indeed, one of the first things I wrote for one app in question was a very basic logging tool. I suspect JS, outside of browser sandboxing, allows similar activities.

    Indeed, I support the idea of you sandboxing the scripting language over trying to find a Turing-complete language with the attributes in question. Sandboxing seems to be "the way" to corral such users, esp. since few languages are restricted in the way you're looking for.

    ----Asim, known to some as Woodrow.