[Owasp-o2-platform] O2 and REPL

dinis cruz dinis.cruz at owasp.org
Fri Mar 23 22:37:05 UTC 2012


*(from http://diniscruz.blogspot.co.uk/2012/03/o2-and-repl.html)*


One of the (many) great concepts that Dennis
Groves<http://uk.linkedin.com/in/dennisgroves> introduced
me to was: *REPL <http://en.wikipedia.org/wiki/REPL>*


He said: *"Wow, O2  <http://o2platform.com/>is just a great REPL engine for
C# and Security Analysis"*

*
*

I was like *Rewhaaattt*????


It turns out that the O2 Scripting environment is actually something called
REPL which stands for: *Read - Eval  - Print - Loop *(see
http://en.wikipedia.org/wiki/REPL for more details).


And he is correct, the core of O2 is its ability to easily allow this loop
to occur (for more details see these
blog<http://o2platform.wordpress.com/2011/07/28/o2-scripting-solving-the-missing-references-compilation-problem-using-fvdl-as-an-example/>
 posts <http://o2platform.wordpress.com/category/o2-internals/>).


Note that I current write O2 in O2's REPL environment, because in
comparison, the normal Visual Studio compilation process is SOOOOOOO
painful (Usually I use O2's own development environment (IDE), but
 recently I created a VisualStudio AddIn for O2, so now I get the best of
both worlds)


Some references on REPL:

   - http://www.mono-project.com/CsharpRepl
   - Walkthrough: Executing Code in the Interactive
Window<http://msdn.microsoft.com/en-us/vstudio/hh543923>

   - Using the C# Interactive Window that comes with Roslyn
blog.<http://filipekberg.se/2011/11/14/using-the-c-interactive-window-that-comes-with-roslyn/>
   - Using the C# Interactive Window that comes with Roslyn – Part 2
blog<http://filipekberg.se/2011/11/25/using-the-c-interactive-window-that-comes-with-roslyn-part-2/>
   .
   - 2. Lather, Rinse, Repeat: A Tour of the
REPL<http://www.gigamonkeys.com/book/lather-rinse-repeat-a-tour-of-the-repl.html>
     (List)
   -
   http://en.wikipedia.org/wiki/Lisp_(programming_language)#Evaluation_and_the_read.E2.80.93eval.E2.80.93print_loop

   - Read–eval–print
loop<http://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop>
(in
   Wikipedia)

Dinis Cruz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/owasp-o2-platform/attachments/20120323/f055ff22/attachment.html>


More information about the Owasp-o2-platform mailing list