onflow / flixkit-go

Apache License 2.0
0 stars 7 forks source link

Generate FLIX using Cadence comment header block #7

Open bthaile opened 1 year ago

bthaile commented 1 year ago

Given a cadence file generate flix json, generate version 1.1.0

Cadence comment block and language support

1.1.0 considerations

Generation considerations

Template naming

Note: The two FLIPS identified in this task are still in development, they can change based on development.

Future Plans: watch process to auto generate templates as cadence developer changes their cadence files them templates would get auto-generated

flixkit folder structure for binding generation ├── main.go ├── binding/ │ ├── generator.go │ └── javascript/ │ └── generator.go │ └── templates/ │ └── js_template.tpl └── ...

typescript would get it's own folder as well.

chasefleming commented 1 year ago

Generation of a FLIX from a Cadence file like a good use case for this library. A couple notes/question: