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

📄 test_80.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(20000000));");	aa_a := oid(20000000);	ba_a := setoid(aa_a);#	io.print("#exercise simple loop\n");	bats:= mil.take("bats");barrier	(ca_a,ca_aH,ca_aT) := newIterator(bats);#	io.print("\tprint(\"enter\");");	da_a := print("enter");#	io.print("        var tmp := bats.select($2);");	ea_a := mil.getVarTemp($2);	tmp := select(bats,ea_a);#	io.print("        tmp.print();");	fa_a := print(tmp);redo	(ca_a,ca_aH,ca_aT) := hasMoreElements(bats);exit	(ca_a,ca_aH,ca_aT) ;#	io.print("quit();");	ga_a := quit();print("test dropped: variable argument list ");

⌨️ 快捷键说明

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