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

📄 no.145.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("setoid(oid(2000000));");	aa_a := calc.oid(2000000);	ba_a := setoid(aa_a);#	io.print("var k100_unique1:=bat(\"k100_unique1\");");	k100_unique1 := bbp.new("k100_unique1");#	io.print("#test correct decisions in the join operation.\n");	t := algebra.select(k100_unique1,10,10);#	io.print("t.count().print(); k100_unique1.count().print();");	ca_a := aggr.count(t);	da_a := bat.print(ca_a);	ea_a := aggr.count(k100_unique1);	fa_a := bat.print(ea_a);#	io.print("var u:= t.copy();");	u := copy(t);#	io.print("#cpu.print();\n");#	io.print("var z:= t.reverse().join(k100_unique1);");	ga_a := bat.reverse(t);	z := algebra.join(ga_a,k100_unique1);#	io.print("z.print();");	ha_a := bat.print(z);#	io.print("#cpu.print();\n");	ia_a := bat.reverse(k100_unique1);	z := algebra.join(ia_a,u);#	io.print("#cpu.print();\n");	ja_a := bat.print(z);#	io.print("quit();");	ka_a := clients.quit();

⌨️ 快捷键说明

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