⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 id.602463.mal

📁 一个内存数据库的源代码这是服务器端还有客户端
💻 MAL
字号:
# Monet Mil to Mal compiler# Copyright (c) 2001-2004, CWI. All rights reserved.#Predefined code segment#The compiler can not guarantee an accurate compilation,#because MIL unlike MAL is a dynamically typed language.#A few guidelines to maximize usefullness.#- make the type of variables explicit, in particular 'nil'#- upon advice of M2m to remap identifiers, change it in your program directly#use the "mil_schema" for additional support routines#	io.print("# Date:\t\t2002-08-30 08:04\n");#	io.print("# Priority:\t5\n");#	io.print("# Submitted By:\tArjen P. de Vries (apdv)\n");#	io.print("# Assigned To:\tNiels Nes (nielsnes)\n");#	io.print("# Category:\tNone\n");#	io.print("# Status:\tClosed\n");#	io.print("# Summary:\n");#	io.print("# join uses wrong column (\?)\n");#	io.print("# \n");#	io.print("# a join with a .reverse.mirror-ed void-oid-bat gives a \n");#	io.print("# non-empty \n");#	io.print("# result while it should have been empty. \n");#	io.print("");	aa_a := oid(0);	ba_a := new(nil:oid,nil:oid);	ca_a := oid(0);	da_a := oid(10);	t1 := insert(ea_a,ca_a,da_a);#	io.print("var t1 := new(void,oid).seqbase(oid(0)).insert(oid(0),oid(10));");	fa_a := oid(0);	ga_a := new(nil:oid,nil:int);	ha_a := oid(0);	t2 := insert(ia_a,ha_a,1);#	io.print("");	ja_a := printf("LHS:\n");#	io.print("printf(\"LHS:\\n\");");	ka_a := reverse(t1);	la_a := mirror(ka_a);	ma_a := print(la_a);#	io.print("t1.reverse().mirror().print();");	na_a := printf("RHS:\n");#	io.print("printf(\"RHS:\\n\");");	oa_a := print(t2);#	io.print("t2.print();");	pa_a := printf("Result (should be empty):\n");#	io.print("printf(\"Result (should be empty):\\n\");");	qa_a := reverse(t1);#	io.print("t1.reverse();");	ra_a := mirror(t1);	sa_a := join(ra_a,t2);	ta_a := print(sa_a);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -