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)
- Host: GitHub
- URL: https://github.com/logicify/sel-js
- Owner: Logicify
- License: mit
- Created: 2015-03-03T22:06:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-04T18:00:44.000Z (over 10 years ago)
- Last Synced: 2024-04-15T03:17:54.766Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 152 KB
- Stars: 1
- Watchers: 14
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
SEL - Simple Expression Language
====================================[](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 ()