sudoblockio / tackle

Tackle is a programmable configuration language for building modular utilities, code generators, and CLIs with schema validation baked in.
Apache License 2.0
52 stars 2 forks source link

Determine if `match` hook should parse dictionaries by default #160

Open robcxyz opened 1 year ago

robcxyz commented 1 year ago

Right now this does not parse the literal hook because dictionaries are passed by default. This should be determined if it is the right way to go as by default, blocks parse dicts which this should maybe do as well.

foo: bar

normal_dict_hook:
  ->: match foo
  case:
    bar:
      foo: foo
      stuff:
        ->: literal stuff