yaml / yamlscript

Programming in YAML
MIT License
382 stars 31 forks source link

Add `?:` debugging support to work like `.?` #154

Open ingydotnet opened 3 months ago

ingydotnet commented 3 months ago

Currently you can do:

x =: foo.bar().?.baz().?

Where .? is sugar for .WWW() which prints and returns its input.

Next we want

foo ?: bar baz

to be like

WWW:
  foo: bar baz

for quick print debugging.

ingydotnet commented 3 months ago

Needed to #137