Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript Converstion #97

Merged
merged 5 commits into from
Apr 10, 2023
Merged

Typescript Converstion #97

merged 5 commits into from
Apr 10, 2023

Conversation

siefkenj
Copy link
Contributor

@siefkenj siefkenj commented Apr 2, 2023

This PR converts the project to Typescript. It also reworks how the output parser is generated.

With this PR, Peggy's generated parser is used. It is stored in a dummy variable and re-exported with appropriate types.

I believe the types generated for the exported parser should match those generated by the previous version of ts-pegjs. These will be enhanced in a subsequent PR.

This PR depends on #96

@pjmolina pjmolina merged commit bb4dfa1 into metadevpro:master Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants