DRAGON
Try Online
Introduction
The Dragon is an innovative and practical general-purpose language. The supported programming paradigms are imperative, object-oriented, declarative using nested structures, functional, meta programming and natural programming. The language is portable (Windows, Linux, macOS, etc.) and can be used to create Console and GUI. The language is designed to be simple, small, flexible and fast.
Practical
Many of the Dragon modules (GUI, Graphic, db, files and etc). Dragon is ready for use in production and increase the developers productivity.

Previous
Next
Why Dragon?
The language is simple, trying to be natural, encourage organization and comes with transparent and visual implementation. It comes with compact syntax and a group of features that enable the programmer to create natural interfaces and declarative domain-specific languages in a fraction of time. It is very small, fast. It comes with useful and practical libraries. The language is designed for productivity and developing high quality solutions that can scale.                                                        

Designed for a Clear Goal
Applications programming language.
Productivity and developing high quality solutions that can scale.
Small and fast language.
Simple language that can be used in education.
Quick execution speed
Dragon native runs a program faster than C# and Java.
Simple syntax
Dragon is a very simple language, and has a very straightforward syntax. It encourages programmers to program without boilerplate code. To print something using the standard output, We can use the 'show' command. and 'showln' for output in newline.

show "Hello, World!"

for taking input, we can use 'readln()' method which is in 'std' library.

select "std"
a = readln()
showln a

Trying to be natural
Call functions before definition

one()
two()
three()
func one() {
showln "One" }
func two() {
showln "two" }
func three() {
showln "three" }

Pass values by parameters.

show val(30,40) // print 70


func val(a,b){

return a + b
}
Making a class.

class run{

func val(){

showln 10 + 20
}
}

r = new run()
r.val()  //Output 30

About the author
Aavesh Jilani is the creator of Dragon (programming language) and founder of Suasive (search engine).
Visit the website.