You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I build a grammar, and add an additional rule to it.
julia> grammar
1: Number = _
2: Number = Number + Number
3: Number = Number * Number
4: ntString =if ntBool
ntString
else
ntString
end
As one can see, ntBool is not a type of grammar. Hence, all_types in add_rule! doesn't hole ntBool. Hence the rule also only has two children, not three.
This should not fail during grammar construction, but whenever I try to search over it.
The text was updated successfully, but these errors were encountered:
I build a grammar, and add an additional rule to it.
As one can see,
ntBool
is not a type of grammar. Hence,all_types
inadd_rule!
doesn't holentBool
. Hence the rule also only has two children, not three.This should not fail during grammar construction, but whenever I try to search over it.
The text was updated successfully, but these errors were encountered: