An Introduction to Dragon/Lessons/Features

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Features

The Dragon language comes with the next features

.. tip:: One of the main goals behind the first release is creating a useful language ready for production!

  • Interpreted
  • Declarative programming on the top of Object-Oriented programming
  • No explicit end for statements (No ; or ENTER is required)
  • Portable (Windows, Linux, Mac OS X, Anroid and etc.)
  • Comments (One line ,In-line & Multi-lines)
  • Dynamic Typing
  • Weakly typed
  • Garbage Collector - Automatic Memory Management (Escape Analysis and Reference Counting)
  • Structure Programming
  • Rich control structures & Operators
  • Procedures/Functions
  • No Main Function
  • Call Function before the definition
  • Recursion
  • Multi-line literals
  • Reflection and Meta-programming
  • Clear program structure (Statements then functions)
  • Exception Handling
  • I/O commands
  • Math functions
  • String functions
  • Standard functions
  • File processing functions
  • Database support
  • Create GUI Applications for Desktop