mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
got the CoffeeScript-in-CoffeeScript REPL running, and boy is she fast
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
};
|
||||
exports.VERSION = '0.5.0';
|
||||
// Compile CoffeeScript to JavaScript, using the Coffee/Jison compiler.
|
||||
exports.compile = function compile(code) {
|
||||
return (parser.parse(lexer.tokenize(code))).compile();
|
||||
exports.compile = function compile(code, options) {
|
||||
return (parser.parse(lexer.tokenize(code))).compile(options);
|
||||
};
|
||||
// Just the tokens.
|
||||
exports.tokenize = function tokenize(code) {
|
||||
|
||||
Reference in New Issue
Block a user