Skip to content

ltics/lc3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Build, Test and Run

./build.sh

Turing complete

let factorial = fn (n) {
  if (n > 0) {
    return n * factorial(n - 1);
  } else {
    return 1;
  }
};

Meta programming

let unless = macro(condition, consequence, alternative) {
  quote(if (!(unquote(condition))) {
          unquote(consequence);
        } else {
          unquote(alternative);
        });
};

Releases

No releases published

Packages

No packages published

Languages