This repository has been archived on 2020-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
Alek Ratzloff 86afce8686 Continue working on overhauling Accept/Visit
* Accept requires a Visit parameter, so acceptor implementations are
  type-wide and not method-wide. This allows us to pass &dyn Trait
  references around to the visitor.
* Additionally, visitors now take a &dyn Accept so that acceptors are
  dynamically dispatched(!)
* Converted everything except for the WIP TranslateAst visitor. This
  might make things a little weird because return values can't vary
  per-acceptor anymore, and must instead be uniform. Maybe it would make
  most sense to do away with the Out parameters and expect acceptors to
  report their state to their visitor, instead of returning something.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-05-22 14:26:27 -04:00
2020-04-27 12:42:17 -04:00
Description
It certainly isn't Python!
481 KiB
Languages
Rust 100%