dekoration

0.0.0 • Public • Published

Dekoration

Dekoration is a programming language.
Dekoration has features shown as follows.

  • First class functions and closures
  • Infix operators which can be defined by users
  • Tail recursion optimization
  • First class continuation
  • LISP like macros

Example

This is an example of Dekoration code.

function(fac; n; if(n <= 1, 1, n * fac(n - 1)))

This code is equivalent to above code.

function(fac; n) {
    if(n <= 1) {
        1
    } else {
        n * fac(n - 1)
    }
}

Readme

Keywords

Package Sidebar

Install

npm i dekoration

Weekly Downloads

1

Version

0.0.0

License

MIT

Unpacked Size

40.3 kB

Total Files

5

Last publish

Collaborators

  • ymoriguchi