Skip to main content

Grammar Explorer

Browse Hew's syntax rules as EBNF and interactive railroad diagrams.

Each rule shows the shape of Hew syntax; operator precedence and lexer details are not included. For precedence and program meaning, see the language specification.

EBNF Definition

Select a grammar rule to view its definition.

Railroad Diagram

Select a grammar rule to view its diagram.

View Complete Grammar

Loading grammar...