Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Features

I'll try and keep this page updated with the status of the compiler.

D Language support

  • Variable declarations
    • Return value
    • Parameters
  • Function declarations
  • Struct declarations
  • If and While statements
  • Binary expressions
  • Call expressions
  • Integer types

Operations

The following operations is supported when running the Dang frontend:

  • Generate llvm code.
    • Enable optimizing and/or inline.
  • Generate Dot-tree of AST (Needs Updating)
  • Generate Code-dump of AST (Needs Updating)

Currently lacking

  • Good error-messaging
    • We are throwing the errors as exceptions for now, instead of finding as many as possible
    • The actual error messages can be good though - if we as an example forget a '=':
      test2.d(8:20): Unexpected token Integer
          struct Test { int x 2; }
                              ^