use std use "dispatch" const mkdir = {params var path std.put("mkdir called\n") path=params[0] std.mkdir(path,644) } const __init__ = { dispatch.register("mkdir", mkdir) }