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 Discussion / Mods , please help , Is shark basic unlegall ?

Author
Message
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 5th Jan 2006 17:13
Mods , i got some messages on my thread saying that Shark Basic is unlegall to be made , first i thouth he thouth i used db`s source code to make my basic , then he toled me that it`s totaly unlegal to make Scripting or ider Language in db , i drawed sharky becouse i don`t want to get in troubles over a "such great" , "most famous $1000 vorth" project , so ,

No more shark basic ? (please help me i`m stuck here..)


Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 5th Jan 2006 17:28 Edited at: 5th Jan 2006 17:32
If it's like a script file that is included with the executable, then you should be fine - I imagine that it's not compiling the program into machine code, rather making an .exe with all the necessary scripts included. If this is the case then that should be fine.

I'm not sure what the exact legalities are, but lots of people use scripting, as long as your not distributing the actual DB compiler, or hijacking the DBPro .DLL's I'm not sure what the problem is.

I mean, most of the code for my modelling package will be script based, like a mini language really which could be used to make games - I'd be very surprised if TGC got the hump because of that.

I believe that there are some legalities regarding DarkSDK - because that's really a library, so if you used DSDK to make a language you'd be in trouble, because really it would simply be a wrapper for DSDK.


Van-B

Put away, those fiery biscuits!
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 5th Jan 2006 17:59
No , i just used an .exe hwo reads a script file and that`s how it`s running , i made it in db classic , so i should have no troubles ?


The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 5th Jan 2006 17:59 Edited at: 5th Jan 2006 18:02
I've actually never thought about this....

Lets say you make a "programming language" using the commands from db, just renamed... Like you make an IDE for it, with an edit box. In this box you could write commands. Then when you run it, it saves what you've wrote in the edit box, then execute a pre-compiled exe from darkbasic. Now it open this file and reads what you've wrote in it, and then "translate" the commands from the edit box to darkbasic code. Like:

if command$ = "print"
print something you wrote in your IDE$
endif

I mean, wouldn't this be taken as a wrapper? You would actually be able to make a programming language over dbpro, and release it for free.

Free Particle Engine for DarkBasic Pro:
http://forum.thegamecreators.com/?m=forum_view&t=60141&b=5
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 5th Jan 2006 18:14 Edited at: 5th Jan 2006 19:56
This compiler works like this :

Firstly you have an ide , you write your "language" in it , then it saves what you wrote in a file , when you click "run" , a precompiled .exe runs and read that file and search all the lines for commands , when a command has been found it executes what is set to do . Well it`s not good for writing a language becouse it cannot use numbers as well as do and loops while and endwhile commands , so you CANNOT realy rervrite db or so....


Cammon people , many many programs in db use Scripting for some scripts in it , i mean (example , not db) Operation flashpoint goty reads a whole loooot of scripts (about 1000mb`s of them) and it finds commands and executes them , so if you want to make a real something you NEED to have scripts , and if that`s forbidden to make in db , then..




well what i thought sofar and what i think now , is that it IS legall becouse it doesn`t write machine code or anything it just is an exe reading from a simple script file , and don`t worry everyone , it`s NOT possible to make whole db in that...

P.S. But it IS probably possible to make a c++ in c++ ("probably"-almost certanly..) .


Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 5th Jan 2006 20:27
Yeah, there's nothing illegal about what your doing. At the end of the day if you did replicate every command, it would still run much slower than DB and you'd still have a massive variable and array handling headache on your hands - script languages are much more doable.


Van-B

Put away, those fiery biscuits!
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 5th Jan 2006 20:40
Yes it`s too difficult , when i start making something like db (if only) i would write the whole engine myselve it`s not easyer - maby , but it sure is much liter to carry (no thinking about legall troubles..)


Login to post a reply

Server time is: 2025-05-23 00:29:59
Your offset time is: 2025-05-23 00:29:59