diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-08-14 09:49:17 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-09-07 17:32:20 +0100 |
commit | 4436b7ee28b0318a96d98833d85d712c8a18850d (patch) | |
tree | ca8c124284b7585b310fa4340d6a63be498ccba6 /subplotlib | |
parent | 70461d3af84d1f5363df67f2f50f10b9dce86812 (diff) | |
download | subplot-4436b7ee28b0318a96d98833d85d712c8a18850d.tar.gz |
bindings: Parse polyglot bindings
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'subplotlib')
-rw-r--r-- | subplotlib/subplotlib.yaml | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/subplotlib/subplotlib.yaml b/subplotlib/subplotlib.yaml index 78090c3..f92ff24 100644 --- a/subplotlib/subplotlib.yaml +++ b/subplotlib/subplotlib.yaml @@ -1,20 +1,32 @@ - given: a counter starting at {initial} - function: a_trivial_setup - cleanup: a_trivial_cleanup + impl: + rust: + function: a_trivial_setup + cleanup: a_trivial_cleanup types: initial: int - when: the counter is incremented - function: increment_counter + impl: + rust: + function: increment_counter - then: the counter is {num} - function: check_counter + impl: + rust: + function: check_counter types: num: number - given: I have read the file {file} into {somename} - function: acquire_file_content + impl: + rust: + function: acquire_file_content types: file: file somename: text - when: I look at {somename} - function: remember_target + impl: + rust: + function: remember_target - then: I see "{text:text}" - function: check_contents + impl: + rust: + function: check_contents |