noredink-ui icon indicating copy to clipboard operation
noredink-ui copied to clipboard

Bat/codegen

Open tesk9 opened this issue 3 years ago • 1 comments
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

tesk9 avatar Aug 19 '22 00:08 tesk9

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?

linear[bot] avatar Aug 19 '22 00:08 linear[bot]