All Projects → TomPrograms → dragon

TomPrograms / dragon

Licence: MIT License
🐲 Object orientated, dynamically typed, interpreted programming language inspired by Python and Javascript.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to dragon

Vaquero
A scripting language for cowboy coders
Stars: ✭ 18 (+28.57%)
Mutual labels:  interpreter
dew-common
Java common tools collection, support for GraalVM
Stars: ✭ 52 (+271.43%)
Mutual labels:  interpreter
computation-py
Python implementation for Understanding Computation book.
Stars: ✭ 22 (+57.14%)
Mutual labels:  interpreter
MonkeyLang.jl
"Writing an Interpreter in GO" and "Writing a Compiler in GO" in Julia.
Stars: ✭ 30 (+114.29%)
Mutual labels:  interpreter
jaws
Jaws is an invisible programming language! Inject invisible code into other languages and files! Created for security research -- see blog post
Stars: ✭ 204 (+1357.14%)
Mutual labels:  interpreter
hematita
A memory safe Lua interpreter
Stars: ✭ 118 (+742.86%)
Mutual labels:  interpreter
BabyBrowser
A Small Web Browser Built in Python
Stars: ✭ 21 (+50%)
Mutual labels:  interpreter
oxide-lang
Oxide Programming Language, an interpreted scripting language with a Rust influenced syntax.
Stars: ✭ 106 (+657.14%)
Mutual labels:  interpreter
X11Basic
X11-Basic BASIC programming language.
Stars: ✭ 42 (+200%)
Mutual labels:  interpreter
snap
An embeddable scripting language inspired by Lua and JavaScript.
Stars: ✭ 32 (+128.57%)
Mutual labels:  interpreter
lambda-dti
Interpreter of the ITGL with dynamic type inference
Stars: ✭ 18 (+28.57%)
Mutual labels:  interpreter
vein
🔮⚡️Vein is an open source high-level strictly-typed programming language with a standalone OS, arm and quantum computing support.
Stars: ✭ 31 (+121.43%)
Mutual labels:  interpreter
clyde
Dialogue language and tools for games.
Stars: ✭ 21 (+50%)
Mutual labels:  interpreter
jispy
A JavaScript interpreter in Python, built for embedding JavaScript.
Stars: ✭ 43 (+207.14%)
Mutual labels:  interpreter
fakejava
嵌入式脚本语言 Lightweight embedded scripting language
Stars: ✭ 41 (+192.86%)
Mutual labels:  interpreter
BQN
No description or website provided.
Stars: ✭ 16 (+14.29%)
Mutual labels:  interpreter
termission
Cross-platform Serial (COM Port) / TCP Terminal with Scriptable Auto-Response
Stars: ✭ 39 (+178.57%)
Mutual labels:  interpreter
documentation
Documentation on how to get everything to work and entry point for new users.
Stars: ✭ 72 (+414.29%)
Mutual labels:  dragon
tranquility
Tranquility is an in-development programming language intended to replace Solidity
Stars: ✭ 17 (+21.43%)
Mutual labels:  interpreter
aria
Expressive, noiseless, interpreted, toy programming language
Stars: ✭ 40 (+185.71%)
Mutual labels:  interpreter
Dragon Lang Logo

🐉 Dragon is an object orientated, interpreted language that acts as an easy-to-use scripting language, employing dynamic but strong typing and object oriented programming to make programming as nice as possible.


// fibonacci.drg
// print first one hundred numbers in the fibonacci sequence

class Fibonacci {
  init() {
    this.a = 0;
    this.b = 1;
  }

  next() {
    var newValue = this.a + this.b;
    this.a = this.b;
    this.b = newValue;
    return newValue;
  }
}

function run(times) {
  var fibonacci = Fibonacci();
  for (var i = 0; i < times; i = i + 1) {
    print(fibonacci.next());
  }
}

run(100);

Features

  • Easy-to-use typing system - dynamically but strongly typed for ease of use.
  • 🔥 Eloquent syntax - reduce code length by creating functions, objects and loops.
  • 🧹 Keep code clean - relative import system allows code to be easily split into files.
  • ⚡️ Interpreted language - streamline development with no compile times.
  • 🚀 Object-oriented programming - full object system with classes, methods, states and inheritance.
  • Simple data structures included - strings, numbers, lists and dictionaries.
  • 🧠 Great control flow - if and else, for and while, switch and case all included.
  • 🤖 Turing Complete - all features needed to build a complete turing machine.

Getting Started

  • Documentation - You can get started by following the tutorial provided with the documentation.
  • Dragon Online - You can run Dragon code online, allowing you to get started even faster.

Credit

Author: Tom

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].