Add DataWeave language (#3804)

* Add DataWeave language

* Add Licence

* Update to latest DataWeave revision
This commit is contained in:
Agustin Mendez
2017-09-07 11:28:46 -03:00
committed by Colin Seymour
parent 5d48ccd757
commit fc1404985a
11 changed files with 161 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
fun SQL(literals, parts) = ''
---
[
SQL `SELECT * FROM table WHERE id = $(1) AND name = $('a')`,
SQL `$('p')`,
SQL `$('a')$('b')`,
SQL `$('a')---$('b')`,
SQL `---$('a')---$('b')---`,
SQL `$('p')bbb`,
SQL `aaa$('p')`,
SQL `aaa$('p')bbb`
]