Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waynevanson/parser
Text parsing typescript modules that use the iterator protocol where applicable to convert text into values
https://github.com/waynevanson/parser
Last synced: about 1 month ago
JSON representation
Text parsing typescript modules that use the iterator protocol where applicable to convert text into values
- Host: GitHub
- URL: https://github.com/waynevanson/parser
- Owner: waynevanson
- Created: 2024-03-14T22:04:29.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-23T22:17:53.000Z (10 months ago)
- Last Synced: 2024-11-30T16:41:55.603Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 122 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `@waynevanson/parser`
Text parsing typescript modules that use the iterator protocol where applicable to convert text into values.
## Modules
Each module is independant of each other. This means you may bring your own scanner for the lexer, as long as the interface matches.
| Package | Description |
| :--------------------- | :------------------------------------------------------ |
| `@waynevanson/scanner` | Iterates over text and returns lexemes |
| `@waynevanson/lexer` | Iterates over lexemes from a scanner and returns tokens |
| `@waynevanson/pratt` | Iterates over tokens from a lexer and returns an output |