butaneprotocol / blaze-cardano

🔥 The hottest transaction building library for Cardano
https://blaze.butane.dev
Apache License 2.0
58 stars 22 forks source link

Small DSL for UPLC AST #57

Open micahkendall opened 5 months ago

micahkendall commented 5 months ago

We could do with an as-small-as-possible DSL for constructing the AST safely, since the object representation isn't.

Ideally you have utility functions which are used for manipulating opaque classes, a parser from the object form to the DSL form, an encoder back to object from, and a pretty-printer.

rvcas commented 4 months ago

cool idea