TC-A Code to Write
See The src/ast Directory, The src/astclone Directory and The src/overload Directory.
In this section you will use TWEAST and libparse.
- src/overload/binder.*
Implement the visitor that collects potential overloaded bindings, and delegates the binding to the type-checker.
overload::Binderinherits frombind::Binderso as to factor common parts.- src/overload/type-checker.*
Implement the visitor that perform type checking, allowing function overload, and compute bindings.
overload::TypeCheckerinherits fromtype::TypeCheckerso as to factor common parts.