littlebits / stream-sift

A minimal high-performance specification-backed stateful object matching engine
MIT License
1 stars 1 forks source link

Validate that each function used is defined #15

Closed jasonkuhrt closed 9 years ago

jasonkuhrt commented 9 years ago

For example:

1. In the spec, each function used, must be defined in the standard library:
{ input: { $whoops: 5 } }
Errors:

(1) Function "$whoops" is not defined.

{
  input: {            
    $whoops: 5
     ^^^^^^ (1)
  }
}

Solutions:

(1) <docs about the standard library>