by Justin Szaday
Stack-based, multi-paradigm programming language with minimal syntax.

Lytescript (also referred to as Lyte) is a stack-based, multi-paradigm programming language that strives to have as little syntax as possible while still maintaining flexibility. With its batteries-included philosophy towards its standard library, this means that the language is easy to learn but powerful nevertheless. Lyte is primarily a mixture of the functional, loosely-typed and object-oriented programming language paradigms each of which affect the language differently. For example, it considers everything to be an object and reduces all arithmetic operations to function-calls.

Fido <- %{
  name: "Fido",
  tricks: %[
    "play dead",
    "chase " `++` @name `++` "'s tail",
    "sit",
    "roll over"
  ],
  doTricks: {
    For(@tricks, @(trick) {
      EchoLn(@name `++` " performed the trick " `++` trick `++` "!")
    })
  }
}

Fido.doTricks()
Information updated 09/12/15
View Comments