eval2: split out expression kinds from parse styles of expressions - lets us separate semantic expression tree from frontend, so that we can easily switch frontend

This commit is contained in:
Ryan Fleury committed 2026-06-26 11:22:43 -06:00
1 parent bcbc5e4a2a
commit 9491fdf5c2
6 files changed
+239 -134

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ entry_point(CmdLine *cmdline)
B32 identifier_is_type = 0;
for(;;)
{
E2_Parse parse = e2_parse_from_string(scratch.arena, &state, identifier_is_type, strings[idx]);
E2_Parse parse = e2_parse_from_string(scratch.arena, &state, identifier_is_type, E2_LangKind_CLike, strings[idx]);
identifier_is_type = 0;
expr = parse.expr;
for EachNode(n, E2_Msg, parse.msgs.first)