A niche general purpose scripting language that is especially suited to web development.

LaiRu 1.0 targets full compatibility with the Lasso 9.3 feature set.

“Lasso has been around for decades, and will be around for decades to come.”Excerpt from Lasso 9.3 Manual Foreword.

Manual Categories

Getting Started

How LaiRu source is called, how templates mix code with output, and how projects are organized.

Syntax and Control Flow

Literals, variables, operators, captures, methods, blocks, query expressions, and threading syntax.

Types and Object Model

Core values, custom types, traits, tags, reflection, members, inheritance, and object conventions.

Strings and Text

String construction, Unicode inspection, searching, mutation, escaping, encoding, and iteration.

Bytes and Encoding

Binary data, byte streams, charset conversion, digests, Base64, hex, URL, and SQL byte encodings.

Math and Numbers

Integer and decimal constructors, arithmetic helpers, bit operations, rounding, random values, and trigonometry.

Regular Expressions

ICU regular expression objects, string pattern helpers, captures, replacements, splitting, and pattern iteration.

Files and Directories

File objects, directory objects, standard streams, path inspection, reads, writes, permissions, and traversal.

Databases

inline actions, records, fields, result sets, datasource helpers, SQL data sources, ODBC, and FileMaker.

Processes and Logging

Logging levels and destinations, os_process, sys_process, child I/O, exit codes, and command execution.

Errors and Diagnostics

Current errors, failures, handlers, protect blocks, aborting, stack inspection, and defensive examples.

Server Configuration

Document roots, LaiRu HTTP serving, LaiRu FPM, FastCGI parameters, nginx, Apache, systemd, and deployment defaults.

Recently Updated Reference Pages

sys_process->closeWrite

sys_process->closeWrite is a member in the Processes group; call it on the receiver shown before the arrow.

sys_process->testExitCode

sys_process->testExitCode is a member in the Processes group; call it on the receiver shown before the arrow.

sys_process->close

sys_process->close is a member in the Processes group; call it on the receiver shown before the arrow.

sys_process->detach

sys_process->detach is a member in the Processes group; call it on the receiver shown before the arrow.

sys_process->isOpen

sys_process->isOpen is a member in the Processes group; call it on the receiver shown before the arrow.

sys_process->readString

sys_process->readString is a member in the Processes group; call it on the receiver shown before the arrow.

sys_process->setEncoding

sys_process->setEncoding is a member in the Processes group; call it on the receiver shown before the arrow.

os_process->close

os_process->close is a member in the Processes group; call it on the receiver shown before the arrow.

Questions People Ask During Migrations