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

Migrate to HerbSpecification.jl #22

Merged
merged 5 commits into from
Mar 7, 2024
Merged

Migrate to HerbSpecification.jl #22

merged 5 commits into from
Mar 7, 2024

Conversation

ReubenJ
Copy link
Member

@ReubenJ ReubenJ commented Feb 23, 2024

HerbData.jl has been deprecated in favor of HerbSpecification.jl. I've updated the benchmarks to use the new Problem type that includes a problem name field and arrays of IOExamples instead of Examples for the problem specification.

Closes #9 and #16.

The package will not precompile, and tests won't pass until Herb-AI/HerbGrammar.jl#54 is merged (and released, I guess?), thus, the draft PR.

The refactor I needed to do involved more than renaming symbols (I had to copy the variable name for each problem to the name field of the constructor), so I scripted it. In case anyone wants to take a peak, the script is in a branch here.

@ReubenJ ReubenJ requested a review from THinnerichs February 23, 2024 15:30
@ReubenJ ReubenJ self-assigned this Feb 23, 2024
@THinnerichs
Copy link
Member

Hijacking the PR to update to HerbGrammar=0.2.0 and HerbCore=0.2.0 conventions.
Grammar -> AbstractGrammar

@ReubenJ ReubenJ marked this pull request as ready for review March 4, 2024 14:35
@ReubenJ ReubenJ force-pushed the migrate-to-herbspec branch from 95751a5 to 6f63c45 Compare March 4, 2024 15:37
@ReubenJ ReubenJ force-pushed the migrate-to-herbspec branch from 6f63c45 to d90a88b Compare March 4, 2024 15:39
@ReubenJ
Copy link
Member Author

ReubenJ commented Mar 4, 2024

Sorry, ironically made a mess of this PR by rebasing/cleaning up commits. It's now rebased on dev to reflect the changes from #15. Should be ready for review/merge @THinnerichs

@THinnerichs
Copy link
Member

I will re-add the formatting we had, i.e. new line for each IOExample.

@THinnerichs THinnerichs merged commit 93f6d26 into dev Mar 7, 2024
@THinnerichs THinnerichs deleted the migrate-to-herbspec branch March 7, 2024 12:40
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