xo-expression xo-reader: type unifier + misc improvements

This commit is contained in:
Roland Conybeare 2025-07-26 17:28:41 -04:00
commit 75b74918b7
31 changed files with 1005 additions and 76 deletions

View file

@ -17,7 +17,7 @@ a. create DefineExpr with TypeVariable.
// compose these into Expressions.
//
struct TypeTemplateRef {
struct type_ref {
bool is_concrete() const { return td_ && td_->is_concrete(); }
// generated name, so we can map between types. Don't want to create TypeDescr
@ -29,10 +29,10 @@ struct TypeTemplateRef {
// what we know about a type
//
struct TypeTemplate : public Refcounted {
struct TypeBlueprint : public Refcounted {
static bool equal(bp<TypeTemplate> lhs, bp<TypeTemplate> rhs);
TypeTemplateRef ref_;
type_ref ref_;
// additional descriptive info...
};