Jeremy Ashkenas
1a652a9736
CoffeeScript 1.1.2
2011-08-04 23:17:23 -04:00
Michael Ficarra
2a9fd34a03
Made line continuations in the REPL much, much nicer and moved all of
...
the REPL-specific code out of CoffeeScript.eval and into the REPL
function (thanks for the suggestion, @TrevorBurnham)
2011-07-06 22:15:35 -04:00
Michael Ficarra
55383155e5
More accurately emulating node's REPL behaviour with regard to _
...
assignment. Also addresses `i for i in [1..3]` regression introduced by
fff4c9c672 and noticed by @satyr
2011-07-06 22:15:35 -04:00
Michael Ficarra
40ee30ecde
Fixes #1035 , #1425 , and #1444 : (another) overhaul of REPL and
...
CoffeeScript.eval. Instead of writing about all the changes and why I
made those decisions, I'll just answer any questions in the commit
comments, so add a commit comment if you want to question anything.
Thanks to @TrevorBurnham and @satyr for their help/contributions. Also,
closes #1487 . And still no REPL tests...
2011-07-06 22:15:35 -04:00
Michael Ficarra
35c2a72ad2
REPL blank line fix
2011-06-02 01:34:55 -04:00
Michael Ficarra
10ec1a659f
fixes #1398 : comments in the REPL
2011-05-28 22:39:27 -04:00
Michael Ficarra
e4f47a05f6
merging @TrevorBurnham's pull request #1314 , enhancing CS.eval; closes #1314
2011-05-25 03:53:51 -04:00
Michael Ficarra
454aa8433b
fixes #1390 : persistence of non-enumerable global properties in the REPL
2011-05-25 03:43:10 -04:00
Jeremy Ashkenas
01b0cfc8ab
Merge pull request #1324 from TrevorBurnham/node-modules
...
Use `require.main` instead of loop to get main module
2011-05-15 17:04:40 -07:00
Jeremy Ashkenas
9e4fa02cdb
CoffeeScript 1.1.1
2011-05-10 09:27:19 -04:00
Trevor Burnham
b9d3bc5b44
x = {} if x -> x and= {}, per Michael's suggestion
...
https://github.com/jashkenas/coffee-script/pull/1324/files#r25463
2011-05-03 17:06:34 -04:00
Trevor Burnham
fa2ed81485
Renaming root to mainModule in run method
2011-05-03 15:53:10 -04:00
Trevor Burnham
ea4a723379
Simpler method of getting the root module
2011-05-03 15:47:39 -04:00
Jeremy Ashkenas
09712603c4
coffee-script 1.1.0
2011-05-01 12:08:15 -04:00
Trevor Burnham
824e081005
Fixing unavailability of global properties on REPL
2011-05-01 01:45:14 -04:00
Jeremy Ashkenas
bf8fbc2c0e
Fixing process.argv[0] ... #1303
2011-04-30 10:59:55 -04:00
Jeremy Ashkenas
0ed8ae28e7
merging #1303 ... setting process.argv[0] to coffee for coffee's run.
2011-04-30 10:39:28 -04:00
Michael Ficarra
7efea4bb23
removed "globals" option of CoffeeScript.compile and enhanced fix from
...
previous commits
2011-04-29 15:53:30 -04:00
Michael Ficarra
63ce244359
Better fixes for problem mentioned in last 3 commits. Also adds _
...
special value (as in node's REPL) that always holds return value of last
executed expression. Finally, fixes #1109
2011-04-29 13:59:59 -04:00
Michael Ficarra
0bdf9538d0
Recently discussed problem has been understood. Adding relevant values
...
to the global scope upon `eval` in REPL.
See bcf1e178a1 (commitcomment-362493)
2011-04-29 09:29:25 -04:00
Michael Ficarra
b88e23892f
Fixes broken require from last commit. We're not actually sure yet
...
*why* `require` and only `require` was affected. All other globals that
I tried were unaffected: `console`, `parseInt`, `process`, `global`,
`Array`, `Object`, `Buffer`, `setTimeout`, ...
2011-04-29 09:18:47 -04:00
Michael Ficarra
bcf1e178a1
Fixes error in REPL where any variable defined in
...
`src/coffee-script.coffee` is shared with the REPL scope. Example: try
`lexer` or `@VERSION` pre-commit.
2011-04-29 02:32:16 -04:00
Trevor Burnham
fe889b8428
Setting process.argv[0] to 'coffee' in the REPL (aesthetic)
2011-04-28 18:35:42 -04:00
Trevor Burnham
cde7498c8e
Setting process.argv[0] to 'coffee' in 'coffee foo.coffee'
...
See #1301 et al.
2011-04-28 18:27:40 -04:00
Jeremy Ashkenas
44e0bbf342
Issue #1262 , print filename in error messages for require module scripts.
2011-04-26 20:35:30 -04:00
Jeremy Ashkenas
2f39102026
merging fix for #1124
2011-04-18 20:44:27 -04:00
Jann Horn
6ec9c844e4
fixes #1124 (and uglifies generated JS)
2011-03-28 23:12:27 +02:00
Joshua Peek
573e2b0012
Assign module.paths for node_module loading
2011-03-25 15:36:48 -05:00
Jeremy Ashkenas
6f21f8a402
merging stable
2011-02-01 22:02:57 -05:00
Trevor Burnham
abfc99308d
Setting process.argv[1] to equal the filename of the script being run (issue 1087)
2011-02-01 21:41:20 -05:00
Jeremy Ashkenas
955c87ef30
Bumping version to 1.0.2-pre
2011-02-01 21:32:58 -05:00
Jeremy Ashkenas
c44d9ae923
CoffeeScript 1.0.1
2011-01-31 22:39:12 -05:00
Jeremy Ashkenas
654c933e30
fixing version number to 1.1.0-pre ... to make it installable with npm.
2011-01-30 17:00:07 -05:00
Jeremy Ashkenas
3f586ff4ab
Merge branch 'master' into 1.1-pre
2011-01-15 14:50:44 -05:00
Jeremy Ashkenas
7c7b9a4be1
Merging in 1035 fix. fileName -> filename ... a bit of refactoring.
2011-01-15 10:46:53 -05:00
Jeremy Ashkenas
9faedbf516
bump version to 1.1-pre
2011-01-15 10:28:26 -05:00
Trevor Burnham
7815138386
Fixing require './foo' under --eval and REPL; issue 1035
2011-01-13 14:20:11 -05:00
Jeremy Ashkenas
f545f18c2d
Bumping to version 1.0.1-pre
2010-12-26 16:28:18 -08:00
Jeremy Ashkenas
33d2577fb5
CoffeeScript 1.0.0
2010-12-24 11:02:10 -08:00
Jeremy Ashkenas
dd168373a1
1.0.0-pre, that is.
2010-12-18 12:14:40 -05:00
Jeremy Ashkenas
f121558668
Starting to use development versions. This one is '1.0-pre'
2010-12-18 10:53:08 -05:00
Michael Ficarra
e5491198f6
Merge branch 'master' of http://github.com/jashkenas/coffee-script into refactorTests
...
Conflicts:
lib/coffee-script.js
2010-12-07 12:27:03 -05:00
Jeremy Ashkenas
fa53a4c057
CoffeeScript 0.9.6
2010-12-07 00:21:34 -05:00
Michael Ficarra
fb7498a8ec
made reserved words available as CoffeeScript.RESERVED
2010-12-03 18:07:36 -05:00
Jeremy Ashkenas
fc64fa49ac
Switching default arguments to use an if instead of an and, more documentation.
2010-11-21 21:12:59 -05:00
Jeremy Ashkenas
28d5db3bca
preparing documentation for 0.9.5
2010-11-21 12:38:27 -05:00
Jeremy Ashkenas
0e4d589d80
Coco ce2d08a: removed _argN temporaries for readability/consistency
2010-11-20 20:39:35 -05:00
Jeremy Ashkenas
31f4214b5d
first draft of range literals back...
2010-11-20 17:40:46 -05:00
satyr
1a9a48c5f2
rewrote "cake bench" to time per parsing stage
2010-11-18 01:34:23 +09:00
Jeremy Ashkenas
9c5eca9131
coco dc8945c: less ternaries, more returns-from-ifs. More readable.
2010-11-08 23:07:51 -05:00