Skip to content

Latest commit

 

History

History
199 lines (171 loc) · 11.4 KB

builtin_functions_status.md

File metadata and controls

199 lines (171 loc) · 11.4 KB

Status of builtin function implementation

The following is a table of the status of various builtin-functions. The table is broken down by category, and each function is marked with a checkmark if it is implemented. If there are any notes about the implementation, they will be included in the notes column.

LambdaMOO 1.8 builtin function list and status

Lists

Name Complete Notes
length
setadd
setremove
listappend
listinsert
listdelete
listset
equal
is_member
match
rmatch
substitute

Strings

Name Complete Notes
tostr
toliteral
crypt Pretty damned insecure, only here to support existing core password functions.
index
rindex
strcmp
strsub

Numbers

Name Complete Notes
toint
tonum
tofloat
min
max
abs
random
time
ctime
floatstr
sqrt
sin
cos
tan
asin
acos
atan
sinh
cosh
tanh
exp
log
log10
ceil
floor
trunc

Objects

Name Complete Notes
toobj
typeof
create Quota support not implemented yet.
recycle
valid
parent
children
chparent
max_object
players Potentially slow in a large DB.
is_player
set_player_flag
move

Properties

Name Complete Notes
properties
property_info
set_property_info
add_property
delete_property
clear_property
is_clear_property

Verbs

Name Complete Notes
verbs
verb_info
set_verb_info
verb_args
set_verb_args
add_verb
delete_verb
set_verb_code
eval
disassemble Output looks nothing like LambdaMOO's
verb_code

Values / encoding

Name Complete Notes
value_bytes
value_hash
string_hash
binary_hash
decode_binary Binary encoding will likely work differently in moor. See README.md for more info.
encode_binary
object_bytes

Server

Name Complete Notes
server_version Hardcoded value, should derive from bin crate
renumber
reset_max_object
memory_usage
shutdown
dump_database
db_disk_size
connected_players
connected_seconds
idle_seconds
connection_name To make this 100% compat with core, reverse DNS & listen port is needed.
notify With rich_notify feature on, supports sending additional content types
boot_player
server_log
load_server_options
function_info
read

Tasks

Name Complete Notes
task_id
queued_tasks
kill_task
resume
queue_info
force_input
flush_input

Execution

Name Complete Notes
call_function
raise
suspend
seconds_left
ticks_left
pass Is an opcode
set_task_perms
caller_perms
callers
task_stack

Network connections

Name Complete Notes
set_connection_option
connection_option
connection_options
open_network_connection
listen print-messages not yet implemented. errors in binding not properly propagating back to the builtin
unlisten
listeners
output_delimiters
buffered_output_length

Extensions

Functions not part of the original LambdaMOO, but added in moor

XML / HTML content management

Name Description Notes
xml_parse Parse a string c ntaining XML into a tree of flyweight objects Available only if the flyweights feature is turned on
to_xml Convert a tree of flyweight objects into a string containing XML Available only if the flyweights feature is turned on