netzpirat/codo — pull request #29 by inossidabile (2012-03-18 17:31:26+00:00)
Title: Modules

I consider this implementation of modules complete enough to merge to master. What do you think, guys? I've added some tests and samples and it actually works on a real doc.

The next would be to implement `@includes` and `@extends`, I'll add it to issues separately.

For current implementation I still have a problem that comes to me as a nightmare. I can not decide if we should treat module methods as always-instance-level or always-class-level. I've started with the first one since that's how we actually define those in Coffee: `foo = ->`. However from the Referencer perspective it doesn't look that good since we call them with `Foo.bar` and not `Foo#bar`.