H2D User's Guide
Table Of Contents
00
00
00
0000000000000000000000
Introduction
New in version 1.30
Typographic conventions
Language descriptions
Source code fragments
Configuring H2D
Setting up system search path
Working configuration
Redirection file
Configuration file
Customizing H2D messages
Getting Started
Creating a working directory
Invoking H2D
H2D usage example
Error reporting
Translation Rules
Comments
Identifiers
Types
Derived types
Enumeration
Type synonyms
Variables
Function prototypes
Non-standard qualifiers
Preprocessor directives
Macro definitions
File inclusion
Conditional compilation
Other directives
Non-standard preprocessor directives
#merge
#variant
Module names
Using H2D
Headers merging
Fitting a Modula-2 compiler
Native code
Convertor to C
Modifying translation rules
Base types mapping
Pointer type function parameters
Preserving constant names
Project files
Overview
Project file contents
!header
!module
!name
Options Reference
File extensions and prefixes
Translation options
BACKEND - target compiler back-end
CHANGEDEF - enable retranslation
COMMENTPOS - preserved comments position
CPPCOMMENTS - recognize C++ comments
CSTDLIB - set CSTDLIB value
GENDIRS - extract non-standard directives
GENENUM - enum translation mode
GENLONGNAMES - keep directory names
GENMACRO - produce macro prototype modules
GENROVARS - translate constants to read-only variables
GENSEP - insert merged headers separators
GENTREE - generate inclusion tree
GENWIDTH - limit output line length
MERGEALL - merge all headers
PROGRESS - enable progress indicator
Base types definition
CTYPE - define a C base type
M2TYPE - define a Modula-2 type
XDS