Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Command window or Desktop

From: moliad:gma:il at: 22-Mar-2007 14:55

howdy, not all of you are aware, but I started to write a rebol script interpreter built in rebol... I'm already able to execute functions, identify a few datatypes and comment code... its really a scripting engine, which allows one to shield and control the execution of rebol-like code within a string based parser. note, I do not use 'LOAD or 'DO in any form or function. This is pure parsing and run-time typecasting evaluation and eventually stack pushing/popping for real expression support. no side-effects of the script end up in the real rebol context, and all interpretation can be monitored, types controled (or refused) even a debugger will be added at some point to allow dataflow to connect to your script's execution. its called ANTIDOTE, and its already usefull at firing off API commands I make public for an application. One of the uses is that I'm using it to implement end-user setup keyboard control, instead of running code within rebol, I apply scripts on demand which the user defines, safely, with no risk of hackers using supplied blocks as a backdoor for probing... all it string based. obviously, the actual lexical analysis can be adapted to be more or less REBOL (and that's a feature) but by default, I will be trying to keep it as similar to real REBOL as I can (in fact it should be a subset, so antidote code should be evaluatable directly by REBOL itself ). things like a file sandbox which limits total file size, url and ip filtering of read and writes, code stepping, conditional driven timing and interruption of sleeping or looping code, etc. all these come to mind as features which will slowly get added as I and others need them. Expect my first release during the devcon, where I should be showing it as a module of my bigger project, I'll be unveiling. I just realised that we could then adapt it to make a little console out of it :-) -MAx On 3/22/07, Michael Chean <> wrote: