rd: new ctrl entity meta evaluation path; ctrl entity meta evaluation cache; eval: auto-view-rules (via 'auto hook map'), + support for 'type patterns', e.g. for templates; ir generation / typechecking hook application + source-tag coloring (to avoid infinite recursion of repeatedly-applied auto view rules

This commit is contained in:
Ryan Fleury
2025-02-02 17:08:14 -08:00
parent eab5c7c971
commit 6f4533d8f5
6 changed files with 372 additions and 199 deletions
+9
View File
@@ -823,6 +823,15 @@ e_expr_copy(Arena *arena, E_Expr *src)
return result;
}
internal void
e_expr_list_push(Arena *arena, E_ExprList *list, E_Expr *expr)
{
E_ExprNode *n = push_array(arena, E_ExprNode, 1);
n->v = expr;
SLLQueuePush(list->first, list->last, n);
list->count +=1;
}
////////////////////////////////
//~ rjf: Expression Tree -> String Conversions