CoffeeFilter Test Report

Report generated on 06 Aug 2023 at 21:03 with CoffeeFilter version 3.2.1 (using CoffeeGrinder version 3.2.1) from a test suite dated 21 Jun 2022 (20 Jun 2023).

Description

Top-level catalog for tests in the iXML Community Group Test Suite.

Tests have been contributed from several sources, but the core of the test collection are the tests contributed by Steven Pemberton in December 2021.

Misc tests 2

28 Jun 2022

Description

Grammars 21-40.

Test grammars compiled manually in 2018 and 2019, re-packaged in 2022.

Added test cases where needed and moved to ixml test collection, June 2022.

sample.grammar.38

Created 08 Feb 2022 by cmsmcq

Description

Sample grammar from Niklaus Wirth, Grundlagen und Techniken des Compilerbaus (Bonn: Addison-Wesley, 1996, p. 7.

Grammar for BNF as Wirth uses it. Rules for ws added for convenience; Wirth assumes the lexer eats whitespace.

We write 'nil' for Wirth's empty-set symbol.

Invisible XML Grammar

      syntax:  S?, production, syntax; nil.
      production: identifier, S?, -"=", S?, expression, S?, -".", S?.
      expression: term; expression, S?, -"|", S?, term.
      term: factor; term, S, factor.
      factor: identifier; string.

      identifier: letter; identifier, letter; identifier, digit.
      string: stringhead, -'"'.
      stringhead: -'"'; stringhead, character.
      letter: ["A"-"Z"; "a"-"z"].
      digit: ["0"-"9"].

      { Wirth does not define character. }
      character: ~['"'].

      { Wirth does not define empty-set symbol. }
      nil: .

      -S: -[" "; #09; #0A; #0D]+.
    

Test case: g38.c01

Repository URI: …/tests/misc/misc-021-040-catalog.xml

Input string (0 characters)
Expected result
<syntax xmlns:ixml="http://invisiblexml.org/NS"
        xmlns:tc="https://github.com/invisibleXML/ixml/test-catalog">
   <nil/>
</syntax>

Test report

PASS