File: goo.1

package info (click to toggle)
goo 0.155-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 14,000 kB
  • ctags: 19,448
  • sloc: ansic: 253,501; lisp: 2,452; makefile: 264; sh: 211
file content (62 lines) | stat: -rw-r--r-- 1,968 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.TH GOO 1 "2005-08-04"
.SH NAME
goo, g2c \- generic object-orientator (programming language)
.SH SYNOPSIS
.B goo
.br
.B g2c
.SH DESCRIPTION
This manual page documents briefly the \fBgoo\fP and \fBg2c\fP commands.
.PP
\fBgoo\fP and \fBg2c\fP interactively evaluate statements in GOO, a
dynamic, type-based, object-oriented language in the same family as
Dylan and Scheme.
The language is designed to be simple, productive, powerful,
extensible, dynamic, efficient, and real-time.
.PP
\fBgoo\fP and \fBg2c\fP support two evaluation modes, controlled by
the environment variable \fBGOO_EVAL_MODE\fP; the two commands differ
only in which mode is the default.
In \fBast\fP mode (short for "abstract syntax tree", and the default
for \fBgoo\fP), they directly interpret parsed goo expressions.
In \fBg2c\fP mode (the default for \fBg2c\fP), they instead translate
expressions into dynamically compiled C code.
.SH OPTIONS
None.
.SH USAGE
Typing \fBgoo\fP or \fBg2c\fP at your shell will start up a \fBgoo\fP
read-eval-print loop, which accepts s-expressions and top-level
commands commencing with a comma.
The following is a list of available commands:
.TP
\fB,quit\fP
Exit the program.
.TP
\fB^C\fP\ (control-C)
Invoke a recursive read-eval-print loop.
.TP
\fB,g2c-eval\fP
Change to dynamic compilation evaluation.
.TP
\fB,ast-eval\fP
Change to ast evaluation.
.TP
\fB,in\ ,\fP\fIname\fP
Change to module \fIname\fP.
.SH ENVIRONMENT
.TP
GOO_EVAL_MODE
Determines evaluation mode, as documented in DESCRIPTION above.
.TP
GOO_ROOT
Installation root (\fB/usr\fP on Debian systems); files needed at
runtime can be found under \fB${GOO_ROOT}/lib/goo\fP.
.SH SEE ALSO
The full GOO reference manual: /usr/share/doc/goo/goo.pdf.gz or
/usr/share/doc/goo/manual/goomanual.html .
.SH AUTHOR
goo was written by Jonathan Bachrach.
.PP
This manual page was written by Aaron M. Ucko <ucko@debian.org>, for
the Debian project based on Jonathan's documentation (but may be used
by others).