benjamn / benjamn/recast

Support input sourcemaps in parse

Open
#115 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.3k
Forks
363
Avg merge
3d 8h
Merged PRs (30d)
3

Description

When parsing a js file with sourcemaps the locations in the AST output should point to the original file locations, not the parsed file locations.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the parse entry point and trace how JavaScript source locations are assigned to AST nodes. Investigate how input sourcemaps could be consumed during parsing, then verify that AST locations point to the original file rather than the parsed file.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.