jsigbiz / spec

JavaScript signature notation
130 stars 6 forks source link

make the annotator feature complete #32

Open Raynos opened 10 years ago

Raynos commented 10 years ago

The annotator is a program that you can use instead of node and it add runtime checks to all your exports to verify that all callsites to functions match the jsig definition of that function.

junosuarez commented 10 years ago

would this be a tool similar to code coverage instrumentation?

Raynos commented 10 years ago

Yes.

There are three parts to this.

So the main use case I have is an optional tool like a code coverage tool to annotate my tests.

The other use case is you can just wrap or check things manually if you want.

junosuarez commented 10 years ago

what I would love is a module for the wrapper as you've defined it that will provide good dev-time checking for my modules so that people developing off of them get saner error messages and better help. Again, from the point of view of making talking to computers better for humans.

Raynos commented 10 years ago

:+1: we can break out the wrapper once its done or expose it as a module from jden/jsig