An Introduction to Dragon
Dragon is an innovative and practical general-purpose, multi-paradigm scripting language. It supports multiple programming paradigms such as imperative, object-oriented, functional, natural programming, procedural and declarative programming using nested structures. The language is portable (Windows, Linux, Mac OS X, Android, etc.) and can be used to create console and GUI applications. The language is designed to be simple, small, flexible, and fast. It's a dynamically- and weakly-typed language that interprets the source code through the JVM or LLVM. The first version of the language was released on January 4th, 2018.
An introduction to
Table of Contents
editGetting Started
edit- Introduction
- History
- Features
- Hello World
- Run the program
- Multi-Line literals
- Getting Input
- Writing Comments
Variables
editOperators
edit- Operators
- Arithmetic Operators
- Relational Operators
- Logical Operators
- Bitwise Operators
- Assignment Operators
- Misc Operators
- Operator Precedence
Control Structures
editGetting Input
editFunctions
edit- Functions
- Define Functions
- Call Functions
- Declare parameters
- Send Parameters
- Variables Scope
- Return Value