Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimhester/parser
An alternate parser for R (Vaporware for now)
https://github.com/jimhester/parser
Last synced: 20 days ago
JSON representation
An alternate parser for R (Vaporware for now)
- Host: GitHub
- URL: https://github.com/jimhester/parser
- Owner: jimhester
- Created: 2015-10-19T19:54:27.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-19T20:27:17.000Z (about 9 years ago)
- Last Synced: 2024-11-05T03:22:04.817Z (2 months ago)
- Size: 109 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# parser
An alternate parser for R (Vaporware for now)Currently a place for me to collect information / ideas
# Need for an alternate parser
- Current bison/YACC paser is hard (for me) to follow https://github.com/wch/r-source/blob/trunk/src/main/gram.y.
- parsed expressions do not retain detailed per token location information
- comment source locations are not retained.
- `getParseData()`
- data is limited and somewhat buggy / inconsistant.
- No great way to map parsed expressions to getParseData output.
- Would prove useful to
- Existing packages
- https://github.com/jimhester/lintr
- https://github.com/jimhester/covr
- https://github.com/yihui/formatR
- Future packages similar to
- https://golang.org/cmd/gofmt/
- https://babeljs.io/
- https://github.com/estree/estree
- https://github.com/marijnh/tern