Library Modules
Lib/Block-Filter
lib/block-filter.ms
Lib/Bridge
lib/bridge.ms
Lib/Buffer-Channel
lib/buffer-channel.ms
Lib/Build
lib/build.ms
Allows for the creation of module-specific, standalone binaries.
Lib/Cfb
lib/cfb.ms
Implements a Cipher Feedback Mode state using a cipher, initialization vector, and an encryption function.
Lib/Checksum-Filter
lib/checksum-filter.ms
Lib/Clue
lib/clue.ms
A simple, efficient in-memory database. Discussed further in Clue Database Library.
Lib/Compile
compile.ms
Compile. Includes many Special Forms found in the "default" MOSVM executable.
- Dependencies: lib/iterate, lib/module, lib/record
- Exports: compile, reset-branch-index, make-branch-symbol, make-symbol, symbol-starts-with?
- Special Forms: apply, quasiquote, quote, begin, return, if, and, or, forever, until, while, unless, when, cond, case, guard, export, lambda, define-record-type
Lib/Cons-Filter
lib/cons-filter.ms
Lib/Copy-filter
lib/copy-filter.ms
Lib/Crypto-filter
lib/crypto-filter.ms
Provides a wrapper for other ports that will automatically break transmissions into blocks, and transmit / receive using a key. Only operates on 64k messages at a time to avoid the possibility of a garbled message header causing an absurdly large buffer to be constructed.
Lib/Env
lib/env.ms
Functions and variables dealing with the *environ* variable.
Exports: has-env, get-env, env-is
Variables: *env*, *in-winnt*, *in-win32*, *in-posix*, *in-x11*
Lib/Eval
lib/eval.ms
Tools for loading and executing programs.
Lib/Filter
lib/filter.ms
Lib/Format-Filter
lib/format-filter.ms
This filter will format any values prior to forwarding.
Lib/Http-Client
lib/http-client.ms
- Dependencies: lib/http-url, lib/object, lib/url
- Exports: send-http-get, send-http-post, read-http-response, http-get, http-post, make-http-response, http-response?, http-response-method, http-response-code, http-response-message, http-response-body, http-response-input, http-response-output
Lib/Http-Server
lib/http-server.ms
- Dependencies: lib/tcp-server, lib/http-url
- Types: <http-request>
- Exports: http-request-arg, http-request-body, http-request-header, http-request-headers, http-request-method, http-request-input, http-request-output, http-request-url, http-request-version, http-request?, read-http-request, spawn-http-server, write-http-response
Lib/Http-Url
lib/http-url.ms
- Dependencies: lib/tcp-server, lib/url
- Types: <http-url>
- Exports: http-url-arg, http-url-args, http-url-frag, http-url-host, http-url-path, http-url-portno, http-url-user, http-url?, make-http-url, url-auth, url-frag, url-path, url-query, url-scheme
Lib/Iterate
lib/iterate.ms
Various iterative functions.
Exports: any, filter, filter!, find, find-tail, fold, for-each, list-index, map, ignore-method
Lib/Line-Filter
Lib/Mailto-URL
lib/mailto-url.ms
Support for Mailto: urls.
Lib/Module
lib/module.ms
Provides the ability to determine dependency information about module source files. Expands on core/module.
Lib/Mosc
lib/mosc.ms
- Dependencies: lib/compile, lib/optimize
- Exports: mosc
Lib/Object
lib/object.ms
Lib/Optimize
lib/optimize.ms
Optimizer. Optional but recommended when compiling.
Lib/Options
lib/options.ms
Lib/Package-Filter
lib/package-filter.ms
Lib/Record
lib/record.ms
Lib/Repl
lib/repl.ms
MOSVM Command Line
- Dependencies: lib/optimize, lib/compile, lib/eval, lib/line-filter, lib/s-filter, lib/filter, lib/trace
- Exports: repl
Lib/S-Filter
- Dependencies: lib/iterate, lib/filter, lib/s-filter, lib/options
- Exports: s-filter
Lib/Shuffle
lib/shuffle.ms
A Fisher/Yates Shuffle
Lib/Tag-filter
lib/tag-filter.ms
Lib/TCP-Server
Lib/Terminal
lib/terminal.ms
Lib/Test
lib/test.ms
Library of inline unit-testing tools.
Lib/Trace
lib/trace.ms
Debugging tools.
Lib/Url
lib/url.ms
Underpinnings for certain network tools.
Lib/With-IO
lib/with-io.ms
Lib/XML
lib/xml.ms
Parses XML strings and files into S-XML data structures.
- Dependencies: lib/iterate, lib/filter
- Exports: get-sxml-attr, get-sxml-attrs, get-sxml-item, get-sxml-item*, get-sxml-items, make-sxml, get-sxml-tag, has-sxml-tag?, has-sxml-attr?, sxml-drill, sxml->string, string->sxml