summaryrefslogtreecommitdiff
path: root/bindings.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-05-17 09:36:19 +0300
committerLars Wirzenius <liw@liw.fi>2019-05-17 09:36:19 +0300
commit5893afdacd1b8f37c5d8aee8ade71064747dda27 (patch)
tree4d69a4f3392315c59d43960d74b67cf2e619f410 /bindings.yaml
parent99e0c83f98f56e26725ac86bcf1569e5ba012178 (diff)
downloadsaga-poc-5893afdacd1b8f37c5d8aee8ade71064747dda27.tar.gz
Add: example proof-of-concept code generation
Diffstat (limited to 'bindings.yaml')
-rw-r--r--bindings.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/bindings.yaml b/bindings.yaml
new file mode 100644
index 0000000..7dbe4cc
--- /dev/null
+++ b/bindings.yaml
@@ -0,0 +1,8 @@
+- pattern: given some precondition
+ function: given_precondition
+
+- pattern: when (?P<name>\S+) does something
+ function: do
+
+- pattern: then all if fine
+ function: is_fine