Getting Started: Running a Program


 

Now try to run the program hello.gb (you didn't expect this, did you? ;-)

gbeta hello

The program looks like this:

 
-- betaenv:descriptor --
(# 
do 'Hello, world!'->stdio
#) 

The output from the execution is quite verbose:

 
GBETA version 0.9, copyright (C) 1997-2001 Erik Ernst.
This is free software, and you are welcome to redistribute it 
under certain conditions; this software comes with ABSOLUTELY NO WARRANTY.
For details please see the file COPYING.

Interpreting "hello"

------------------------------ Analyze program

------------------------------ Execute primary object
Hello, world!
 

There is no way to get rid of the verbosity right now, but the next release will have a -q option or (likely) be much more quiet by default.

The next subject is interactive execution, not unlike a debugging session.

 


Signed by: eernst@cs.auc.dk. Last Modified: 3-Jul-01