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 was DB & DBP programmed in ?

Author
Message
simonuk74
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location:
Posted: 23rd Mar 2003 02:20
just a curious question..

what was dark basic classic / pro created in?
GuySavoie
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 23rd Mar 2003 02:23
StarLOGO.

QuothTheRaven
23
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 23rd Mar 2003 02:29
it wasnt c++??

Darken the skies, we are god
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 23rd Mar 2003 02:33
Visual C/C++ (probably more of the C part...)

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
simonuk74
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location:
Posted: 23rd Mar 2003 02:34
whats starlogo ?

not that I dont like DB, cos I do!, but is starlogo any good, for the average user ?, if its available ?

as for c++, theres so much of `DB is better than C++`, that for that reason I didnt think it would be, but what do I know ?

ok, to confuse things a little...



what was starlogo written in ?????

Matto
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location:
Posted: 23rd Mar 2003 02:39
I could have sworn it was created using sweat and blood

1ghz Cel,512 sdram 133,Gf2 MX 400 64,SBL 5.1,Win98
Best Upcoming MMOG - http://WWW.Atriarch.com
Project: Card Game with No Name
Xoid
23
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 23rd Mar 2003 02:44
LOL, Guy is just having a laugh, don't take it so seriously

basically StarLOGO is used to control "turtles" around the screen
Xoid
23
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 23rd Mar 2003 02:45
DBS use the Visual C++ compiler
simonuk74
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location:
Posted: 23rd Mar 2003 02:47
lol

just I`ve never heard of it!

QuothTheRaven
23
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 23rd Mar 2003 07:08
that was admin abuse if i've ever seen it

Darken the skies, we are god
Kanzure
23
Years of Service
User Offline
Joined: 19th Feb 2003
Location:
Posted: 23rd Mar 2003 07:12
I would hope its made out of C/C++..Otherwise, damnit, thats scarry..

*expects to hear somebody ask if its made out of QBASIC or ASM*

~Morph
Owner of MultiCode.NET and Multi2k.NET.
Nothing is something, and something is then nothing. Life is an illusion.
Eponick
23
Years of Service
User Offline
Joined: 18th Mar 2003
Location:
Posted: 23rd Mar 2003 07:16
Heh, ive always wanted to make a programming language.

Ive made a basic OS before ^_^

But making a programing language is harder because..well.. There arnt exactly alot of tutorials out there for it

Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 23rd Mar 2003 11:48
It is made out of ASM though!

Even DBPro exes are made of Assembler

Current Project: Retro Compo. Entry.
Hamish McHaggis
23
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 23rd Mar 2003 12:46
Heres my programming language which I whipped together in 15 mins. It has 1 command . Type 'display "string"' and then everything inside the quotes will be printed on the screen when you press return. Its not very fine tuned and has errors.



Why the hell'd you ask me for crying out loud!?!
Dave J
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 23rd Mar 2003 13:40
I'd classify that more as a 'scripting language' rather then a programming language. heh.

"Computers are useless they can only give you answers."
Xoid
23
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 23rd Mar 2003 13:46
it shouldn't be too difficult to create your own editor and replace the DB code for YOUR code, although it will be based on DarkBASIC and DarkBASIC will be doing all the work, start off that way, your first step to coding your own language ;o)

e.g.

DarkBASIC code:

cls
print "Hello"
suspend for key

YOUR code - obviously your code will be different:

CS
P "hello"
wait for keypress

just an example.
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 23rd Mar 2003 15:40
Technically you COULD write a compiler in DarkBASIC Pro - after all it has all the necessary abilities - Writing Bytes to a File and Parsing Text.

Current Project: Retro Compo. Entry.
Xoid
23
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 23rd Mar 2003 16:12 Edited at: 23rd Mar 2003 16:14
well... possibly RobK, but you would need to use Assembly, so if DB Pro in the future allows for ASM coding, then quite possibly yes.

building compilers require knowledge of topics such as,

computer architecture (ASM programming)
programming languages(parameter passing, variable scoping, memory allocation, etc)
algorithms and data structures (hash tables, graph algorithms, dynamic programming, Binary Trees etc)
theory (automata, context-free languages, etc)

IF and WHEN DB Pro gets to that stage then they will be the LEADERS within this market ;o) *fingers crossed*
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 23rd Mar 2003 16:52
"but you would need to use Assembly, so if DB Pro in the future allows for ASM coding, then quite possibly yes."

Yes... but ultimately executables just consist of bytes, and assembly is just a notation which is easier to interpret than pure hex codes. DBPro would not need to support assembly coding in order for a compiler to be written. Hell, even Visual Basic could be used to write a compiler in, a compiler with more features than VB itself. The only technical requirements would be the ability of the language to write bytes to a file

Current Project: Retro Compo. Entry.
Xoid
23
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 23rd Mar 2003 19:13 Edited at: 23rd Mar 2003 19:24
Xoid
23
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 23rd Mar 2003 19:40 Edited at: 23rd Mar 2003 19:41
I don't disagree with you RobK, it is technically possibly to write a compiler. but I would prefer to use Assembly when writing a compiler as it would save writing in PURE binary LOL
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 23rd Mar 2003 19:56
... but that would be missing half the fun of it

Still, you can't tell a programming language to write the binary equivilent of given assembler code can you?

Current Project: Retro Compo. Entry.
Kanzure
23
Years of Service
User Offline
Joined: 19th Feb 2003
Location:
Posted: 23rd Mar 2003 20:36
I've made a basic OS before . Fun. Too bad I coudln't do images in ASM O_O... Making a programming language is NOT as hard. Just go to http://www.programmersheaven.com and you can find the source code =).


I once was with this guy trying to make a programming language out of QBasic ^_^!! That was fun, except he did all the work, kept all the code, and then lost all of it .

~Morph
Owner of MultiCode.NET and Multi2k.NET.
Nothing is something, and something is then nothing. Life is an illusion.

Login to post a reply

Server time is: 2026-07-10 20:56:58
Your offset time is: 2026-07-10 20:56:58