output mode should preserve line numbering #4

Open
maxtaco opened this Issue Jul 15, 2011 · 4 comments

2 participants

@maxtaco
Owner

There should be two output modes for the tamejs compiler, one that preserves line numbering so that the error messages line up, and one that nicely indents for debugging code output. This is similar to what pubjs is doing now, can probably snarf some code from there, assuming we clean up the code inlining mess.

@felixge

+1 - I'm very intrigued by this library, but not having line numbers match up makes practicing TDD very hard.

@maxtaco
Owner
@felixge

Node 0.4 is frozen on V8 3.1, so even if V8 was to implement this right now, it would take months before it would be available for most folks. Now afaik v8 doesn't even have this on the roadmap yet, so we may be talking 6-12 month, if ever.

@maxtaco
Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment