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

feat: Add AST, AST visitor, printer test #7

Merged
merged 1 commit into from
Jan 9, 2024
Merged

feat: Add AST, AST visitor, printer test #7

merged 1 commit into from
Jan 9, 2024

Conversation

danvk
Copy link
Owner

@danvk danvk commented Jan 9, 2024

Overview

Implements AST from Chapter 5 of Crafting Interpreters.

This chapter is almost entirely Java-isms, so the TS version looks quite different. I'm actually very happy with it! Interfaces, tagged unions and mapped types are quite nice for reducing boilerplate here.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Compliance Checks

Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.

Issue Reference

In order to be considered for merging, the pull request description must refer to a specific issue number. This is described in our Contributing Guide. We are closing this pull request for now but you can update the pull request description and reopen the pull request.
The check is looking for a phrase similar to: "Fixes #XYZ" or "Resolves #XYZ" where XYZ is the issue number that this PR is meant to address.

Copy link

codecov bot commented Jan 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dbcd077) 87.61% compared to head (5e53ce1) 88.79%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   87.61%   88.79%   +1.18%     
==========================================
  Files           5        6       +1     
  Lines         331      366      +35     
  Branches       48       48              
==========================================
+ Hits          290      325      +35     
  Misses         40       40              
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danvk danvk merged commit 2fb673d into main Jan 9, 2024
13 checks passed
@danvk danvk deleted the chapter5 branch January 9, 2024 22:22
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.

1 participant