From 7a172be6213839a3d023ba21c3bafd7540a4bfe8 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 31 Mar 2025 02:11:03 -0400 Subject: Remove threads and mutexed data from the language in favor of a module-based approach --- src/ast.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/ast.c') diff --git a/src/ast.c b/src/ast.c index 00f03a6d..5f4e24f1 100644 --- a/src/ast.c +++ b/src/ast.c @@ -116,8 +116,6 @@ CORD ast_to_xml(ast_t *ast) T(Not, "%r", ast_to_xml(data.value)) T(HeapAllocate, "%r", ast_to_xml(data.value)) T(StackReference, "%r", ast_to_xml(data.value)) - T(Mutexed, "%r", ast_to_xml(data.value)) - T(Holding, "%r%r", ast_to_xml(data.mutexed), ast_to_xml(data.body)) T(Min, "%r%r%r", ast_to_xml(data.lhs), ast_to_xml(data.rhs), optional_tagged("key", data.key)) T(Max, "%r%r%r", ast_to_xml(data.lhs), ast_to_xml(data.rhs), optional_tagged("key", data.key)) T(Array, "%r%r", optional_tagged_type("item-type", data.item_type), ast_list_to_xml(data.items)) @@ -192,7 +190,6 @@ CORD type_ast_to_xml(type_ast_t *t) T(TableTypeAST, "%r %r", type_ast_to_xml(data.key), type_ast_to_xml(data.value)) T(FunctionTypeAST, "%r %r", arg_list_to_xml(data.args), type_ast_to_xml(data.ret)) T(OptionalTypeAST, "%r", data.type) - T(MutexedTypeAST, "%r", data.type) #undef T default: return CORD_EMPTY; } -- cgit v1.2.3