AS3 Documentation

I'll do some work on it too..

Right now it seems to be bugged here and there? (lacking <source> tags?)...

[EDIT] actually, (not sure why), there was a lot of " <source language="..."> " in the code, I changed it to lang="..." everywhere. [/EDIT]

The Template+switch thing is nicer then 3/4 different manuals... But still not perfect.

[EDIT] I converted what seemed to be the last python example? The one with the nuking of objects with less mass [/EDIT]

Can I ask a question? Why are the un-converted examples in python, not in C++?
I missed the language tags, that must be a mistake...

I saw the last example, but was too lazy. Thanks.

A few of the python examples are not wrapped because the source tag does not support wiki syntax inside it. But Python lacks a standard notation for indicating expected types, so kne described types as italics variables. Something I want to do eventually is supply the wiki's source parser with a list of Box2D types. It's then capable of (a) italicizing them in a custom language called say "pythondef", and (b) making them links to the appropriate wiki article.

Another wiki project is to replace improve on the template/switch thing. It's not easy though, as you cannot pass source code into a template, because the "embed a passed argument" wiki code is escaped by the source tags. But I would like something more advanced, so that you can have source examples in several languages on one page, tabbed with JS or selected in user options, rather than separate pages. The separate pages is ok for the manual, but we couldn't do the whole wiki like that.
And what about more high-level differences? For example: shouldn't the AS3 Manual have the section about malloc and free cut out?

[edit] I was wondering because those kind of differences seem kind of awkward to solve with template/switch structure. [/edit]
Yes, ok, Android, in fact there's still plenty wrong with the manual. Guess we'll just keep chipping away at it. The problem is there's actually a lot of language specific stuff, such as testbed behaviour, location of files, FAQ etc, so it's a never ending task.
It's hardly perfect, but even with its flaws, it's a great starting point.

Getting people to read the manual instead of just posting on the forums for every little thing is another story, though.

Original thread: https://box2d.org/forum/viewtopic.php?t=1109