You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently, when you want to inspect values via the REPL (druid / norns / max etc), you currently have to wrap your element in a print() call. this gets awkward especially because you have to add characters to both start & end of the string.
instead i'd love to see an extension to the interpreter that pass statements to print under the hood. this could either by a raw call, or we could require typing = first like in many languages.
for thoughts on implementation, take a look at the lua interpreter as it handles this. i think it previously (<5.3) required =, but now works directly (5.3+).
this will make interactive development far faster & less annoying.
The text was updated successfully, but these errors were encountered:
currently, when you want to inspect values via the REPL (druid / norns / max etc), you currently have to wrap your element in a
print()
call. this gets awkward especially because you have to add characters to both start & end of the string.instead i'd love to see an extension to the interpreter that pass statements to print under the hood. this could either by a raw call, or we could require typing
=
first like in many languages.for thoughts on implementation, take a look at the lua interpreter as it handles this. i think it previously (<5.3) required
=
, but now works directly (5.3+).this will make interactive development far faster & less annoying.
The text was updated successfully, but these errors were encountered: