Hi,
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!).
Bye,
Mark
Wow. Impressive release! Enhancements and tweaks everywhere.
Thanks Mark, i am looking forward to the Ted2 enhancements.
Well, I’m impressed for TED2: I just discovered that you can open a .json file and the panel is splitted to show each single entry!
Well done!
Even the ‘local’ help has a new (good!) design (no pink – but a serious & professional grey!).
Just a (personal) note about the ‘windows’ in Ted2: there’s no way to understand what window has the ‘focus’… they are all equals, you could change the color – of the titlebar, or you could ‘grey out’ the other windows…
> Well, I’m impressed for TED2: I just discovered that you can open a .json file and the panel is splitted to show each single entry!
Its pretty minimal – no indication of error line yet etc – but even then I’ve still found it really useful as I don’t have to copy and paste my json to an online validator anymore.
> there’s no way to understand what window has the ‘focus’
Good point!
Would now be a good time for a v1.0.1 prebuilt binary to replace the v1.0.0 this way at least users coming to Monkey2 can test it without to much hassle.
Keeps getting better.
Just trying the mojox samples and simple_theme.json seems to be missing.