Power through complex systems.

Elegant by design. Relentless by default.

Dragonstone is a general-purpose, object-oriented programming language. With a focus on happiness, productivity, and choice. It's syntax is inspired by Ruby, and speed inspired by Crystal, it is both an interpreted and compiled language, implicitly dynamic by default with optional static type-checking, and explicitness.


echo "Hello World!"
eecho "Welcome to "
eecho "Dragonstone!"

e! "Happy coding!"
ee! "I ❤️ "
ee! "U!"

# OUTPUT: Hello World!
# OUTPUT: Welcome to Dragonstone!

# OUTPUT: "Happy coding!" # -> "Happy coding!"
# OUTPUT: "I ❤️ " + "U!" # -> "I ❤️ " + "U!"


record Point
    x
    y
end

num = Point.new(1, 2)

echo num.x
echo num.y

# OUTPUT: 1
# OUTPUT: 2



module Logger
    define hello(name: str)
        "Hello, #{name}!"
    end
end

class Greeter
    extend Logger
end

echo Greeter.hello("World")

# OUTPUT: "Hello, World!"