ECE 351 · Fall 2026
Parsers & Digital Logic Tools
Java labs that turn waveform and Boolean-formula languages into syntax trees, simplified expressions and circuit representations.
Representations and parsing
Early labs work with waveform and SVG representations. Hand-written recursive-descent parsing turns grammar productions into methods that inspect and consume tokens.
Boolean rewriting
Tree transformations simplify Boolean expressions while preserving their truth tables. Equality and regression tests check the result across related expression types.
Grammar to circuit
The later lab sequence uses Parboiled for waveform and formula recognizers and parsers, then maps shared Boolean subexpressions to gates for Graphviz circuit output.