ddmd.mars

Compiler implementation of the D programming language. Entry point for DMD.

This modules defines the entry point (main) for DMD, as well as related utilities needed for arguments parsing, path manipulation, etc... This file is not shared with other compilers which use the DMD front-end.

Members

Functions

Dsymbols_create
Dsymbols* Dsymbols_create()

Helper function used by the glue layer

Expressions_create
Expressions* Expressions_create()

Helper function used by the glue layer

VarDeclarations_create
VarDeclarations* VarDeclarations_create()

Helper function used by the glue layer

genCmain
void genCmain(Scope* sc)

Generate C main() in response to seeing D main().

main
int main()

Entry point which forwards to tryMain.

Static variables

entrypoint
Module entrypoint;

DMD-generated module __entrypoint where the C main resides

rootHasMain
Module rootHasMain;

Module in which the D main is

Meta

Source

See Source File
$(DMDSRC _mars.d)