Home
Home
Spaces
Apps
Templates
Create
developer
Overview
Blog
Space shortcuts
How-to articles
Pages
New
developer
KRL Manual
Created by
Former user (Deleted)
Last updated
Jun 09, 2016
by
Phil Windley
This is the manual for the Kinetic Rule Language.
Overview
Evented Systems vs Request-Response Systems
Why Use the Kinetic Rule Language?
Programming in KRL
What Happens When an Event Is Raised?
send_directive()
Rulesets
Global Section
Rules
Rules Are Simply Conditional Actions
The select Statement
Looping in Rules
Prelude
Declarations
Declaration Semantics
Event Attributes
Actions
Taking Action
send_raw
Compound Actions
noop()
Postlude
Guard Conditions
Control Statements
Explicit Logging
Raising Explicit Events in the Postlude
Explicit Events for Error Handling
Meta Section
Event Expressions
Finding Individual Events
Attribute Matching
Capturing Values
Attribute Expressions
Event Scenarios
Compound Events
Event Operators
Event Expressions and Time
Variable Arity Event Operators
Group Operators
Variable Correlation Between Eventexes
Aggregators
Eventex Examples
KRL Expression Language
Literals
Booleans
Numbers
Strings
Regular Expressions
Arrays
Maps
Extended Quoting
Beestings
Identifiers
Predicate Expressions
Arithmetic Expressions
String Expressions
Conditional Expressions
Functions
Using Optional and Named Parameters
User-Defined Actions
Operators
Universal Operators
Number Operators
String Operators
Array Operators
Map Operators
Set Operators
Boolean Operators
pick() and query()
pick()
query()
Flow Control
Libraries
engine
event
HTTP
random
schedule
time
CSV
ical
math
rss
URI
indy
Telnet
meta
Persistent Variables
Using Persistents in Preludes
Using Persistents in Conditions
Mutating Persistents in the Postlude
Querying Persistent Variables
Grammar
User Defined Modules
Like
{"serverDuration": 20, "requestCorrelationId": "df1e64b866f99ede"}