Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Missing a "line preserve" option #4

Open

Description

@marcominetti

When using with other compilers that feature sourcemap support, lines are no preserved against original source code causing line mismatch during debugging or code coverage analysis.

Can you add this option?

Activity

  1. dcodeIO commented on Apr 27, 2015

    @dcodeIO
    Owner

    Unfortunately, I don't have the time atm to dig though full fledged source map generation, which I assume would be required here. If you know of any tools to make this easier, let me know. I am also always happy to see a PR :)

  2. marcominetti commented on Apr 27, 2015

    @marcominetti
    Author

    Hi! I'll review your code and try to assess whether is quick to integrate the sourcemap-related tools... And definitely wait for a PR... ;)

    Do u use any AST parser or plain string-handling stuff?

  3. dcodeIO commented on Apr 27, 2015

    @dcodeIO
    Owner

    The source is actually quite short. Here is how it compiles: https://github.com/dcodeIO/MetaScript/blob/master/MetaScript.js#L79

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions