R7RS library converter notes - higepon/mosh GitHub Wiki

Input (lib-decl* ...) Output (lib-decl* ...)

Using named let?

  • 1 export => just rename convert => 1 export
  • 1 import => import
  • 1(begin ...) => 1 (begin ...)
  • include -> N include but don't need to parse the result
  • include-library-declarations -> N library declarations. Need to parse them again.