Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 934 Bytes

TODO.md

File metadata and controls

17 lines (16 loc) · 934 Bytes

Repr

  • without a value repr for BOZs, we're forced to delay evaluating function & operation arguments until we know the function. since we need to implement the special BOZ case

Small refactorings

  • Many AST nodes could be upgraded to use NonEmpty - some appear to be nonsensical for the empty list case (e.g. Declarator with ArrayDecl)
    • May need another newtype to work with AList
  • How to handle empty ALists
    • Empty ALists are hard to give SrcSpans to (but probably OK to do so)
    • Some syntax allows omitting brackets for empty lists
    • Maybe AList fixes the problem, but now we have Just [] and Nothing
    • Ideal solution is probably more AList-likes that encode some extra syntactic info while storing a regular list. Large scale change
    • For now, moved ExpFunctionCall and StCall from Maybe AList to AList, with notes on problematic spans