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

📄 id.1010729.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("var b := new(void, int).seqbase(0@0);");	aa_a := new(nil:oid,nil:int);#	io.print("b.insert(nil,1).insert(nil, 2).insert(nil, 3);");	ba_a := insert(b,nil,1);	ca_a := insert(ba_a,nil,2);	da_a := insert(ca_a,nil,3);#	io.print("# 11 is the type_identifier of 'str'\n");	ea_a := multiplex.tactics("cast",b,11);	fa_a := print(ea_a);#	io.print("[cast](b, str).print();");	ga_a := multiplex.tactics("cast",b,nil:str);	ha_a := print(ga_a);#	io.print("[cast](b, dbl).print();");	ia_a := multiplex.tactics("cast",b,nil:dbl);	ja_a := print(ia_a);#	io.print("[cast](b.[+](48), chr).print();");	ka_a := multiplex.tactics("+",b,48);	la_a := multiplex.tactics("cast",ka_a,nil:chr);	ma_a := print(la_a);

⌨️ 快捷键说明

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