How to use the REPL?

damu's icon

I love the idea of the REPL. I've got the basic idea with setting a scripting name for an object and adding the parameter to the REPL window.

Are there any guides anwhere on how to use it? The docs I've found are very brief.

I can imagine so many good uses for this.

Joshua Kit Clayton's icon
damu's icon

No I hadn't found that. Thank you.

I'll leave this silly question up in case anyone else has the same issue.

Wil's icon

nifty! thanks for posting~

JBG's icon

This looks pretty useful. Is there any way to send messages directly to abstractions (apart from sending them through pattrstorage/receive)?

chapelier fou's icon

Is there a way to get a parameter value from the REPL ?

Could be useful if you want to quickly check something buried in patchers.

Wil's icon

Still trying to find the pop up menu when objects is selected that choose parameters to address in repel and auto fill the editor with current value

Iain Duncan's icon

Anyone know if we can send messages to the REPL to make it do things?

atomicafro's icon

Do you know if C74 has a proper unit testing environment for Max, et al? Seems like REPL is moving in the direction of automated testing, but I wanted to understand if this is something we may see in 9.x. Complex Max For Live patches are an absolute nightmare to robustly test prior to release unlike other dev environments. I know that wasn't the original purpose of Max, but given the current usage as the primary dev env for Ableton tools, I would advocate strongly for such functionality in the near future. Same goes for a proper debug mode (which REPL is... kind of...) with breakpoints, and a form of "linting" to intelligently and safely reorganize patches to make them easier to read/maintain.

Iain Duncan's icon

They do, I can't remember where it is. It might be in a package on the package manager? I wound up building my own as I had problems getting it to run reliably for Scheme for Max, but it definitely exists. It's not too hard to make your own though