Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / What I would like to see in the next compiler update...

Author
Message
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 24th Mar 2003 11:19
...among other fixes, I would like the compiler to report (and optionally stop compilation) for all unused variables (ie those that are defined but not used and those that are defined, assigned one and then not used).
Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
madbilly
23
Years of Service
User Offline
Joined: 20th Mar 2003
Location: United Kingdom
Posted: 24th Mar 2003 13:38
I'd like the free flight rotation to be sorted out

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 24th Mar 2003 16:48
If the compiler can't do it already, I'd like to see the compiler be able to only compile source files it needs to compile - much like a C compiler would do. Then, if you separate your source into individual files that can be compiled independently, it could just compile the ones that have changed, link in the ones that were already compiled and make the EXE. This would help solve the problem with the DBPro compiler being excruciatingly too slow to compile large projects. I've heard about one large project that takes 10-15 minutes to compile with DBPro, but almost no time to compile with DBC.

Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 24th Mar 2003 17:17
"I've heard about one large project that takes 10-15 minutes to compile with DBPro"

That isn't true. I have seen projects of 12,000 lines plus compile in about 1 minute. 10-15 minutes is exadurated. DBC compiles so fast because it only tokensies the code.

Current Project: Retro Compo. Entry.
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 24th Mar 2003 22:16
Statisical usage of variables may be good too...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!

Login to post a reply

Server time is: 2026-07-11 08:46:53
Your offset time is: 2026-07-11 08:46:53