Permalink
Browse files

First commit, before RUM...

  • Loading branch information...
mrluc committed Nov 28, 2011
0 parents commit 9bd04d8de8ce538ff8b7726bf139a3dabba12cb5
Showing with 7,467 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +17 −0 README
  3. +15 −0 README~
  4. +7 −0 brick.rb
  5. +8 −0 examples/coffee-script.js
  6. +6,240 −0 examples/jquery-1.4.2.js
  7. +40 −0 examples/repl.coffee
  8. +807 −0 examples/underscore.js
  9. +1 −0 go
  10. +36 −0 lib/core_macros.coffee
  11. +68 −0 lib/core_macros.js
  12. 0 lib/demo.coffee
  13. +19 −0 lib/tests.coffee
  14. +107 −0 macros.coffee
  15. +100 −0 repl.htm
@@ -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.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 9bd04d8

Please sign in to comment.