Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christianbundy/easy
https://github.com/christianbundy/easy
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/christianbundy/easy
- Owner: christianbundy
- Created: 2014-02-03T22:17:05.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-31T01:30:03.000Z (over 10 years ago)
- Last Synced: 2024-10-18T16:50:24.961Z (26 days ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Easy
Plain-English Javascript-like scripting made easy.
```js
// automatic returns
print:(message:1):(message).// if is easy
if:(
expression: 1,
block: 2,
else: 3,
elseblock: 4
):(
(expression == true?) && block || (else == "else") && (elseblock) || error "you suck".
).// is is easy
is:(before: -1, after: 1):(
if (before == null) (after == true?) else (before = after).
).// synonyms are easy.
are:is.// lookbacks are easy
cool:(a: -1):(
is a == "cool"?
).cb // null
cb is // "you suck"
is cb cool? // false
cb is "cool". // "cool"
is cb cool? // true
are cb cool? // true
```