• mganss

    @ingox Very nice! Perhaps pdjs could be extended by allowing script to be provided in the [js] object's arguments, thereby circumventing the requirement for a script file.

    Max has the ability to edit the script using an internal editor. Is there a way to provide something similar in PD? Perhaps using a separate editor object and passing the text to pdjs via a message?

    posted in extra~ read more
  • mganss

    @lacuna Thanks. Here's a nice HOWTO about writing externals for PD: https://github.com/pure-data/externals-howto
    Documentation about embedding V8 can be found here: https://v8.dev/docs/embed

    posted in extra~ read more
  • mganss

    @tabache You can find a few patches in the test-* directories of the pdjs repo here: https://github.com/mganss/pdjs/tree/master/test
    These are part of the automated tests for pdjs so don't reflect real use cases but might be helpful to get a feel for how pdjs can be used. You'll probably need to add [declare -path pdjs] if pdjs isn't in PD's default search paths.

    posted in extra~ read more
  • mganss

    The macOS version has been released on deken :apple: :rocket:

    posted in extra~ read more
  • mganss

    @emviveros Not much, hopefully. If all goes well I just need to set up a development environment on a Mac and build V8 and pdjs. I'll try to get this done early next week.

    posted in extra~ read more
  • mganss

    Hey, I've made pdjs, an external that executes JavaScript using V8 and tries to emulate Max's js object.

    It lives at https://github.com/mganss/pdjs and is available through deken for x64-windows, x64-linux, and arm64-linux currently (x64-macos planned).

    Most core functionality is there so a lot of code written for Max js that doesn't use any extra objects (like LiveAPI, Buffer, Dict, etc.) should run unchanged.

    Please report any issues or missing features at GitHub.

    posted in extra~ read more

Internal error.

Oops! Looks like something went wrong!