Skip to content
Permalink
Browse files
First commit, before RUM...
  • Loading branch information
mrluc committed Nov 28, 2011
0 parents commit 9bd04d8de8ce538ff8b7726bf139a3dabba12cb5
Show file tree
Hide file tree
Showing 15 changed files with 7,467 additions and 0 deletions.
@@ -0,0 +1,2 @@
node_modules/
nginx/
17 README
@@ -0,0 +1,17 @@

macros.coffee

This is currently just a proof-of-concept/prototype of macros in CoffeeScript.

A real readme is coming.

For now:

- There's an html REPL that loads the .coffee with xhr, and a dumb webrick file to serve it with.
I use it to fiddle around in and make sure that the node stuff I added doesn't break browser
compatability.

- At the end of macros.coffee there's a few lines to let it be used from node. If you call it
with a list of coffee files it'll compile them with macro support.

- The code is full of line noise ATM. ;)
15 README~
@@ -0,0 +1,15 @@

macros.coffee

A real readme is coming.

For now:

- There's an html REPL that loads the .coffee with xhr, and a dumb webrick file to serve it with.
I use it to fiddle around in and make sure that the node stuff I added doesn't break browser
compatability.

- At the end of macros.coffee there's a few lines to let it be used from node. If you call it
with a list of coffee files it'll compile them with macro support.

- The code is full of line noise ATM. ;)
@@ -0,0 +1,7 @@
require 'webrick'
include WEBrick
S = HTTPServer.new(:Port => 2000, :DocumentRoot => Dir.pwd )
p Dir.pwd
trap("INT"){ s.shutdown }
S.start

Large diffs are not rendered by default.

0 comments on commit 9bd04d8

Please sign in to comment.