Open tothtamas28 opened 2 months ago
The bracketLabel
is only for unparsing; we probably want to keep that unconditionally and just disallow symbol
+ bracket
.
Second part is to make sure maybe not the case for Pyk, or have Pyk read bracketLabel
is an output-only attribute.syntaxDefinition.kore
in the same way as the C++ implementation does.
Consider
In the kompiled definition, the production corresponding to the bracket has
KLabel
,bracketLabel
attribute with value(_)_TEST_Foo_Foo
.If on the other hand
symbol((_))
is added to the bracket production, the resulting production hasKLabel
with value(_)
,bracketLabel
attribute with value(_)
.This discrepancy in
KLabel
seems arbitrary.bracketLabel
, and assign aKLabel
regardless of the presence of thesymbol
attribute?KLabel
to a bracket production?(Whatever solution we choose, an integration test should be added to
pyk
that checks the bracket production.)