aParse - Examples - Clock

This is a working example of the Clock Parser shown in the User Manual.

Grammar

Entry

Enter the rule to use to parse the input.

Enter the input to be parsed.

Select the visitor to use to display the resultant parse tree.

The aParse generated Displayer visitor.
The aParse generated XmlDisplayer visitor.
A modified version of the aParse generated XmlDisplayer that does not output the separators.
The visitor that converts a 24 hour clock time to its 12 hour clock equivalent.

Result