catala/compiler/surface/parser.messages

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

1434 lines
60 KiB
Plaintext
Raw Normal View History

source_file: BEGIN_CODE DECLARATION ENUM CONSTRUCTOR COLON ALT CONSTRUCTOR CONTENT TEXT YEAR
2020-12-24 19:17:11 +03:00
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 335.
##
## list(enum_decl_line) -> enum_decl_line . list(enum_decl_line) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## enum_decl_line
##
2020-10-04 02:52:58 +03:00
expected another enum case, or a new declaration or scope use
source_file: BEGIN_CODE DECLARATION ENUM CONSTRUCTOR COLON ALT CONSTRUCTOR CONTENT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 330.
##
## enum_decl_line_payload -> CONTENT . typ [ SCOPE END_CODE DECLARATION ALT ]
##
## The known suffix of the stack is as follows:
## CONTENT
##
2020-10-04 02:52:58 +03:00
expected a content type
source_file: BEGIN_CODE DECLARATION ENUM CONSTRUCTOR COLON ALT CONSTRUCTOR YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 329.
##
## enum_decl_line -> ALT constructor . option(enum_decl_line_payload) [ SCOPE END_CODE DECLARATION ALT ]
##
## The known suffix of the stack is as follows:
## ALT constructor
##
expected a payload for your enum case, or another case or declaration
source_file: BEGIN_CODE DECLARATION ENUM CONSTRUCTOR COLON ALT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 328.
##
## enum_decl_line -> ALT . constructor option(enum_decl_line_payload) [ SCOPE END_CODE DECLARATION ALT ]
##
## The known suffix of the stack is as follows:
## ALT
##
expected the name of an enum case
source_file: BEGIN_CODE DECLARATION ENUM CONSTRUCTOR COLON YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 327.
##
## code_item -> DECLARATION ENUM constructor COLON . list(enum_decl_line) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## DECLARATION ENUM constructor COLON
##
2020-10-04 02:52:58 +03:00
expected an enum case
source_file: BEGIN_CODE DECLARATION ENUM CONSTRUCTOR YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 326.
##
## code_item -> DECLARATION ENUM constructor . COLON list(enum_decl_line) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## DECLARATION ENUM constructor
##
2020-10-04 02:52:58 +03:00
expected a colon
source_file: BEGIN_CODE DECLARATION ENUM YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 325.
##
## code_item -> DECLARATION ENUM . constructor COLON list(enum_decl_line) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## DECLARATION ENUM
##
2020-10-04 02:52:58 +03:00
expected the name of your enum
source_file: BEGIN_CODE DECLARATION SCOPE CONSTRUCTOR COLON YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 300.
##
## code_item -> DECLARATION SCOPE constructor COLON . nonempty_list(scope_decl_item) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## DECLARATION SCOPE constructor COLON
##
2020-10-04 02:52:58 +03:00
expected a context item introduced by "context"
source_file: BEGIN_CODE DECLARATION SCOPE CONSTRUCTOR YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 299.
##
## code_item -> DECLARATION SCOPE constructor . COLON nonempty_list(scope_decl_item) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## DECLARATION SCOPE constructor
##
2020-10-04 02:52:58 +03:00
expected a colon followed by the list of context items of this scope
source_file: BEGIN_CODE DECLARATION SCOPE YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 298.
##
## code_item -> DECLARATION SCOPE . constructor COLON nonempty_list(scope_decl_item) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## DECLARATION SCOPE
##
2020-10-04 02:52:58 +03:00
expected the name of the scope you are declaring
source_file: BEGIN_CODE DECLARATION STRUCT CONSTRUCTOR COLON CONDITION IDENT DEPENDS COLLECTION YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 285.
##
2022-02-28 16:33:07 +03:00
## typ -> collection_marked . typ [ STATE SCOPE OUTPUT INTERNAL INPUT IDENT END_CODE DEPENDS DECLARATION DATA CONTEXT CONDITION ALT ]
##
## The known suffix of the stack is as follows:
## collection_marked
##
2020-10-04 17:49:45 +03:00
expected a new struct data, or another declaration or scope use
source_file: BEGIN_CODE DECLARATION STRUCT CONSTRUCTOR COLON CONDITION IDENT DEPENDS TEXT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 293.
##
## list(struct_scope) -> struct_scope . list(struct_scope) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## struct_scope
##
2020-10-04 17:49:45 +03:00
expected a new struct data, or another declaration or scope use
source_file: BEGIN_CODE DECLARATION STRUCT CONSTRUCTOR COLON CONDITION IDENT DEPENDS YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 289.
##
2022-02-28 16:33:07 +03:00
## struct_scope_func -> DEPENDS . typ [ STATE SCOPE OUTPUT INTERNAL INPUT IDENT END_CODE DECLARATION DATA CONTEXT CONDITION ]
##
## The known suffix of the stack is as follows:
## DEPENDS
##
2020-10-04 17:49:45 +03:00
expected the type of the parameter of this struct data function
source_file: BEGIN_CODE DECLARATION STRUCT CONSTRUCTOR COLON CONDITION IDENT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 288.
##
## struct_scope -> struct_scope_base . option(struct_scope_func) [ SCOPE END_CODE DECLARATION DATA CONDITION ]
##
## The known suffix of the stack is as follows:
2020-05-14 22:19:46 +03:00
## struct_scope_base
##
2020-10-04 17:49:45 +03:00
expected a new struct data, or another declaration or scope use
source_file: BEGIN_CODE DECLARATION STRUCT CONSTRUCTOR COLON CONDITION YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 295.
##
## struct_scope_base -> condition_pos . ident [ SCOPE END_CODE DEPENDS DECLARATION DATA CONDITION ]
##
## The known suffix of the stack is as follows:
## condition_pos
##
2020-10-04 17:49:45 +03:00
expected the name of this struct condition
source_file: BEGIN_CODE DECLARATION STRUCT CONSTRUCTOR COLON DATA IDENT CONTENT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 281.
##
## struct_scope_base -> DATA ident CONTENT . typ [ SCOPE END_CODE DEPENDS DECLARATION DATA CONDITION ]
##
## The known suffix of the stack is as follows:
## DATA ident CONTENT
##
2020-10-04 17:49:45 +03:00
expected the type of this struct data
source_file: BEGIN_CODE DECLARATION STRUCT CONSTRUCTOR COLON DATA IDENT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 280.
##
## struct_scope_base -> DATA ident . CONTENT typ [ SCOPE END_CODE DEPENDS DECLARATION DATA CONDITION ]
##
## The known suffix of the stack is as follows:
## DATA ident
##
2020-10-04 17:49:45 +03:00
expected the type of this struct data, introduced by the content keyword
source_file: BEGIN_CODE DECLARATION STRUCT CONSTRUCTOR COLON DATA YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 279.
##
## struct_scope_base -> DATA . ident CONTENT typ [ SCOPE END_CODE DEPENDS DECLARATION DATA CONDITION ]
##
## The known suffix of the stack is as follows:
## DATA
##
expected the name of this struct data
source_file: BEGIN_CODE DECLARATION STRUCT CONSTRUCTOR COLON YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 278.
##
## code_item -> DECLARATION STRUCT constructor COLON . list(struct_scope) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## DECLARATION STRUCT constructor COLON
##
2020-10-04 17:49:45 +03:00
expected struct data or condition
source_file: BEGIN_CODE DECLARATION STRUCT CONSTRUCTOR YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 277.
##
## code_item -> DECLARATION STRUCT constructor . COLON list(struct_scope) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## DECLARATION STRUCT constructor
##
2020-10-04 17:49:45 +03:00
expected a colon
source_file: BEGIN_CODE DECLARATION STRUCT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 276.
##
## code_item -> DECLARATION STRUCT . constructor COLON list(struct_scope) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## DECLARATION STRUCT
##
2020-10-04 17:49:45 +03:00
expected the struct name
source_file: BEGIN_CODE DECLARATION YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 275.
##
## code_item -> DECLARATION . STRUCT constructor COLON list(struct_scope) [ SCOPE END_CODE DECLARATION ]
## code_item -> DECLARATION . SCOPE constructor COLON nonempty_list(scope_decl_item) [ SCOPE END_CODE DECLARATION ]
## code_item -> DECLARATION . ENUM constructor COLON list(enum_decl_line) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## DECLARATION
##
2020-10-04 17:49:45 +03:00
expected the kind of the declaration (struct, scope or enum)
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON ASSERTION CARDINAL THEN
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 240.
##
## nonempty_list(scope_item) -> scope_item . [ SCOPE END_CODE DECLARATION ]
## nonempty_list(scope_item) -> scope_item . nonempty_list(scope_item) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## scope_item
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 78, spurious reduction of production small_expression -> CARDINAL
## In state 82, spurious reduction of production primitive_expression -> small_expression
## In state 84, spurious reduction of production base_expression -> primitive_expression
## In state 123, spurious reduction of production unop_expression -> base_expression
## In state 79, spurious reduction of production mult_expression -> unop_expression
## In state 141, spurious reduction of production sum_expression -> mult_expression
## In state 124, spurious reduction of production compare_expression -> sum_expression
## In state 152, spurious reduction of production logical_atom -> compare_expression
## In state 147, spurious reduction of production logical_or_expression -> logical_atom
## In state 143, spurious reduction of production logical_expression -> logical_or_expression
## In state 174, spurious reduction of production expression -> logical_expression
## In state 234, spurious reduction of production assertion_base -> expression
## In state 235, spurious reduction of production assertion -> option(condition_consequence) assertion_base
## In state 239, spurious reduction of production scope_item -> ASSERTION assertion
##
expected a new scope use item
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON ASSERTION FIXED IDENT BY YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 231.
##
## assertion -> FIXED qident BY . ident [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## FIXED qident BY
##
2020-10-04 17:49:45 +03:00
expected the legislative text by which the value of the variable is fixed
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON ASSERTION FIXED IDENT WITH_V
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 230.
##
## assertion -> FIXED qident . BY ident [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## FIXED qident
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 224, spurious reduction of production separated_nonempty_list(DOT,ident) -> ident
## In state 216, spurious reduction of production qident -> separated_nonempty_list(DOT,ident)
##
2020-10-04 17:49:45 +03:00
expected the legislative text by which the value of the variable is fixed
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON ASSERTION FIXED YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 229.
##
## assertion -> FIXED . qident BY ident [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## FIXED
##
2020-10-04 17:49:45 +03:00
expected the name of the variable that should be fixed
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON ASSERTION UNDER_CONDITION TRUE THEN
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 237.
##
2022-12-12 18:02:07 +03:00
## condition_consequence -> condition . CONSEQUENCE [ VERTICAL TRUE SUM STATE NOT MONEY_AMOUNT MINUS MINIMUM MAXIMUM MATCH MAP LSQUARE LPAREN LET INT_LITERAL IF IDENT FOR FILTER FILLED FALSE EXISTS DEFINED_AS DECIMAL_LITERAL CONTENT CONSTRUCTOR CARDINAL ]
##
## The known suffix of the stack is as follows:
## condition
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 82, spurious reduction of production primitive_expression -> small_expression
## In state 84, spurious reduction of production base_expression -> primitive_expression
## In state 123, spurious reduction of production unop_expression -> base_expression
## In state 79, spurious reduction of production mult_expression -> unop_expression
## In state 141, spurious reduction of production sum_expression -> mult_expression
## In state 124, spurious reduction of production compare_expression -> sum_expression
## In state 152, spurious reduction of production logical_atom -> compare_expression
## In state 147, spurious reduction of production logical_or_expression -> logical_atom
## In state 143, spurious reduction of production logical_expression -> logical_or_expression
## In state 174, spurious reduction of production expression -> logical_expression
## In state 228, spurious reduction of production condition -> UNDER_CONDITION expression
##
2020-10-04 17:49:45 +03:00
expected a consequence for this definition under condition
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON ASSERTION UNDER_CONDITION YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 227.
##
## condition -> UNDER_CONDITION . expression [ CONSEQUENCE ]
##
## The known suffix of the stack is as follows:
## UNDER_CONDITION
##
2020-10-04 17:49:45 +03:00
expected an expression for this condition
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON ASSERTION VARIES IDENT UNDER_CONDITION
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 217.
##
## assertion -> VARIES qident . WITH_V base_expression option(variation_type) [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## VARIES qident
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 224, spurious reduction of production separated_nonempty_list(DOT,ident) -> ident
## In state 216, spurious reduction of production qident -> separated_nonempty_list(DOT,ident)
##
2020-10-04 17:49:45 +03:00
expected an indication about what this variable varies with
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON ASSERTION VARIES IDENT WITH_V TRUE XOR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 219.
##
## assertion -> VARIES qident WITH_V base_expression . option(variation_type) [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## VARIES qident WITH_V base_expression
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 82, spurious reduction of production primitive_expression -> small_expression
## In state 84, spurious reduction of production base_expression -> primitive_expression
##
2020-10-04 17:49:45 +03:00
expected an indication about the variation sense of the variable, or a new scope item
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON ASSERTION VARIES IDENT WITH_V YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 218.
##
## assertion -> VARIES qident WITH_V . base_expression option(variation_type) [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## VARIES qident WITH_V
##
2020-10-04 17:49:45 +03:00
the variable varies with an expression that was expected here
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON ASSERTION VARIES YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 215.
##
## assertion -> VARIES . qident WITH_V base_expression option(variation_type) [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## VARIES
##
2020-10-04 17:49:45 +03:00
expecting the name of the varying variable
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON ASSERTION YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 214.
##
## scope_item -> ASSERTION . assertion [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## ASSERTION
##
2020-10-04 17:49:45 +03:00
expected an expression that shoud be asserted during execution
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON DEFINITION IDENT DEFINED_AS YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 268.
##
2022-02-28 16:33:07 +03:00
## definition -> option(label) option(exception_to) DEFINITION qident option(definition_parameters) option(state) option(condition_consequence) DEFINED_AS . expression [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
2022-02-28 16:33:07 +03:00
## option(label) option(exception_to) DEFINITION qident option(definition_parameters) option(state) option(condition_consequence) DEFINED_AS
##
2020-10-04 17:49:45 +03:00
expected an expression for the definition
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON DEFINITION IDENT OF IDENT DECREASING
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 265.
##
2022-02-28 16:33:07 +03:00
## definition -> option(label) option(exception_to) DEFINITION qident option(definition_parameters) . option(state) option(condition_consequence) DEFINED_AS expression [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## option(label) option(exception_to) DEFINITION qident option(definition_parameters)
##
2020-10-04 17:49:45 +03:00
expected a expression for defining this function, introduced by the defined as keyword
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON DEFINITION IDENT WITH_V
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 264.
##
2022-02-28 16:33:07 +03:00
## definition -> option(label) option(exception_to) DEFINITION qident . option(definition_parameters) option(state) option(condition_consequence) DEFINED_AS expression [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## option(label) option(exception_to) DEFINITION qident
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 224, spurious reduction of production separated_nonempty_list(DOT,ident) -> ident
## In state 216, spurious reduction of production qident -> separated_nonempty_list(DOT,ident)
##
2020-10-04 17:49:45 +03:00
expected the defined as keyword to introduce the definition of this variable
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON DEFINITION YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 263.
##
2022-02-28 16:33:07 +03:00
## definition -> option(label) option(exception_to) DEFINITION . qident option(definition_parameters) option(state) option(condition_consequence) DEFINED_AS expression [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## option(label) option(exception_to) DEFINITION
##
2020-10-04 17:49:45 +03:00
expected the name of the variable you want to define
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON EXCEPTION IDENT YEAR
2020-12-24 19:17:11 +03:00
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 246.
2020-12-24 19:17:11 +03:00
##
2022-02-28 16:33:07 +03:00
## definition -> option(label) option(exception_to) . DEFINITION qident option(definition_parameters) option(state) option(condition_consequence) DEFINED_AS expression [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
## rule -> option(label) option(exception_to) . RULE rule_expr option(condition_consequence) option(state) rule_consequence [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
2020-12-24 19:17:11 +03:00
##
## The known suffix of the stack is as follows:
## option(label) option(exception_to)
##
expected a rule or a definition after the exception declaration
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON EXCEPTION YEAR
2020-12-24 19:17:11 +03:00
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 243.
2020-12-24 19:17:11 +03:00
##
## exception_to -> EXCEPTION . option(ident) [ RULE DEFINITION ]
2020-12-24 19:17:11 +03:00
##
## The known suffix of the stack is as follows:
## EXCEPTION
##
expected the label to which the exception is referring back
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON LABEL IDENT DEFINED_AS
2020-12-24 19:17:11 +03:00
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 242.
2020-12-24 19:17:11 +03:00
##
2022-02-28 16:33:07 +03:00
## definition -> option(label) . option(exception_to) DEFINITION qident option(definition_parameters) option(state) option(condition_consequence) DEFINED_AS expression [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
## rule -> option(label) . option(exception_to) RULE rule_expr option(condition_consequence) option(state) rule_consequence [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
2020-12-24 19:17:11 +03:00
##
## The known suffix of the stack is as follows:
## option(label)
##
expected a rule or a definition after the label declaration
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON LABEL YEAR
2020-12-24 19:17:11 +03:00
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 212.
2020-12-24 19:17:11 +03:00
##
## label -> LABEL . ident [ RULE EXCEPTION DEFINITION ]
##
## The known suffix of the stack is as follows:
## LABEL
##
expected the name of the label
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON RULE IDENT DOT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 225.
##
2022-02-28 16:33:07 +03:00
## separated_nonempty_list(DOT,ident) -> ident DOT . separated_nonempty_list(DOT,ident) [ WITH_V UNDER_CONDITION STATE OF NOT FILLED DEFINED_AS BY ]
##
## The known suffix of the stack is as follows:
## ident DOT
##
2020-10-04 17:49:45 +03:00
expected a struct field or a sub-scope context item after the dot
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON RULE IDENT NOT FALSE
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 256.
##
## rule_consequence -> option(NOT) . FILLED [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## option(NOT)
##
expected the filled keyword the this rule
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON RULE IDENT OF IDENT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 248.
##
2022-02-28 16:33:07 +03:00
## rule -> option(label) option(exception_to) RULE rule_expr . option(condition_consequence) option(state) rule_consequence [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## option(label) option(exception_to) RULE rule_expr
##
2020-10-04 17:49:45 +03:00
expected the expression of the rule
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON RULE IDENT OF YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 259.
##
2022-02-28 16:33:07 +03:00
## definition_parameters -> OF . ident [ UNDER_CONDITION STATE NOT FILLED DEFINED_AS ]
##
## The known suffix of the stack is as follows:
## OF
##
expected the name of the parameter for this dependent variable
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON RULE IDENT WITH_V
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 258.
##
2022-02-28 16:33:07 +03:00
## rule_expr -> qident . option(definition_parameters) [ UNDER_CONDITION STATE NOT FILLED ]
##
## The known suffix of the stack is as follows:
## qident
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 224, spurious reduction of production separated_nonempty_list(DOT,ident) -> ident
## In state 216, spurious reduction of production qident -> separated_nonempty_list(DOT,ident)
##
2020-10-04 17:49:45 +03:00
expected a condition or a consequence for this rule
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON RULE IDENT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 224.
##
2022-02-28 16:33:07 +03:00
## separated_nonempty_list(DOT,ident) -> ident . [ WITH_V UNDER_CONDITION STATE OF NOT FILLED DEFINED_AS BY ]
## separated_nonempty_list(DOT,ident) -> ident . DOT separated_nonempty_list(DOT,ident) [ WITH_V UNDER_CONDITION STATE OF NOT FILLED DEFINED_AS BY ]
##
## The known suffix of the stack is as follows:
## ident
##
2020-10-04 17:49:45 +03:00
expected a condition or a consequence for this rule, or the rest of the variable qualified name
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON RULE YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 247.
##
2022-02-28 16:33:07 +03:00
## rule -> option(label) option(exception_to) RULE . rule_expr option(condition_consequence) option(state) rule_consequence [ SCOPE RULE LABEL EXCEPTION END_CODE DEFINITION DECLARATION ASSERTION ]
##
## The known suffix of the stack is as follows:
## option(label) option(exception_to) RULE
##
2020-10-04 17:49:45 +03:00
expected the name of the variable subject to the rule
source_file: BEGIN_CODE SCOPE CONSTRUCTOR COLON YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 211.
##
## code_item -> SCOPE constructor option(scope_use_condition) COLON . nonempty_list(scope_item) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## SCOPE constructor option(scope_use_condition) COLON
##
2020-10-04 17:49:45 +03:00
expected a scope use item: a rule, definition or assertion
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION CONSTRUCTOR CONTENT TRUE YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 109.
##
## enum_inject_content -> CONTENT small_expression . [ XOR WITH WE_HAVE THEN SUCH SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER FOR EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
## small_expression -> small_expression . DOT option(terminated(constructor,DOT)) ident [ XOR WITH WE_HAVE THEN SUCH SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER FOR EXCEPTION EQUAL END_CODE ELSE DOT DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## CONTENT small_expression
##
2020-10-04 17:49:45 +03:00
the expression for the content of the enum case is already well-formed, expected an operator to form a bigger expression
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION CONSTRUCTOR CONTENT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 108.
##
## enum_inject_content -> CONTENT . small_expression [ XOR WITH WE_HAVE THEN SUCH SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER FOR EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## CONTENT
##
2020-10-04 17:49:45 +03:00
expected an expression for the content of this enum case
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION CONSTRUCTOR DOT CONSTRUCTOR ALL
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 107.
##
## struct_or_enum_inject -> constructor option(preceded(DOT,constructor)) . option(enum_inject_content) [ XOR WITH WE_HAVE THEN SUCH SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER FOR EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## constructor option(preceded(DOT,constructor))
##
expected the rest of the path, or the content of the enum constructor
2020-12-24 19:17:11 +03:00
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION CONSTRUCTOR DOT YEAR
2020-12-24 19:17:11 +03:00
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 91.
##
## option(preceded(DOT,constructor)) -> DOT . constructor [ XOR WITH WE_HAVE THEN SUCH SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER FOR EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONTENT CONTAINS CONSTRUCTOR CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## DOT
##
expected the rest of the path after the dot
2020-12-24 19:17:11 +03:00
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION CONSTRUCTOR LBRACKET ALT IDENT COLON CARDINAL THEN
2020-12-24 19:17:11 +03:00
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 74.
2020-12-24 19:17:11 +03:00
##
Make scopes directly callable Quite a few changes are included here, some of which have some extra implications visible in the language: - adds the `Scope of { -- input_v: value; ... }` construct in the language - handle it down the pipeline: * `ScopeCall` in the surface AST * `EScopeCall` in desugared and scopelang * expressions are now traversed to detect dependencies between scopes * transformed into a normal function call in dcalc - defining a scope now implicitely defines a structure with the same name, with the output variables of the scope defined as fields. This allows us to type the return value from a scope call and access its fields easily. * the implications are mostly in surface/name_resolution.ml code-wise * the `Scope_out` struct that was defined in scope_to_dcalc is no longer needed/used and the fields are no longer renamed (changes some outputs; the explicit suffix for variables with multiple states is ignored as well) * one benefit is that disambiguation works just like for structures when there are conflicts on field names * however, it's now a conflict if a scope and a structure have the same name (side-note: issues with conflicting enum / struct names or scope variables / subscope names were silent and are now properly reported) - you can consequently use scope names as types for variables as well. Writing literals is not allowed though, they can only be obtained by calling the scope. Remaining TODOs: - context variables are not handled properly at the moment - error handling on invalid calls - tests show a small error message regression; lots of examples will need tweaking to avoid scope/struct name or struct fields / output variable conflicts - add a `->` syntax to make struct field access distinct from scope output var access, enforced with typing. This is expected to reduce confusion of users and add a little typing precision. - document the new syntax & implications (tutorial, cheat-sheet) - a consequence of the changes is that subscope variables also can now be typed. A possible future evolution / simplification would be to rewrite subscopes as explicit scope calls early in the pipeline. That could also allow to manipulate them as expressions (bind them in let-ins, return them...)
2022-10-21 16:47:17 +03:00
## nonempty_list(preceded(ALT,struct_content_field)) -> ALT struct_content_field . [ RBRACKET ]
## nonempty_list(preceded(ALT,struct_content_field)) -> ALT struct_content_field . nonempty_list(preceded(ALT,struct_content_field)) [ RBRACKET ]
2020-12-24 19:17:11 +03:00
##
## The known suffix of the stack is as follows:
Make scopes directly callable Quite a few changes are included here, some of which have some extra implications visible in the language: - adds the `Scope of { -- input_v: value; ... }` construct in the language - handle it down the pipeline: * `ScopeCall` in the surface AST * `EScopeCall` in desugared and scopelang * expressions are now traversed to detect dependencies between scopes * transformed into a normal function call in dcalc - defining a scope now implicitely defines a structure with the same name, with the output variables of the scope defined as fields. This allows us to type the return value from a scope call and access its fields easily. * the implications are mostly in surface/name_resolution.ml code-wise * the `Scope_out` struct that was defined in scope_to_dcalc is no longer needed/used and the fields are no longer renamed (changes some outputs; the explicit suffix for variables with multiple states is ignored as well) * one benefit is that disambiguation works just like for structures when there are conflicts on field names * however, it's now a conflict if a scope and a structure have the same name (side-note: issues with conflicting enum / struct names or scope variables / subscope names were silent and are now properly reported) - you can consequently use scope names as types for variables as well. Writing literals is not allowed though, they can only be obtained by calling the scope. Remaining TODOs: - context variables are not handled properly at the moment - error handling on invalid calls - tests show a small error message regression; lots of examples will need tweaking to avoid scope/struct name or struct fields / output variable conflicts - add a `->` syntax to make struct field access distinct from scope output var access, enforced with typing. This is expected to reduce confusion of users and add a little typing precision. - document the new syntax & implications (tutorial, cheat-sheet) - a consequence of the changes is that subscope variables also can now be typed. A possible future evolution / simplification would be to rewrite subscopes as explicit scope calls early in the pipeline. That could also allow to manipulate them as expressions (bind them in let-ins, return them...)
2022-10-21 16:47:17 +03:00
## ALT struct_content_field
2020-12-24 19:17:11 +03:00
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 78, spurious reduction of production small_expression -> CARDINAL
## In state 82, spurious reduction of production primitive_expression -> small_expression
## In state 84, spurious reduction of production base_expression -> primitive_expression
## In state 123, spurious reduction of production unop_expression -> base_expression
## In state 79, spurious reduction of production mult_expression -> unop_expression
## In state 141, spurious reduction of production sum_expression -> mult_expression
## In state 124, spurious reduction of production compare_expression -> sum_expression
## In state 152, spurious reduction of production logical_atom -> compare_expression
## In state 147, spurious reduction of production logical_or_expression -> logical_atom
## In state 143, spurious reduction of production logical_expression -> logical_or_expression
## In state 153, spurious reduction of production struct_content_field -> ident COLON logical_expression
2020-12-24 19:17:11 +03:00
##
expected another structure field or the closing bracket
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION CONSTRUCTOR LBRACKET ALT IDENT COLON YEAR
2020-12-24 19:17:11 +03:00
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 77.
2020-12-24 19:17:11 +03:00
##
## struct_content_field -> ident COLON . logical_expression [ RBRACKET ALT ]
##
## The known suffix of the stack is as follows:
## ident COLON
##
expected the expression for this struct field
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION CONSTRUCTOR LBRACKET ALT IDENT YEAR
2020-12-24 19:17:11 +03:00
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 76.
2020-12-24 19:17:11 +03:00
##
## struct_content_field -> ident . COLON logical_expression [ RBRACKET ALT ]
##
## The known suffix of the stack is as follows:
## ident
##
expected a colon
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION CONSTRUCTOR LBRACKET ALT YEAR
2020-12-24 19:17:11 +03:00
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 73.
2020-12-24 19:17:11 +03:00
##
Make scopes directly callable Quite a few changes are included here, some of which have some extra implications visible in the language: - adds the `Scope of { -- input_v: value; ... }` construct in the language - handle it down the pipeline: * `ScopeCall` in the surface AST * `EScopeCall` in desugared and scopelang * expressions are now traversed to detect dependencies between scopes * transformed into a normal function call in dcalc - defining a scope now implicitely defines a structure with the same name, with the output variables of the scope defined as fields. This allows us to type the return value from a scope call and access its fields easily. * the implications are mostly in surface/name_resolution.ml code-wise * the `Scope_out` struct that was defined in scope_to_dcalc is no longer needed/used and the fields are no longer renamed (changes some outputs; the explicit suffix for variables with multiple states is ignored as well) * one benefit is that disambiguation works just like for structures when there are conflicts on field names * however, it's now a conflict if a scope and a structure have the same name (side-note: issues with conflicting enum / struct names or scope variables / subscope names were silent and are now properly reported) - you can consequently use scope names as types for variables as well. Writing literals is not allowed though, they can only be obtained by calling the scope. Remaining TODOs: - context variables are not handled properly at the moment - error handling on invalid calls - tests show a small error message regression; lots of examples will need tweaking to avoid scope/struct name or struct fields / output variable conflicts - add a `->` syntax to make struct field access distinct from scope output var access, enforced with typing. This is expected to reduce confusion of users and add a little typing precision. - document the new syntax & implications (tutorial, cheat-sheet) - a consequence of the changes is that subscope variables also can now be typed. A possible future evolution / simplification would be to rewrite subscopes as explicit scope calls early in the pipeline. That could also allow to manipulate them as expressions (bind them in let-ins, return them...)
2022-10-21 16:47:17 +03:00
## nonempty_list(preceded(ALT,struct_content_field)) -> ALT . struct_content_field [ RBRACKET ]
## nonempty_list(preceded(ALT,struct_content_field)) -> ALT . struct_content_field nonempty_list(preceded(ALT,struct_content_field)) [ RBRACKET ]
2020-12-24 19:17:11 +03:00
##
## The known suffix of the stack is as follows:
Make scopes directly callable Quite a few changes are included here, some of which have some extra implications visible in the language: - adds the `Scope of { -- input_v: value; ... }` construct in the language - handle it down the pipeline: * `ScopeCall` in the surface AST * `EScopeCall` in desugared and scopelang * expressions are now traversed to detect dependencies between scopes * transformed into a normal function call in dcalc - defining a scope now implicitely defines a structure with the same name, with the output variables of the scope defined as fields. This allows us to type the return value from a scope call and access its fields easily. * the implications are mostly in surface/name_resolution.ml code-wise * the `Scope_out` struct that was defined in scope_to_dcalc is no longer needed/used and the fields are no longer renamed (changes some outputs; the explicit suffix for variables with multiple states is ignored as well) * one benefit is that disambiguation works just like for structures when there are conflicts on field names * however, it's now a conflict if a scope and a structure have the same name (side-note: issues with conflicting enum / struct names or scope variables / subscope names were silent and are now properly reported) - you can consequently use scope names as types for variables as well. Writing literals is not allowed though, they can only be obtained by calling the scope. Remaining TODOs: - context variables are not handled properly at the moment - error handling on invalid calls - tests show a small error message regression; lots of examples will need tweaking to avoid scope/struct name or struct fields / output variable conflicts - add a `->` syntax to make struct field access distinct from scope output var access, enforced with typing. This is expected to reduce confusion of users and add a little typing precision. - document the new syntax & implications (tutorial, cheat-sheet) - a consequence of the changes is that subscope variables also can now be typed. A possible future evolution / simplification would be to rewrite subscopes as explicit scope calls early in the pipeline. That could also allow to manipulate them as expressions (bind them in let-ins, return them...)
2022-10-21 16:47:17 +03:00
## ALT
2020-12-24 19:17:11 +03:00
##
expected the name of the structure field
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION CONSTRUCTOR LBRACKET YEAR
2020-12-24 19:17:11 +03:00
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 72.
2020-12-24 19:17:11 +03:00
##
## struct_inject_content -> LBRACKET . nonempty_list(preceded(ALT,struct_content_field)) RBRACKET [ XOR WITH WE_HAVE THEN SUCH SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER FOR EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
2020-12-24 19:17:11 +03:00
##
## The known suffix of the stack is as follows:
## LBRACKET
##
expected structure fields introduced by --
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION CONSTRUCTOR YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 98.
##
2022-12-12 18:02:07 +03:00
## base_expression -> constructor . OF LBRACKET list(preceded(ALT,struct_content_field)) RBRACKET [ XOR THEN SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONSEQUENCE COLON ASSERTION AND ALT ]
## struct_or_enum_inject -> constructor . option(preceded(DOT,constructor)) option(enum_inject_content) [ XOR WITH THEN SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
## struct_or_enum_inject -> constructor . struct_inject_content [ XOR WITH THEN SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## constructor
##
2020-10-04 17:49:45 +03:00
expected a payload for the enum case constructor, or the rest of the expression (with an operator ?)
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION EXISTS IDENT IN CARDINAL SUCH THAT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 182.
##
2022-07-26 14:40:43 +03:00
## expression -> exists_prefix . expression [ THEN SEMICOLON SCOPE RULE RSQUARE RPAREN LABEL IN EXCEPTION END_CODE ELSE DEFINITION DECLARATION CONSEQUENCE COLON ASSERTION ]
##
## The known suffix of the stack is as follows:
## exists_prefix
##
2020-10-04 17:49:45 +03:00
expected an expression for the existential test
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION EXISTS IDENT IN TRUE SUCH YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 188.
##
2022-12-12 18:02:07 +03:00
## exists_prefix -> exists_marked ident IN primitive_expression SUCH . THAT [ VERTICAL TRUE SUM NOT MONEY_AMOUNT MINUS MINIMUM MAXIMUM MATCH MAP LSQUARE LPAREN LET INT_LITERAL IF IDENT FOR FILTER FALSE EXISTS DECIMAL_LITERAL CONTENT CONSTRUCTOR CARDINAL ]
##
## The known suffix of the stack is as follows:
## exists_marked ident IN primitive_expression SUCH
##
2020-10-04 17:49:45 +03:00
expected a keyword to complete the "such that" construction
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION EXISTS IDENT IN YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 186.
##
2022-12-12 18:02:07 +03:00
## exists_prefix -> exists_marked ident IN . primitive_expression SUCH THAT [ VERTICAL TRUE SUM NOT MONEY_AMOUNT MINUS MINIMUM MAXIMUM MATCH MAP LSQUARE LPAREN LET INT_LITERAL IF IDENT FOR FILTER FALSE EXISTS DECIMAL_LITERAL CONTENT CONSTRUCTOR CARDINAL ]
##
## The known suffix of the stack is as follows:
## exists_marked ident IN
##
2020-10-04 17:49:45 +03:00
expected an expression that designates the set subject to the existential test
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION EXISTS IDENT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 185.
##
2022-12-12 18:02:07 +03:00
## exists_prefix -> exists_marked ident . IN primitive_expression SUCH THAT [ VERTICAL TRUE SUM NOT MONEY_AMOUNT MINUS MINIMUM MAXIMUM MATCH MAP LSQUARE LPAREN LET INT_LITERAL IF IDENT FOR FILTER FALSE EXISTS DECIMAL_LITERAL CONTENT CONSTRUCTOR CARDINAL ]
##
## The known suffix of the stack is as follows:
## exists_marked ident
##
2020-10-04 17:49:45 +03:00
expected the "in" keyword to continue this existential test
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION EXISTS YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 184.
##
2022-12-12 18:02:07 +03:00
## exists_prefix -> exists_marked . ident IN primitive_expression SUCH THAT [ VERTICAL TRUE SUM NOT MONEY_AMOUNT MINUS MINIMUM MAXIMUM MATCH MAP LSQUARE LPAREN LET INT_LITERAL IF IDENT FOR FILTER FALSE EXISTS DECIMAL_LITERAL CONTENT CONSTRUCTOR CARDINAL ]
##
## The known suffix of the stack is as follows:
## exists_marked
##
2020-10-04 17:49:45 +03:00
expected an identifier that will designate the existential witness for the test
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION FOR ALL IDENT IN CARDINAL WE_HAVE YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 175.
##
2022-07-26 14:40:43 +03:00
## expression -> forall_prefix . expression [ THEN SEMICOLON SCOPE RULE RSQUARE RPAREN LABEL IN EXCEPTION END_CODE ELSE DEFINITION DECLARATION CONSEQUENCE COLON ASSERTION ]
##
## The known suffix of the stack is as follows:
## forall_prefix
##
2020-10-04 17:49:45 +03:00
expected an expression for the universal test
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION FOR ALL IDENT IN YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 178.
##
2022-12-12 18:02:07 +03:00
## forall_prefix -> for_all_marked ident IN . primitive_expression WE_HAVE [ VERTICAL TRUE SUM NOT MONEY_AMOUNT MINUS MINIMUM MAXIMUM MATCH MAP LSQUARE LPAREN LET INT_LITERAL IF IDENT FOR FILTER FALSE EXISTS DECIMAL_LITERAL CONTENT CONSTRUCTOR CARDINAL ]
##
## The known suffix of the stack is as follows:
## for_all_marked ident IN
##
2020-10-04 17:49:45 +03:00
expected the expression designating the set on which to perform the universal test
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION FOR ALL IDENT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 177.
##
2022-12-12 18:02:07 +03:00
## forall_prefix -> for_all_marked ident . IN primitive_expression WE_HAVE [ VERTICAL TRUE SUM NOT MONEY_AMOUNT MINUS MINIMUM MAXIMUM MATCH MAP LSQUARE LPAREN LET INT_LITERAL IF IDENT FOR FILTER FALSE EXISTS DECIMAL_LITERAL CONTENT CONSTRUCTOR CARDINAL ]
##
## The known suffix of the stack is as follows:
## for_all_marked ident
##
2020-10-04 17:49:45 +03:00
expected the "in" keyword for the rest of the universal test
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION FOR ALL YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 176.
##
2022-12-12 18:02:07 +03:00
## forall_prefix -> for_all_marked . ident IN primitive_expression WE_HAVE [ VERTICAL TRUE SUM NOT MONEY_AMOUNT MINUS MINIMUM MAXIMUM MATCH MAP LSQUARE LPAREN LET INT_LITERAL IF IDENT FOR FILTER FALSE EXISTS DECIMAL_LITERAL CONTENT CONSTRUCTOR CARDINAL ]
##
## The known suffix of the stack is as follows:
## for_all_marked
##
2020-10-04 17:49:45 +03:00
expected an identifier for the bound variable of the universal test
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION FOR YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 171.
##
## for_all_marked -> FOR . ALL [ IDENT ]
##
## The known suffix of the stack is as follows:
## FOR
##
2020-10-04 17:49:45 +03:00
expected the "all" keyword to mean the "for all" construction of the universal test
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION IF TRUE SEMICOLON
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 190.
##
2022-07-26 14:40:43 +03:00
## expression -> IF expression . THEN expression ELSE expression [ THEN SEMICOLON SCOPE RULE RSQUARE RPAREN LABEL IN EXCEPTION END_CODE ELSE DEFINITION DECLARATION CONSEQUENCE COLON ASSERTION ]
##
## The known suffix of the stack is as follows:
## IF expression
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 82, spurious reduction of production primitive_expression -> small_expression
## In state 84, spurious reduction of production base_expression -> primitive_expression
## In state 123, spurious reduction of production unop_expression -> base_expression
## In state 79, spurious reduction of production mult_expression -> unop_expression
## In state 141, spurious reduction of production sum_expression -> mult_expression
## In state 124, spurious reduction of production compare_expression -> sum_expression
## In state 152, spurious reduction of production logical_atom -> compare_expression
## In state 147, spurious reduction of production logical_or_expression -> logical_atom
## In state 143, spurious reduction of production logical_expression -> logical_or_expression
## In state 174, spurious reduction of production expression -> logical_expression
##
2020-10-04 17:49:45 +03:00
expected the "then" keyword as the conditional expression is complete
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION IF YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 170.
##
2022-07-26 14:40:43 +03:00
## expression -> IF . expression THEN expression ELSE expression [ THEN SEMICOLON SCOPE RULE RSQUARE RPAREN LABEL IN EXCEPTION END_CODE ELSE DEFINITION DECLARATION CONSEQUENCE COLON ASSERTION ]
##
## The known suffix of the stack is as follows:
## IF
##
2020-10-04 17:49:45 +03:00
expected an expression for the test of the conditional
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION INT_LITERAL WITH_V
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 63.
##
## literal -> num_literal . option(unit_literal) [ XOR WITH WE_HAVE THEN SUCH SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER FOR EXCEPTION EQUAL END_CODE ELSE DOT DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## num_literal
##
expected a unit for this literal, or a valid operator to complete the expression
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION LPAREN TRUE THEN
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 198.
##
## atomic_expression -> LPAREN expression . RPAREN [ XOR WITH WE_HAVE THEN SUCH SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER FOR EXCEPTION EQUAL END_CODE ELSE DOT DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## LPAREN expression
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 82, spurious reduction of production primitive_expression -> small_expression
## In state 84, spurious reduction of production base_expression -> primitive_expression
## In state 123, spurious reduction of production unop_expression -> base_expression
## In state 79, spurious reduction of production mult_expression -> unop_expression
## In state 141, spurious reduction of production sum_expression -> mult_expression
## In state 124, spurious reduction of production compare_expression -> sum_expression
## In state 152, spurious reduction of production logical_atom -> compare_expression
## In state 147, spurious reduction of production logical_or_expression -> logical_atom
## In state 143, spurious reduction of production logical_expression -> logical_or_expression
## In state 174, spurious reduction of production expression -> logical_expression
##
2020-10-05 01:39:29 +03:00
unmatched parenthesis that should have been closed by here
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION LPAREN YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 36.
##
## atomic_expression -> LPAREN . expression RPAREN [ XOR WITH WE_HAVE THEN SUCH SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER FOR EXCEPTION EQUAL END_CODE ELSE DOT DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## LPAREN
##
2020-10-04 17:49:45 +03:00
expected an expression inside the parenthesis
2021-01-10 20:28:56 +03:00
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION LSQUARE TRUE THEN
2021-01-10 20:28:56 +03:00
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 204.
2021-01-10 20:28:56 +03:00
##
## separated_nonempty_list(SEMICOLON,expression) -> expression . [ RSQUARE ]
## separated_nonempty_list(SEMICOLON,expression) -> expression . SEMICOLON separated_nonempty_list(SEMICOLON,expression) [ RSQUARE ]
##
## The known suffix of the stack is as follows:
## expression
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 82, spurious reduction of production primitive_expression -> small_expression
## In state 84, spurious reduction of production base_expression -> primitive_expression
## In state 123, spurious reduction of production unop_expression -> base_expression
## In state 79, spurious reduction of production mult_expression -> unop_expression
## In state 141, spurious reduction of production sum_expression -> mult_expression
## In state 124, spurious reduction of production compare_expression -> sum_expression
## In state 152, spurious reduction of production logical_atom -> compare_expression
## In state 147, spurious reduction of production logical_or_expression -> logical_atom
## In state 143, spurious reduction of production logical_expression -> logical_or_expression
## In state 174, spurious reduction of production expression -> logical_expression
2021-01-10 20:28:56 +03:00
##
expected a semicolon or a right square bracket after the collection element
2021-01-10 20:28:56 +03:00
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION LSQUARE YEAR
2021-01-10 20:28:56 +03:00
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 32.
2021-01-10 20:28:56 +03:00
##
## small_expression -> LSQUARE . loption(separated_nonempty_list(SEMICOLON,expression)) RSQUARE [ XOR WITH WE_HAVE THEN SUCH SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER FOR EXCEPTION EQUAL END_CODE ELSE DOT DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
2021-01-10 20:28:56 +03:00
##
## The known suffix of the stack is as follows:
## LSQUARE
##
expected a collection element
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION MATCH TRUE WITH ALT CONSTRUCTOR COLON CARDINAL RBRACKET
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 161.
##
2022-07-26 14:40:43 +03:00
## match_arms -> ALT match_arm . match_arms [ THEN SEMICOLON SCOPE RULE RSQUARE RPAREN LABEL IN EXCEPTION END_CODE ELSE DEFINITION DECLARATION CONSEQUENCE COLON ASSERTION ]
##
## The known suffix of the stack is as follows:
## ALT match_arm
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 78, spurious reduction of production small_expression -> CARDINAL
## In state 82, spurious reduction of production primitive_expression -> small_expression
## In state 84, spurious reduction of production base_expression -> primitive_expression
## In state 123, spurious reduction of production unop_expression -> base_expression
## In state 79, spurious reduction of production mult_expression -> unop_expression
## In state 141, spurious reduction of production sum_expression -> mult_expression
## In state 124, spurious reduction of production compare_expression -> sum_expression
## In state 152, spurious reduction of production logical_atom -> compare_expression
## In state 147, spurious reduction of production logical_or_expression -> logical_atom
## In state 143, spurious reduction of production logical_expression -> logical_or_expression
## In state 165, spurious reduction of production match_arm -> constructor_binding COLON logical_expression
##
expected the "with pattern" keyword to complete the pattern matching expression
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION MATCH TRUE WITH ALT CONSTRUCTOR COLON YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 164.
##
2022-07-26 14:40:43 +03:00
## match_arm -> constructor_binding COLON . logical_expression [ THEN SEMICOLON SCOPE RULE RSQUARE RPAREN LABEL IN EXCEPTION END_CODE ELSE DEFINITION DECLARATION CONSEQUENCE COLON ASSERTION ALT ]
##
## The known suffix of the stack is as follows:
## constructor_binding COLON
##
expected a correct expression for this match arm
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION MATCH TRUE WITH ALT CONSTRUCTOR XOR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 163.
##
2022-07-26 14:40:43 +03:00
## match_arm -> constructor_binding . COLON logical_expression [ THEN SEMICOLON SCOPE RULE RSQUARE RPAREN LABEL IN EXCEPTION END_CODE ELSE DEFINITION DECLARATION CONSEQUENCE COLON ASSERTION ALT ]
##
## The known suffix of the stack is as follows:
## constructor_binding
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 90, spurious reduction of production option(preceded(DOT,constructor)) ->
## In state 93, spurious reduction of production maybe_qualified_constructor -> constructor option(preceded(DOT,constructor))
## In state 86, spurious reduction of production optional_binding ->
## In state 95, spurious reduction of production constructor_binding -> maybe_qualified_constructor optional_binding
##
expected a constructor payload binding or a colon
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION MATCH TRUE WITH ALT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 53.
##
2022-07-26 14:40:43 +03:00
## match_arms -> ALT . match_arm match_arms [ THEN SEMICOLON SCOPE RULE RSQUARE RPAREN LABEL IN EXCEPTION END_CODE ELSE DEFINITION DECLARATION CONSEQUENCE COLON ASSERTION ]
##
## The known suffix of the stack is as follows:
## ALT
##
2020-10-04 17:49:45 +03:00
expected the name of the constructor for the enum case in the pattern matching
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION MATCH TRUE WITH YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 52.
##
2022-07-26 14:40:43 +03:00
## expression -> MATCH primitive_expression WITH . match_arms [ THEN SEMICOLON SCOPE RULE RSQUARE RPAREN LABEL IN EXCEPTION END_CODE ELSE DEFINITION DECLARATION CONSEQUENCE COLON ASSERTION ]
##
## The known suffix of the stack is as follows:
## MATCH primitive_expression WITH
##
2020-10-05 00:52:55 +03:00
expected a pattern matching case
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION MATCH YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 37.
##
2022-07-26 14:40:43 +03:00
## expression -> MATCH . primitive_expression WITH match_arms [ THEN SEMICOLON SCOPE RULE RSQUARE RPAREN LABEL IN EXCEPTION END_CODE ELSE DEFINITION DECLARATION CONSEQUENCE COLON ASSERTION ]
##
## The known suffix of the stack is as follows:
## MATCH
##
2020-10-05 00:52:55 +03:00
expected an expression to match with
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION SUM YEAR
##
2022-07-21 15:14:22 +03:00
## Ends in an error in state: 15.
##
2020-12-30 01:43:00 +03:00
## aggregate_func -> SUM . typ_base [ FOR ]
##
## The known suffix of the stack is as follows:
2020-12-30 01:43:00 +03:00
## SUM
##
2020-10-05 00:52:55 +03:00
expected the "for" keyword to spell the aggregation
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION TRUE ASSERTION
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 210.
##
## code_item -> SCOPE constructor option(scope_use_condition) . COLON nonempty_list(scope_item) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## SCOPE constructor option(scope_use_condition)
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 82, spurious reduction of production primitive_expression -> small_expression
## In state 84, spurious reduction of production base_expression -> primitive_expression
## In state 123, spurious reduction of production unop_expression -> base_expression
## In state 79, spurious reduction of production mult_expression -> unop_expression
## In state 141, spurious reduction of production sum_expression -> mult_expression
## In state 124, spurious reduction of production compare_expression -> sum_expression
## In state 152, spurious reduction of production logical_atom -> compare_expression
## In state 147, spurious reduction of production logical_or_expression -> logical_atom
## In state 143, spurious reduction of production logical_expression -> logical_or_expression
## In state 174, spurious reduction of production expression -> logical_expression
## In state 208, spurious reduction of production scope_use_condition -> UNDER_CONDITION expression
## In state 209, spurious reduction of production option(scope_use_condition) -> scope_use_condition
##
2020-10-05 00:52:55 +03:00
expected a colon after the scope use precondition
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION TRUE DOT CONSTRUCTOR DOT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 46.
##
## small_expression -> small_expression DOT option(terminated(constructor,DOT)) . ident [ XOR WITH WE_HAVE THEN SUCH SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER FOR EXCEPTION EQUAL END_CODE ELSE DOT DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## small_expression DOT option(terminated(constructor,DOT))
##
expected the rest of the path after the dot
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION TRUE DOT CONSTRUCTOR YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 49.
##
## option(terminated(constructor,DOT)) -> constructor . DOT [ IDENT ]
##
## The known suffix of the stack is as follows:
## constructor
##
expected the rest of the path after a dot
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION TRUE DOT YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 45.
##
## small_expression -> small_expression DOT . option(terminated(constructor,DOT)) ident [ XOR WITH WE_HAVE THEN SUCH SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER FOR EXCEPTION EQUAL END_CODE ELSE DOT DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## small_expression DOT
##
expected the name of the struct field of the expression before
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION TRUE INCREASING
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 141.
##
## mult_expression -> mult_expression . mult_op unop_expression [ XOR THEN SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL IN GREATER_EQUAL GREATER EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECLARATION CONSEQUENCE COLON ASSERTION AND ALT ]
## sum_expression -> mult_expression . [ XOR THEN SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR NOT_EQUAL MINUS LESSER_EQUAL LESSER LABEL IN GREATER_EQUAL GREATER EXCEPTION EQUAL END_CODE ELSE DEFINITION DECLARATION CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## mult_expression
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 82, spurious reduction of production primitive_expression -> small_expression
## In state 84, spurious reduction of production base_expression -> primitive_expression
## In state 123, spurious reduction of production unop_expression -> base_expression
## In state 79, spurious reduction of production mult_expression -> unop_expression
##
2020-10-05 00:52:55 +03:00
expected an operator to compose the expression on the left
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION TRUE WITH CONSTRUCTOR CONSTRUCTOR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 86.
##
## constructor_binding -> maybe_qualified_constructor . optional_binding [ XOR THEN SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## maybe_qualified_constructor
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 90, spurious reduction of production option(preceded(DOT,constructor)) ->
## In state 93, spurious reduction of production maybe_qualified_constructor -> constructor option(preceded(DOT,constructor))
##
a enum constructor pattern should be followed by a payload
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION TRUE WITH CONSTRUCTOR OF CONSTRUCTOR XOR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 88.
##
## optional_binding -> OF maybe_qualified_constructor . constructor_binding [ XOR THEN SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## OF maybe_qualified_constructor
##
## WARNING: This example involves spurious reductions.
## This implies that, although the LR(1) items shown above provide an
## accurate view of the past (what has been recognized so far), they
## may provide an INCOMPLETE view of the future (what was expected next).
2022-12-12 18:02:07 +03:00
## In state 90, spurious reduction of production option(preceded(DOT,constructor)) ->
## In state 93, spurious reduction of production maybe_qualified_constructor -> constructor option(preceded(DOT,constructor))
##
unexpected expression following a function application with an enum constructor name
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION TRUE WITH CONSTRUCTOR OF YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 87.
##
## optional_binding -> OF . ident [ XOR THEN SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONSEQUENCE COLON ASSERTION AND ALT ]
## optional_binding -> OF . maybe_qualified_constructor constructor_binding [ XOR THEN SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## OF
##
expecting an expression to stand in as the function argument
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION TRUE WITH CONSTRUCTOR YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 90.
##
## maybe_qualified_constructor -> constructor . option(preceded(DOT,constructor)) [ XOR THEN SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONSTRUCTOR CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## constructor
##
the expression before ended, what follows next should be an operator or the rest of the code structure
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION TRUE YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 82.
##
## base_expression -> small_expression . OF base_expression [ XOR THEN SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONSEQUENCE COLON ASSERTION AND ALT ]
## primitive_expression -> small_expression . [ XOR WITH THEN SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER EXCEPTION EQUAL END_CODE ELSE DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
## small_expression -> small_expression . DOT option(terminated(constructor,DOT)) ident [ XOR WITH THEN SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER EXCEPTION EQUAL END_CODE ELSE DOT DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## small_expression
##
expected the function application operator
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION VERTICAL YEAR
##
## Ends in an error in state: 11.
##
## literal -> VERTICAL . DATE_LITERAL VERTICAL [ XOR WITH WE_HAVE THEN SUCH SEMICOLON SCOPE RULE RSQUARE RPAREN RBRACKET PLUSPLUS PLUS OR OF NOT_EQUAL MULT MINUS LESSER_EQUAL LESSER LABEL INCREASING IN GREATER_EQUAL GREATER FOR EXCEPTION EQUAL END_CODE ELSE DOT DIV DEFINITION DECREASING DECLARATION CONTAINS CONSEQUENCE COLON ASSERTION AND ALT ]
##
## The known suffix of the stack is as follows:
## VERTICAL
##
expected the year for this date literal
source_file: BEGIN_CODE SCOPE CONSTRUCTOR UNDER_CONDITION YEAR
##
## Ends in an error in state: 10.
##
## scope_use_condition -> UNDER_CONDITION . expression [ COLON ]
##
## The known suffix of the stack is as follows:
## UNDER_CONDITION
##
expected an expression
source_file: BEGIN_CODE SCOPE CONSTRUCTOR YEAR
##
## Ends in an error in state: 9.
##
## code_item -> SCOPE constructor . option(scope_use_condition) COLON nonempty_list(scope_item) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## SCOPE constructor
##
expected a scope use condition or the content of this scope use
source_file: BEGIN_CODE SCOPE YEAR
##
## Ends in an error in state: 7.
##
## code_item -> SCOPE . constructor option(scope_use_condition) COLON nonempty_list(scope_item) [ SCOPE END_CODE DECLARATION ]
##
## The known suffix of the stack is as follows:
## SCOPE
##
expected the name of the scope being used
source_file: BEGIN_CODE YEAR
##
2022-12-12 18:02:07 +03:00
## Ends in an error in state: 353.
##
## source_file_item -> BEGIN_CODE . code END_CODE [ LAW_TEXT LAW_HEADING EOF BEGIN_METADATA BEGIN_DIRECTIVE BEGIN_CODE ]
##
## The known suffix of the stack is as follows:
## BEGIN_CODE
##
expected some declaration or scope use inside this code block
2020-12-24 19:17:11 +03:00
source_file: LAW_TEXT YEAR
##
## Ends in an error in state: 1.
##
## nonempty_list(LAW_TEXT) -> LAW_TEXT . [ SCOPE LAW_TEXT LAW_HEADING EOF END_CODE DECLARATION BEGIN_METADATA BEGIN_DIRECTIVE BEGIN_CODE ]
## nonempty_list(LAW_TEXT) -> LAW_TEXT . nonempty_list(LAW_TEXT) [ SCOPE LAW_TEXT LAW_HEADING EOF END_CODE DECLARATION BEGIN_METADATA BEGIN_DIRECTIVE BEGIN_CODE ]
##
## The known suffix of the stack is as follows:
## LAW_TEXT
##
expected some law text or code block
source_file: YEAR
##
2020-04-29 16:55:50 +03:00
## Ends in an error in state: 0.
##
## source_file' -> . source_file [ # ]
##
## The known suffix of the stack is as follows:
##
##
expected some law text or code block