limbo man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

LIMBO(1E)							     LIMBO(1E)

NAME
       limbo - Limbo compiler

SYNOPSIS
       limbo [ option ... ] [ file ... ]

DESCRIPTION
       Limbo  compiles	the  named Limbo files into machine-independent object
       files for the Dis virtual machine.  Depending on the options, the  com‐
       piler may create output files or write information to its standard out‐
       put.  Conventional files and their extensions include the following.

       file.b	 Limbo source file.

       file.dis	 Object code for the Dis virtual machine.

       file.m	 Limbo source file for module declarations.

       file.s	 Assembly code.

       file.sbl	 Symbolic debugging information.

       With no options, limbo produces a .dis file for each source file.

       The compiler options are:

       -a	 Print on standard output type	definitions  and  call	frames
		 useful	 for  writing C language implementations of Limbo mod‐
		 ules.	Suppresses normal output file generation.

       -C	 Mark the Dis object file to prevent run-time compilation.

       -c	 Mark the Dis object file to guarantee run-time compilation.

       -D flags	 Turn on debugging flags.  Flags include A for arrays,	a  for
		 alt statements, b for booleans, C for case body statements, c
		 for case statements, D for use descriptors,  d	 for  declara‐
		 tions,	 e  for expressions, E for extended expressions, F for
		 function information, f for constant folding, m for  modules,
		 n  for nil references, P for program counter manipulations, r
		 for reference types, S for type signatures, s for a code gen‐
		 eration summary, T for tuples, t for type checking, and v for
		 variable initialization.

       -e	 Increase the number of errors the compiler will report before
		 exiting.

       -G	 Annotate assembly language output with debugging information.
		 A no-op unless -S is set.

       -g	 Generate debugging information for the input files and	 place
		 it  in	 a  file  named	 by stripping any trailing .b from the
		 input file name and appending .sbl.

       -i	 Disable inlining of functions. Currently functions containing
		 a  single return statement or two return statements and an if
		 clause are candidates for inlining.

       -I dir	 An include file whose name  does  not	begin  with  slash  is
		 sought first relative to the working directory, regardless of
		 the source file argument.  If	this  fails,  limbo  sequences
		 through  directories  named  in  -I options, then searches in
		 /module.  An include file contains Limbo  source  code,  nor‐
		 mally holding one or more module declarations.

       -o obj	 Place	output	in file obj (allowed only if there is a single
		 input file).  The output file	will  hold  either  object  or
		 assembly  code, depending on -S.  Default is to take the last
		 element of the input file name, strip any  trailing  .b,  and
		 append	 .dis for object code and .s for assembly code.	 Thus,
		 the default output file for dir/mod.b would be mod.dis.

       -S	 Create assembly language output instead of object code.

       -T module Print on standard output C stub functions, useful for	imple‐
		 menting  Limbo modules in the C language for linkage with the
		 interpreter.

       -t module Print on standard output a table  of  runtime	functions,  to
		 link  C  language  implementations  of modules with the Limbo
		 interpreter.  Suppresses normal output file generation.

       -w	 Print warning messages about unused variables, etc.  More w's
		 (e.g., -ww) increase the pedantry of the checking.

FILES
       /module
	      directory for Limbo include modules

SOURCE
       /appl/limbo
	      compiler source in Limbo

       /limbo compiler source in C for host

SEE ALSO
       asm(1), emu(1), mk(10.1), intro(2), sys-intro(2), tk(2)

       ``The Limbo Programming Language''
       ``Program Development in Inferno''
       ``A Descent into Limbo''
       in Volume 2.

								     LIMBO(1E)
[top]

List of man pages available for Inferno

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net