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

Breaking: refine public API #2

Merged
merged 1 commit into from
Jul 10, 2021
Merged

Breaking: refine public API #2

merged 1 commit into from
Jul 10, 2021

Conversation

kalzoo
Copy link
Contributor

@kalzoo kalzoo commented Jul 9, 2021

Reduces the number of visible functions and type definitions to those reasonably needed for outside use. Notably, this means removing public visibility for raw parsing and lexing functions, while leaving access to useful constructs like Program, ScheduledProgram, and all Instruction members and variants.

@@ -43,17 +43,6 @@ pub enum ErrorKind {
actual: Token,
expected: String,
},
/// An unknown identifier was encountered
Copy link
Contributor

Choose a reason for hiding this comment

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

Deleting code is such a pleasing feeling 😄

Copy link
Contributor

@genos genos left a comment

Choose a reason for hiding this comment

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

Excellent, thanks @kalzoo! Modulo one typo comment, this LGTM 👍

UncalibratedInstruction,
UnscheduleableInstruction,
UnscheduableInstruction,
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo: "Unscheduable" is probably "Unschedu l able"

@kalzoo kalzoo merged commit 193147d into main Jul 10, 2021
@github-actions
Copy link

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

This was referenced Jul 10, 2021
@genos genos deleted the 1-refine-public-api branch March 11, 2022 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants