Skip to content

Commit

Permalink
First commit, before RUM...
Browse files Browse the repository at this point in the history
  • Loading branch information
mrluc committed Nov 28, 2011
0 parents commit 9bd04d8
Show file tree
Hide file tree
Showing 15 changed files with 7,467 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
nginx/
17 changes: 17 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -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 changes: 15 additions & 0 deletions README~
Original file line number Diff line number Diff line change
@@ -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. ;)
7 changes: 7 additions & 0 deletions brick.rb
Original file line number Diff line number Diff line change
@@ -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

8 changes: 8 additions & 0 deletions examples/coffee-script.js

Large diffs are not rendered by default.

Loading

0 comments on commit 9bd04d8

Please sign in to comment.