codewars/lambda-calculus

implement verbosity levels: debugging logs

Kacarott opened this issue · 0 comments

  • Calm should log nothing and just throw errors on failure.
  • Concise could log what is being compiled: the name but not the definition. do not enter into recursion.
  • Loquacious could then also log definitions.
  • Verbose could additionally log things for recursive calls. this would probably explode the amount of logging. eval can do something analogous. show exactly where any Error is thrown, and dump the environment at higher levels.