Skip to content
Peter Norvig's Spelling Corrector in 21 Lines of Coffeescript
JavaScript Python CoffeeScript Ruby CSS
Latest commit f814bc8 Jan 3, 2014 @danielribeiro Update
Failed to load latest commit information.
lib importing it all Mar 30, 2011
libjs importing it all Mar 31, 2011
python importing it all Mar 31, 2011
spec importing it all Mar 31, 2011
.gitignore first commit Mar 30, 2011 Update Jan 3, 2014
Rakefile new readme Apr 10, 2011
coffeecompiler.rb importing it all Mar 31, 2011
compileall.rb importing it all Mar 31, 2011


Compiling the Coffeescript Files

You can do it normally using nodejs and coffee, but there are a couple of rake tasks to make it easy to run:

  • compile: Just compiles all files.
  • compile_watch: Runs and starts the compileall.rb watchr script to continuously compile updated files. Obviously, requires watchr gem
  • force_compile: like compile_watch, but will force compile of all files regardless of date.

Running Tests

Just use the default rake task. Or rake spec.


Using coffee command line:

$ coffee lib/

More Info

More about it here.


Created by Daniel Ribeiro.

Released under the MIT License:

Something went wrong with that request. Please try again.