From e51f4210b81625f0f56f1fc7328279461e691b6c Mon Sep 17 00:00:00 2001 From: Reuben Gardos Reid <5456207+ReubenJ@users.noreply.github.com> Date: Thu, 14 Mar 2024 15:27:14 +0100 Subject: [PATCH 1/3] Add `[compat]` entry for `MLStyle` --- Project.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Project.toml b/Project.toml index d5a435b7..0af52bb0 100644 --- a/Project.toml +++ b/Project.toml @@ -22,6 +22,7 @@ HerbCore = "^0.2.0" HerbGrammar = "^0.2.0" HerbInterpret = "^0.1.1" HerbSpecification = "^0.1.0" +MLStyle = "^0.4.17" StatsBase = "^0.34" julia = "^1.8" From 73c9c6b7bfe05579dc084944ec03066eed3ba41e Mon Sep 17 00:00:00 2001 From: Whebon Date: Tue, 25 Jun 2024 22:47:03 +0200 Subject: [PATCH 2/3] Add a test to catch a bug in ForbiddenSequence --- test/test_constraints.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_constraints.jl b/test/test_constraints.jl index 45b1601e..d8d15aee 100644 --- a/test/test_constraints.jl +++ b/test/test_constraints.jl @@ -33,6 +33,8 @@ using HerbCore, HerbGrammar, HerbConstraints forbidden_sequence2 = ForbiddenSequence([4, 5], ignore_if=[3]) + forbidden_sequence3 = ForbiddenSequence([4, 1], ignore_if=[5]) + forbidden = Forbidden(RuleNode(3, [RuleNode(3, [VarNode(:a)])])) forbidden2 = Forbidden(RuleNode(4, [ @@ -82,6 +84,7 @@ using HerbCore, HerbGrammar, HerbConstraints ("Contains", contains), ("ForbiddenSequence", forbidden_sequence), ("ForbiddenSequence2", forbidden_sequence2), + ("ForbiddenSequence3", forbidden_sequence3), ("Forbidden", forbidden), ("Forbidden2", forbidden2), ("Ordered", ordered), From ca6c81ff077f7d22171b80b53062bf5f8af756fd Mon Sep 17 00:00:00 2001 From: Reuben Gardos Reid <5456207+ReubenJ@users.noreply.github.com> Date: Tue, 23 Jul 2024 14:44:32 +0300 Subject: [PATCH 3/3] Bump `HerbGrammar` --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index f81e6422..92925bb3 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "HerbSearch" uuid = "3008d8e8-f9aa-438a-92ed-26e9c7b4829f" authors = ["Sebastijan Dumancic ", "Jaap de Jong ", "Nicolae Filat ", "Piotr CichoĊ„ ", "Tilman Hinnerichs "] -version = "0.3.0" +version = "0.3.1" [deps] DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" @@ -19,7 +19,7 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" DataStructures = "0.17,0.18" HerbConstraints = "^0.2.0" HerbCore = "^0.3.0" -HerbGrammar = "^0.3.0" +HerbGrammar = "^0.4.0" HerbInterpret = "^0.1.3" HerbSpecification = "^0.1.0" MLStyle = "^0.4.17"