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 do I need to know about the compiler files when programming my own new IDE Editor

Author
Message
IceBird
23
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Sweden
Posted: 28th May 2003 02:14
What do I need to know about the compiler progress to write/program my own IDE Edior.. and of corse share it with everyone else later on
------------------------------------------------
Someone is watching you...... And it isn't ME!
------------------------------------------------
IceBird
23
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Sweden
Posted: 28th May 2003 02:16
ohhhh... by the way! I'm doing this because I wan't the workspace look exactly as I wan't.

------------------------------------------------
Someone is watching you...... And it isn't ME!
------------------------------------------------
andrew11
23
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 28th May 2003 02:21 Edited at: 28th May 2003 02:26
You need to find out the command lines passed to the compiler. To do this, you could make a program that reads command lines passed to it (CL$ command) and make DBPro think that it is the compiler, by editing one of those files in the DBPro directory. I think it is located at "C:\Program Files\Dark Basic Software\Dark Basic Professional/launch.cfg".

But first, you need a text editor. I started one in DBPro once, but it really didn't turn out as good as I hoped. It would be easier in another language.

"Food is güd!" -Dean
"All programmers are playwrites and all computers are lousy actors" -Anon
Click Here!!!
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 28th May 2003 02:28
*ignore me* It's want, not wan't. */ignore me*

VB is best for text editor like programs.

--Mouse

Famous Fighting Furball
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 28th May 2003 02:37 Edited at: 28th May 2003 02:37
I messed about with it a little. What you need to do is have your editor create a dbpro file. The dbpro files that the ide makes are well commented so use it as a template.

The ide sticks all the source code files together in the order they are in the dbpro file and saves it to filename in the "final source=" entry in the dbpro file.

Then it runs the compiler with "DBPCompiler.exe *.dbpro"

It was quite a while ago so some of the above may be wrong, I think the compiler does all the error messages as well.
IceBird
23
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Sweden
Posted: 28th May 2003 02:42
I will check these things you people have said.. and now to to next part.. some days of coding

------------------------------------------------
Someone is watching you...... And it isn't ME!
------------------------------------------------

Login to post a reply

Server time is: 2026-07-11 12:39:36
Your offset time is: 2026-07-11 12:39:36