Raven Manual - Running the Engine

Given zero command line arguments, raven will start in interactive mode.

>>> raven 
Raven (dev), Copyright (C) 2005-2006 Sean Pringle, mythago.net 
Raven comes with ABSOLUTELY NO WARRANTY; for details type LICENSE 
> _ 

The engine may be run as a shell script:

#!/usr/local/bin/raven 
'hello world' print 

... from a command line with source file as first argument:

>>> raven myscript 

... executing standard input as source code (note the use of - in place of source file to designate STDIN)

>>> cat myscript | raven - 

... reading standard input as data and executing a supplied line of code (note -e switch):

>>> echo 'a,b,c' | raven -e "',' split ':' join print" 
a:b:c
Get Firefox!