@beckje01
npm install -g sweet.js
(function(){ //Work Here })();
macro seaf { case $body => { (function() $body )(); } }
var foo = 'go'; seaf{ var bar ='bob'; console.log("In sef"); } console.log(foo); console.log(bar);
In seaf go /Users/jeffbeck/projects/jsmacro/seaf.js:7 console.log(bar); ReferenceError: bar is not defined
var foo = 'go'; (function () { var bar$2 = 'bob'; console.log('In seaf'); }()); console.log(foo); console.log(bar);
scheme { (display "hello") (display "foo") (define foo (lambda (a) (return "hello"))) }
$enum Suites { CLUBS, SPADES, HEARTS, DIAMONDS }
By Jeff Beck