gcanti / gcanti/parser-ts

Can @babel/code-frame be avoided?

Open
#64 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
196
Forks
19
PR merge metrics
No merged PRs in 30d

Description

## 📖 Documentation

Hello.
I noticed that most of the examples uses the run function, that in turn requires babel code-frame. Can babel code frame be avoided? My parser is meant to run in the browser and this dependency is quite beefy (and I'm not even sure it can run properly)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the documented examples that use the run function and trace how it brings in @babel/code-frame. Determine whether browser parsing can avoid that dependency; done means a clearly documented, working browser-compatible path without the dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
web-dev
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.