hpi-swa-teaching/PrettyPrettyPrint

Provide an API to format partial methods

Opened this issue · 0 comments

tom95 commented

It would be convenient for programmatic use cases to have an API where I can use only a snippet and have it prettyprettyfied, e.g. I just provide

self this: 5 is: 2 aLong: 123 message: 452

and get back

self
  this: 5
  is: 2
  aLong: 123
  message: 452

This currently fails because the PPP always expects a method definition at the start of a string.