ALEF(1)
NAME
val, kal − ALEF compilers
SYNOPSIS
kal [ option ... ] [ name ... ]
val [ option ... ] [ name ... ]
DESCRIPTION
ALEF is a concurrent programming language with a syntax like C’s. Kal and val compile the named ALEF source files into SPARC and MIPS object files. Source files have the extension .l. The ALEF source is passed through cpp(1) prior to compilation. Object files have the normal extension for each architecture: .k for SPARC and .v for MIPS.
The compiler options are:
-o obj Place output in file obj (ignored if there is more than one input file). Default is to take the last element of the input pathname, strip any trailing .l, and append .v or .k .
-w Print warning messages for non fatal errors.
-N Do not run the code optimizer.
-c Generate code for check statements.
-S Produce assembly language as output. Default is to take the last element of the input pathname, strip any trailing .l, and append .s.
-Idir The directory dir is added to the front of the include search path.
-Dname=def
-Dname Define the name to the preprocessor, as if by #define. If no definition is given, the name is defined as 1.
-Idir #include files whose names do not begin with / are always sought first in the directory of the file argument, then in directories named in -I options, then in /sys/include/alef, and finally in /$objtype/include/alef.
-d# Produce various forms of debugging. The # is a character in the range a-z or A-Z.
EXAMPLE
To compile and run on a SPARC the ALEF program in the current directory:
kal -w ∗.l
kl ∗.k
k.out
FILES
/sys/include/alef
directory for #include files.
/$objtype/lib/alef
directory for ALEF libraries
SEE ALSO
2a(1), 2l(1), rl(1), mk(1), nm(1), db(1)
ALEF Reference Manual, Phil Winterbottom
Plan 9 — January 03, 1993