noredink-ui
noredink-ui copied to clipboard
Bat/codegen
trafficstars
Fixes A11-1399
Topics to ask about:
- ✅ inline comments
- ✅ type aliases in function signatures changing the generated code (e.g., Accordion.view versus Accordion.styleAccordion)
- ✅ how to alias imports for use in examples
- ✅ generating code from the current directory, rather than a published package
- ✅ Elm.pipe mistake in docs for Elm.Ops
- ✅ using constructions from gen'ed code (e.g., AccordionEntry)
- supporting direct ellie links?
Todo before this merges:
- almost certainly should .gitignore the gen-ed code
A11-1399 Experiment with codegen package
Try out using the mdgriffith/elm-codegen package in noredink-ui. Can we end up with nicer imports and formatted example code?