wduquette / molt

Embeddable TCL Interpreter for Rust applications
BSD 3-Clause "New" or "Revised" License
103 stars 12 forks source link

Legacy Parser Cleanup #59

Closed wduquette closed 4 years ago

wduquette commented 4 years ago

For a little while now, Molt has had two TCL parsers, one that parses to an internal form for later evaluation, and one that parses and evaluates in one step. The latter was only used by the expression parser for interpolated TCL code. This pull request moves the remains of the legacy parser to expr.rs, and revises it to parse using the new parser before evaluating.