-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9bd04d8
Showing
15 changed files
with
7,467 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules/ | ||
nginx/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. ;) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. ;) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.