diff --git a/scratchpad.raku b/scratchpad.raku new file mode 100644 index 0000000..366bb9a --- /dev/null +++ b/scratchpad.raku @@ -0,0 +1,12 @@ +# Below is an example policy to test Policy structure against +my $rule = 'all aws_ebs_volume resources have required tag "foo" with required value "bar"'; + +grammar Policy { + regex TOP { } + regex quantifier { + || any + || all + || \d + } + regex resource { \s \w \s resource[s?] \s} +} \ No newline at end of file