© Jørgen Steensgaard-Madsen, Copenhagen, 2006
Files in the top of the hierarchy                                                  
 
   

A few semantic routines need to cooperate closely with dulce, e.g.  to initialise the meaning of global names like stdin and stdout. The top of the hierarchy defines a very small library, but no real language. A separate section will describe language properties that are supported by semantics implemented in the core of dulce or presumed to be defined in every contribution. This is partly reflected by the contents of some files in at the top-level:
.base Type and operator descriptions
.ulc Signatures supported by tool semantics
basic.c Initialisation of global variables and types
Definition of macros
include_sem.c Scanner interface
types.h Definition of types in C
Makefile Commands for the entire hierarchy
makefile.skeleton Model for contributions' Makefile
makefile.include Shared commands to build a contribution
Contributors who want to build an entirely new hierarchy should have a thorough knowledge of descriptions and substantial experience from writing semantics, so they should have no difficulty in understanding the contents of these files.
A few type operators have descriptions that are built into the tool: int, real, string, Output, Text, and void. A few operations are described internally also:
Operation signatures
[ skip ] Empty semantics
[ stdout : Output ] The default output stream
[ ANY OF T : T ] Our interpretation of `undefined'
Operator symbol introduction (with no semantics)
? Missing operator symbol
`_' Coercion operator symbol
<< Output operator symbol
Ideally as few names as possible should be defined internally.

Contents

Demo language
·Implementation tool
Copyrights


Introduction
Principles
·Interpreter construction


Contribution directory
Make commands
Semantics
Illustration
Auxiliary files
·Toplevel files
Reference
Download
Appendices



File translated from TEX by TTH, version 3.33.
On 18 Oct 2006, 16:47.
SourceForge.net Logo