PDA

View Full Version : Proptool feature request



BradC
09-12-2007, 02:26 AM
I know this one has been done heaps already, but pretty please..

Simple conditional compilation in DAT segments.

Just a #define foo 1

#if foo
blarf
#endif

Beg, grovel, scrape, kowtow

http://forums.parallax.com/images/smilies/idea.gif

Mightor
09-12-2007, 12:04 PM
I second that motion. It'd be awesome for debugging purposes.

Gr,
Mightor

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
| To know recursion, you must first know recursion.
| I'm afraid I might be phobophobic.

Ariba
09-12-2007, 12:55 PM
SCCuM:
http://forums.parallax.com/showthread.php?p=654555
PreSpin:
http://forums.parallax.com/showthread.php?p=655470

http://forums.parallax.com/images/smilies/yeah.gif

_Mark
09-12-2007, 06:33 PM
Perhaps a good idea might be one or several of the following:

- Add a command-line parameter to the proptool which allows it to be invoked as a command-line compiler. This would enable 3rd-party tools to integrate the compilation process into their own process (such as preprocessing). Advantage, it's probably not a lot of work for parallax to add this. Disadvantage, it's still not easy to integrate anything into the proptool IDE (and it's not easy to create a 3rd-party tools that include their own IDE, nor desirable I think).

- Add the ability for the proptool to invoke external programs during the compilation process (for example once for each spin file in a project, just prior to compilation). Advantage, this makes it easier to integrate, say, preprocessing steps into the compilation process (including existing tools), or anything else, without hindering use of the IDE. And it's probably still not a great deal of work for parallax. Disadvantage? Not sure...

- Add some kind of plugin API to the proptool, that allows 3rd-party plugins to directly interface with the IDE. Advantage, very flexible. Disadvantage, a lot of work for parallax.


Just some thoughts.

Mark