rhoella 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rhoella-0.1.0/.github/workflows/ci.yml +35 -0
- rhoella-0.1.0/.gitignore +3 -0
- rhoella-0.1.0/PKG-INFO +22 -0
- rhoella-0.1.0/README.md +10 -0
- rhoella-0.1.0/pyproject.toml +20 -0
- rhoella-0.1.0/rhoella/__init__.py +740 -0
- rhoella-0.1.0/test_behavior.py +182 -0
- rhoella-0.1.0/test_parity.py +89 -0
- rhoella-0.1.0/testsuite/README.md +41 -0
- rhoella-0.1.0/testsuite/manifest.json +353 -0
- rhoella-0.1.0/testsuite/semantics/expected/core.json +192 -0
- rhoella-0.1.0/testsuite/semantics/expected/errors.json +27 -0
- rhoella-0.1.0/testsuite/semantics/resources/core.ftl +37 -0
- rhoella-0.1.0/testsuite/semantics/resources/cycle.ftl +2 -0
- rhoella-0.1.0/testsuite/semantics/resources/depth.ftl +7 -0
- rhoella-0.1.0/testsuite/semantics/resources/features.ftl +54 -0
- rhoella-0.1.0/testsuite/semantics/resources/select-no-default.ftl +4 -0
- rhoella-0.1.0/testsuite/upstream/IMPORT.md +18 -0
- rhoella-0.1.0/testsuite/upstream/LICENSE +202 -0
- rhoella-0.1.0/testsuite/upstream/NOTICE +13 -0
- rhoella-0.1.0/testsuite/upstream/behavior/IMPORT.md +138 -0
- rhoella-0.1.0/testsuite/upstream/behavior/LICENSE-APACHE-fluent-rs +201 -0
- rhoella-0.1.0/testsuite/upstream/behavior/arguments.yaml +133 -0
- rhoella-0.1.0/testsuite/upstream/behavior/attributes.yaml +178 -0
- rhoella-0.1.0/testsuite/upstream/behavior/bomb.yaml +31 -0
- rhoella-0.1.0/testsuite/upstream/behavior/context.yaml +195 -0
- rhoella-0.1.0/testsuite/upstream/behavior/defaults.yaml +6 -0
- rhoella-0.1.0/testsuite/upstream/behavior/errors.yaml +21 -0
- rhoella-0.1.0/testsuite/upstream/behavior/functions.yaml +84 -0
- rhoella-0.1.0/testsuite/upstream/behavior/functions_runtime.yaml +29 -0
- rhoella-0.1.0/testsuite/upstream/behavior/isolating.yaml +100 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/attribute_expression_with_wrong_attr.ftl +7 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/attribute_of_private_as_placeable.ftl +2 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/attribute_of_public_as_selector.ftl +6 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/attribute_starts_from_nl.ftl +2 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/attribute_with_empty_pattern.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/attribute_without_equal_sign.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/broken_number.ftl +14 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/call_expression_with_bad_id.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/call_expression_with_trailing_comma.ftl +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/call_expression_with_wrong_kwarg_name.ftl +2 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/call_expression_with_wrong_value_type.ftl +2 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/comment_with_eof.ftl +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/empty_resource.ftl +0 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/empty_resource_with_ws.ftl +2 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/escape_sequences.ftl +16 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/indent.ftl +11 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/leading_empty_lines.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/leading_empty_lines_with_ws.ftl +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/message_reference_as_selector.ftl +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/multiline_string.ftl +4 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/multiline_with_non_empty_first_line.ftl +2 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/multiline_with_placeables.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/non_id_attribute_name.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/placeable_at_line_extremes.ftl +8 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/placeable_in_placeable.ftl +15 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/placeable_without_close_bracket.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/second_attribute_starts_from_nl.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/select_expression_with_two_selectors.ftl +2 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/select_expression_without_arrow.ftl +2 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/select_expression_without_variants.ftl +6 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/selector_expression_ends_abruptly.ftl +2 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/simple_message.ftl +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/single_char_id.ftl +2 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/standalone_identifier.ftl +2 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/term.ftl +29 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/unclosed_empty_placeable_error.ftl +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/unknown_entry_start.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/variant_ends_abruptly.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/variant_starts_from_nl.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/variant_with_digit_key.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/variant_with_empty_pattern.ftl +8 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/variant_with_leading_space_in_name.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/variant_with_symbol_with_space.ftl +4 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/ftl/variants_with_two_defaults.ftl +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/attribute_expression_with_wrong_attr.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/attribute_of_private_as_placeable.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/attribute_of_public_as_selector.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/attribute_starts_from_nl.json +8 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/attribute_with_empty_pattern.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/attribute_without_equal_sign.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/broken_number.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/call_expression_with_bad_id.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/call_expression_with_trailing_comma.json +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/call_expression_with_wrong_kwarg_name.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/call_expression_with_wrong_value_type.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/comment_continues_with_one_slash.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/comment_with_eof.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/empty_resource.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/empty_resource_with_ws.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/entry_start_with_one_slash.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/escape_sequences.json +26 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/indent.json +11 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/leading_empty_lines.json +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/leading_empty_lines_with_ws.json +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/message_reference_as_selector.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/multiline_string.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/multiline_with_non_empty_first_line.json +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/multiline_with_placeables.json +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/non_id_attribute_name.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/placeable_at_line_extremes.json +11 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/placeable_in_placeable.json +8 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/placeable_without_close_bracket.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/second_attribute_starts_from_nl.json +9 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/section_with_nl_in_the_middle.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/section_with_no_nl_after_it.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/section_with_one_bracket_at_the_end.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/select_expression_with_two_selectors.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/select_expression_without_arrow.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/select_expression_without_variants.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/selector_expression_ends_abruptly.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/simple_message.json +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/single_char_id.json +8 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/standalone_identifier.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/term.json +17 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/unclosed_empty_placeable_error.json +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/unknown_entry_start.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/variant_ends_abruptly.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/variant_expression_as_placeable.json +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/variant_expression_as_selector.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/variant_expression_empty_key.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/variant_lists.json +8 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/variant_starts_from_nl.json +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/variant_with_digit_key.json +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/variant_with_empty_pattern.json +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/variant_with_leading_space_in_name.json +5 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/variant_with_symbol_with_space.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/legacy-2019/json/variants_with_two_defaults.json +1 -0
- rhoella-0.1.0/testsuite/upstream/behavior/literals.yaml +69 -0
- rhoella-0.1.0/testsuite/upstream/behavior/macros.yaml +392 -0
- rhoella-0.1.0/testsuite/upstream/behavior/patterns.yaml +217 -0
- rhoella-0.1.0/testsuite/upstream/behavior/primitives.yaml +154 -0
- rhoella-0.1.0/testsuite/upstream/behavior/select_expression.yaml +151 -0
- rhoella-0.1.0/testsuite/upstream/behavior/transform.yaml +48 -0
- rhoella-0.1.0/testsuite/upstream/behavior/values_format.yaml +74 -0
- rhoella-0.1.0/testsuite/upstream/behavior/values_ref.yaml +140 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/Makefile +11 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/any_char.ftl +8 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/any_char.json +68 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/astral.ftl +20 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/astral.json +174 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/call_expressions.ftl +120 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/call_expressions.json +1266 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/callee_expressions.ftl +46 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/callee_expressions.json +268 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/comments.ftl +20 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/comments.json +82 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/cr_err_literal.ftl +5 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/cr_err_literal.json +10 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/cr_err_selector.ftl +4 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/cr_err_selector.json +10 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/cr_multikey.ftl +5 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/cr_multikey.json +23 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/cr_multilinevalue.ftl +13 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/cr_multilinevalue.json +23 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/crlf.ftl +18 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/crlf.json +76 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/eof_comment.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/eof_comment.json +13 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/eof_empty.ftl +0 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/eof_empty.json +4 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/eof_id.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/eof_id.json +14 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/eof_id_equals.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/eof_id_equals.json +14 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/eof_junk.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/eof_junk.json +14 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/eof_value.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/eof_value.json +27 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/escaped_characters.ftl +37 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/escaped_characters.json +399 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/Makefile +11 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/any_char.ftl +8 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/any_char.json +68 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/astral.ftl +20 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/astral.json +174 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/call_expressions.ftl +120 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/call_expressions.json +1266 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/callee_expressions.ftl +46 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/callee_expressions.json +268 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/comments.ftl +20 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/comments.json +82 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/cr_err_literal.ftl +5 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/cr_err_literal.json +10 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/cr_err_selector.ftl +4 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/cr_err_selector.json +10 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/cr_multikey.ftl +5 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/cr_multikey.json +23 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/cr_multilinevalue.ftl +13 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/cr_multilinevalue.json +23 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/crlf.ftl +18 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/crlf.json +76 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/eof_comment.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/eof_comment.json +13 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/eof_empty.ftl +0 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/eof_empty.json +4 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/eof_id.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/eof_id.json +14 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/eof_id_equals.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/eof_id_equals.json +14 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/eof_junk.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/eof_junk.json +14 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/eof_value.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/eof_value.json +27 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/escaped_characters.ftl +37 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/escaped_characters.json +399 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/junk.ftl +21 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/junk.json +68 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/leading_dots.ftl +76 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/leading_dots.json +479 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/literal_expressions.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/literal_expressions.json +68 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/member_expressions.ftl +19 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/member_expressions.json +116 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/messages.ftl +49 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/messages.json +435 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/mixed_entries.ftl +24 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/mixed_entries.json +136 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/multiline_values.ftl +60 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/multiline_values.json +321 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/numbers.ftl +38 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/numbers.json +506 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/obsolete.ftl +29 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/obsolete.json +47 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/placeables.ftl +15 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/placeables.json +113 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/reference_expressions.ftl +30 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/reference_expressions.json +189 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/select_expressions.ftl +64 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/select_expressions.json +362 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/select_indent.ftl +96 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/select_indent.json +705 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/sparse_entries.ftl +39 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/sparse_entries.json +163 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/special_chars.ftl +14 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/special_chars.json +82 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/tab.ftl +14 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/tab.json +70 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/term_parameters.ftl +8 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/term_parameters.json +207 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/terms.ftl +29 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/terms.json +176 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/variables.ftl +17 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/variables.json +132 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/variant_keys.ftl +37 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/variant_keys.json +216 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/whitespace_in_value.ftl +10 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/whitespace_in_value.json +26 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/zero_length.ftl +0 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/fixtures/zero_length.json +4 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/junk.ftl +21 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/junk.json +68 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/leading_dots.ftl +76 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/leading_dots.json +479 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/literal_expressions.ftl +3 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/literal_expressions.json +68 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/member_expressions.ftl +19 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/member_expressions.json +116 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/messages.ftl +49 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/messages.json +435 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/mixed_entries.ftl +24 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/mixed_entries.json +136 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/multiline_values.ftl +60 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/multiline_values.json +321 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/numbers.ftl +38 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/numbers.json +506 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/obsolete.ftl +29 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/obsolete.json +47 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/placeables.ftl +15 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/placeables.json +113 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/reference_expressions.ftl +30 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/reference_expressions.json +189 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/select_expressions.ftl +64 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/select_expressions.json +362 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/select_indent.ftl +96 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/select_indent.json +705 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/sparse_entries.ftl +39 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/sparse_entries.json +163 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/special_chars.ftl +14 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/special_chars.json +82 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/tab.ftl +14 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/tab.json +70 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/term_parameters.ftl +8 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/term_parameters.json +207 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/terms.ftl +29 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/terms.json +176 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/variables.ftl +17 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/variables.json +132 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/variant_keys.ftl +37 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/variant_keys.json +216 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/whitespace_in_value.ftl +10 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/whitespace_in_value.json +26 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/zero_length.ftl +0 -0
- rhoella-0.1.0/testsuite/upstream/fixtures/zero_length.json +4 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
# SSOT contract: this repo vendors the rhoella testsuite at a pinned
|
|
4
|
+
# ref of rhoella/rhoella (the arbiter). The diff gate fails loudly on
|
|
5
|
+
# drift; the parity suite then runs against the vendored copy.
|
|
6
|
+
env:
|
|
7
|
+
RHOELLA_REF: "94b39de3a3c0bdda8791f5453957c1f818598cb2"
|
|
8
|
+
|
|
9
|
+
on:
|
|
10
|
+
push:
|
|
11
|
+
branches: [main]
|
|
12
|
+
pull_request:
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
test:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
strategy:
|
|
18
|
+
matrix:
|
|
19
|
+
python-version: ["3.10", "3.12"]
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v7
|
|
22
|
+
- name: Clone the SSOT (rhoella/rhoella) at $RHOELLA_REF
|
|
23
|
+
run: |
|
|
24
|
+
git clone https://github.com/rhoella/rhoella.git ../rhoella
|
|
25
|
+
git -C ../rhoella checkout --detach "$RHOELLA_REF"
|
|
26
|
+
- name: Verify the vendored testsuite matches the SSOT
|
|
27
|
+
run: diff -r testsuite ../rhoella/testsuite
|
|
28
|
+
- uses: actions/setup-python@v5
|
|
29
|
+
with:
|
|
30
|
+
python-version: ${{ matrix.python-version }}
|
|
31
|
+
# The toolcache Pythons bundle no packages: the behavior fixtures
|
|
32
|
+
# need the PyYAML safe loader explicitly installed.
|
|
33
|
+
- run: python3 -m pip install pyyaml
|
|
34
|
+
- run: python3 test_parity.py
|
|
35
|
+
- run: python3 test_behavior.py
|
rhoella-0.1.0/.gitignore
ADDED
rhoella-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: rhoella
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Rhoella — a minimal Fluent (FTL) engine for Metanorma (from the Greek rhoia: the flow)
|
|
5
|
+
Author: Metanorma
|
|
6
|
+
License: BSD-2-Clause
|
|
7
|
+
Keywords: fluent,ftl,i18n,l10n,localization,metanorma
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Topic :: Software Development :: Internationalization
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
|
|
13
|
+
# rhoella-py
|
|
14
|
+
|
|
15
|
+
The Python port of [rhoella](https://github.com/rhoella/rhoella) — a
|
|
16
|
+
minimal Fluent (FTL) engine for Metanorma (from the Greek ῥοία: the
|
|
17
|
+
flow). Conformance contract: the vendored `testsuite/` snapshots
|
|
18
|
+
rhoella/rhoella's testsuite at a pinned ref; CI re-verifies the
|
|
19
|
+
snapshot against the SSOT and runs the parity + conformance suites
|
|
20
|
+
(upstream classification + resolution vectors).
|
|
21
|
+
|
|
22
|
+
python3 test_parity.py
|
rhoella-0.1.0/README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# rhoella-py
|
|
2
|
+
|
|
3
|
+
The Python port of [rhoella](https://github.com/rhoella/rhoella) — a
|
|
4
|
+
minimal Fluent (FTL) engine for Metanorma (from the Greek ῥοία: the
|
|
5
|
+
flow). Conformance contract: the vendored `testsuite/` snapshots
|
|
6
|
+
rhoella/rhoella's testsuite at a pinned ref; CI re-verifies the
|
|
7
|
+
snapshot against the SSOT and runs the parity + conformance suites
|
|
8
|
+
(upstream classification + resolution vectors).
|
|
9
|
+
|
|
10
|
+
python3 test_parity.py
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "rhoella"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Rhoella — a minimal Fluent (FTL) engine for Metanorma (from the Greek rhoia: the flow)"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = {text = "BSD-2-Clause"}
|
|
11
|
+
requires-python = ">=3.10"
|
|
12
|
+
authors = [{name = "Metanorma"}]
|
|
13
|
+
keywords = ["fluent", "ftl", "l10n", "i18n", "localization", "metanorma"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Topic :: Software Development :: Internationalization",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
[tool.hatch.build.targets.wheel]
|
|
20
|
+
packages = ["rhoella"]
|