Add experimental json/yaml to dhall scripts
2 files changed, 16 insertions(+), 0 deletions(-) A bin/json-to-dhall A bin/yaml-to-dhall
A bin/json-to-dhall => bin/json-to-dhall +8 -0
@@ 0,0 1,8 @@ #!/usr/bin/ruby # frozen_string_literal: true require "dhall" require "json" using Dhall::AsDhall STDOUT.write(CBOR.encode(JSON.parse(STDIN.read).as_dhall))
A bin/yaml-to-dhall => bin/yaml-to-dhall +8 -0