Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-04-2005, 01:26 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Rick
What?
Someone said that most people don't appreciate the values of programming, and the were referring to people making other people write scripts for them. I was simply stating that Scripting is not the same thing as Programming.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #2  
Old 12-04-2005, 05:53 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Codes written in a programming language needs to be compiled before it is run, and once it is compiled, you may run it as many times as you want without compiling it again. However, codes written in a scripting language is interpreted at runtime, and a program is needed to interpret the code everytime it is run.
In the case of C++ and Graal:
C++ codes are compiled before it is run.
GScript codes are interpretted by the Graal Client at runtime.

I suppose that is the difference Okiesmokies is referring to.
__________________
Reply With Quote
  #3  
Old 12-04-2005, 07:03 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by ZeLpH_MyStiK
However, codes written in a scripting language is interpreted at runtime, and a program is needed to interpret the code everytime it is run.
In the case of C++ and Graal:
C++ codes are compiled before it is run.
GScript codes are interpretted by the Graal Client at runtime.

I suppose that is the difference Okiesmokies is referring to.
A lot of scripting languages like Lua compile their code to bytecode before runtime.

Gscript is one of these languages.
__________________
Skyld
Reply With Quote
  #4  
Old 12-05-2005, 02:35 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally Posted by Skyld
A lot of scripting languages like Lua compile their code to bytecode before runtime.

Gscript is one of these languages.
That's what i meant. =p
This is your first post in the thread you made me make Skyld.
__________________
Reply With Quote
  #5  
Old 12-06-2005, 06:03 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Skyld
A lot of scripting languages like Lua compile their code to bytecode before runtime.

Gscript is one of these languages.
http://en.wikipedia.org/wiki/Scripting_language
http://en.wikipedia.org/wiki/Programming_language
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #6  
Old 12-06-2005, 06:10 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by ApothiX
You cannot make standalone programs with GScript, which is why it is scripting, not programming.
I think you misunderstood what I meant.

Gscript is compiled into bytecode, and then parsed. Of course Gscript won't run without a game client or NPC-Server - the bytecode is probably fairly unique to Gscript, and is dependant on the runtime.
__________________
Skyld
Reply With Quote
  #7  
Old 12-06-2005, 06:14 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Skyld
I think you misunderstood what I meant.

Gscript is compiled into bytecode, and then parsed. Of course Gscript won't run without a game client or NPC-Server - the bytecode is probably fairly unique to Gscript, and is dependant on the runtime.
I edited my post because of how vague it was, and I didn't think before I submitted it :P

The wiki describes the differences between a programming language and a scripting language
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #8  
Old 12-06-2005, 06:23 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by ApothiX
I edited my post because of how vague it was, and I didn't think before I submitted it :P

The wiki describes the differences between a programming language and a scripting language
I am not sure how this in any way relates to what I said!
__________________
Skyld
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:31 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.