🔍

Standard library

The standard library scripts are located in the std/ folder. Using these scripts makes writing code easier.

Current set of scripts

File name Description
core.o General functions and specific functions for working with data
htreq.o Functions for query platform over http
http.o Functions for creating an HTTP server
json.o Functions for presenting data in JSON format
lit.o Functions and parsers for processing self-documenting code
markdown.o Functions and parsers for processing MD data
prolog.o Functions and parsers to implement the Prolog language
repl.o Functions that implement the Read-Eval-Print Loop
sql.o Functions and parsers that implement the SQL-like syntax
urllib.o Functions and parsers for processing URL strings
xml.o Functions and parsers for processing XML data

Before using a particular script, you need to load it into the namespace.

o)load "core"
"./std/core.o"

To not download the script again, you can check the presence of any of its elements in the namespace.

o)if [not `urllib in !(.`)] {load "urllib"};
o)if [not `repl in !(.`)`] {load "repl"};