Code center > Suggestions

Bot Code Analysis Tool

<< < (2/8) > >>

Ta-183:
Really, I would probably kill for a tool like that. It would likely spell the difference that launches DB from an obscure a-life simulator used by only a couple dozen and upheld by even fewer to the 'killer app' of the programming game nerd. Most people that I tell about darwinbots think it's a neat idea until I reveal that the language used is a reverse-polish assembler. This could also really influence the creation of more and more complex league bots and would prove invaluable in the far more complex environment of DB3. Bots with complex diagnostic, error handling and antivirus systems would be far simpler to create and become far more common. The applications for bot development that such a program would have are boundless. The simple use of it as an error-checking and debugging tool would have far more immediate usefulness.

Who among us DOESN'T want to go back and make our best bots behave exactly as we wanted them to? It love to make SF2 work correctly. Half the time, I don't even know what the hell it's doing. Such is the reality of implementing complex structures in an esoteric assembly language. (DB4.0, now in Brainfuck!)

Numsgil:

--- Quote from: Ta-183 on June 25, 2010, 05:08:48 PM ---(DB4.0, now in Brainfuck!)

--- End quote ---

Hmm...

:)

Prsn828:
Well, I've managed to get it started, so we'll see what happens.

It won't be too hard to get the first part, the infix to/from postfix, to work correctly.
When it does I might release a beta version of the tool (more accurately I'd say it's like an alpha).

Also, I've got it structured so that all of the actions it performs are in utility classes, so it should be easy to incorporate them into other programs.

If I do this right, you will be able to code in either infix or postfix, or can switch between the two.

I'll keep everyone informed of the progress as I get parts of it working.

[EDIT:]
I have the postfix to infix functionality working.  I tested it on Jeffalish from the bestiary, and it seems to work properly.  I don't know how well it might do with evolved code though.
The next step is infix to postfix.

Prsn828:
I have ended up scrapping the Java in favor of Python.  As a bonus, it appears that I will now be able to add in tooltips, and have them directly pointed at the wiki (Ex: if your cursor is after the word add, and you press control + space, a small window appears with the wiki page for the add command.)

It uses WxPython, so anyone who wants to use it will also have to install Python and WxPython, but for anyone interested in something as code oriented as writing bots, this really shouldn't be a problem.

I have to re-implement the postfix/infix translations, but that shouldn't be too hard to do.

I'll release a beta once I get at least one of the useful features working fully. (Besides load, save, and saveAs, which I already have built into it)

Shasta:
When you put out a version, could I request using py2exe? It makes way easier for everyone to just download and use it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version