An open API service indexing awesome lists of open source software.

https://github.com/logicify/sel-js

JS implementation of the SEL(Simple Expression Language)
https://github.com/logicify/sel-js

Last synced: 3 months ago
JSON representation

JS implementation of the SEL(Simple Expression Language)

Awesome Lists containing this project

README

        

SEL - Simple Expression Language
====================================

[![Build Status](https://travis-ci.org/Logicify/sel-js.svg?branch=master)](https://travis-ci.org/Logicify/sel-js)

JS implementation of the [SEL(Simple Expression Language)](https://github.com/Logicify/sel)

# Syntax Examples

Simple interpolation

```
Hello, $username.
```

Invoke function

```
Uppercased value of test is $upper(test)
```

Invoke function with variable argument

```
Uppercased username is $upper($username)
```

Logical operations (conjunction)

```
$allOf(true, false, false)
```

More complex logical operations

```
$anyOf($not($myVar), $myVar)
```

# Usage

To be added soon.

Credits
-------
Alexander Beskrovny, Logicify ()