fork download
  1. grammar
  2. : '<' identifier '>' tag_contents '<' identifier '>'
  3. | grammar '<' identifier '>' tag_contents '<' identifier '>';
  4.  
  5. tag_contents
  6. : identifier '=' tag_end
  7. | tag_contents identifier '=' tag_end;
  8.  
  9. tag_end
  10. : number
  11. | identifier '.' identifier;
  12.  
  13. enum TokenType {
  14. LessThan,
  15. GreaterThan,
  16. Identifier,
  17. Number,
  18. Dot,
  19. Equals
  20. };
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty