DGMScript is a tiny clojure-inspired LISP language which is based on the Mal interpreter. Here is the online playground for Mal interpreter.
Datatypes
DGMScript supports datatypes including number, string, boolean, nil, symbol, keyword, map, list, vector and atom.
Number
String
Boolean
Nil
Symbol
Keyword
Map
List
Vector
Atom
Atom is a reference type used to manage shared, mutable state. It encapsulates a single value that can be updated atomically.
Defines
Functions
Conditionals
You can use conditional expression if
, cond
, and or
.
Multiple actions
You can execute multiple actions has side-effects with do
.
Useful functions
Math
DGM object interoperability