Ok, I’ve just pushed a bunch of new stuff to the github repos, some of which may not be 100% stable.
However, you should now be able to use the new module manager in ted2 to install the solitary module currently available online, skidracer’s portmidi module. You can also try uploading modules if you want – see link in help menu.
A brief summary of changes:
- Mojox has been made a ‘real’ standalone module. This is something I would have liked to have done for v1.0.0, but a lot of the code in mojox is relatively old (large chunks of mojox were written last year!) and I didn’t want to just ‘bung it in there’. I also decided (rightly or wrongly) that it wasn’t worth holding up v1.0.0 for mojox, so mojox has been very much ‘in limbo’ since v1.0.0.
- Ted2 has been majorly rearranged as the single huge MainWindow.monkey2 approach just wasn’t cutting it any more. I also added the module manager, a few features from ted1 I have been missing and tidied up the documentation system a bit. Also, there’s simple support for ‘viewing’ audio and json files in now! The help system is still nowhere near as good as it should be, but more intelligent help will have to wait until I’ve tooled around with mx2cc a bit. My goal is still to be able to go ‘mx2cc -semant rootfile.monkey2’ and have it return a json ‘type tree’ suitable for things like intelligent help, but that’s still a while off. ‘mx2cc -parse singlefile.monkey2’ is much easier though, and would allow for at least a simple ‘code’ browser and could show realtime parse errors as you type.
- There’s also an experimental ‘manual’ doc system in place. You can now add a ‘docs/manual.md’ file to a module and makedocs will/should produce a multi-page manual for you that gets added to the ‘manuals’ section of the docs. Very much WIP and undocced etc, but I managed to move the language reference to the new system successfully and I think it works pretty well.
So, with that lot out of the way, it’s time to get stuck back into more targets! This will initally mean a big cleanup of the fast-becoming-a-monster builder.monkey2 file in mx2cc (which will likely inspire cleanups in other areas) but the overall plan is for the next majorish release to have android support (hope I don’t regret saying that!).