| Mirage Source http://miragesource.net/forums/ |
|
| Good scripting languages.. http://miragesource.net/forums/viewtopic.php?f=201&t=5139 |
Page 1 of 2 |
| Author: | Nean [ Sun Mar 01, 2009 1:29 am ] |
| Post subject: | Good scripting languages.. |
Anyone know of any? I'm not talking about Sadscript, something a bit faster. Hell, if someone can tell me how to make one myself, that'd be great. xD |
|
| Author: | Kouga20 [ Sun Apr 19, 2009 9:12 pm ] |
| Post subject: | Re: Good scripting languages.. |
Why do you want a scripting language other than sadscript oO? There's c++ but I doubt you can add this to a vb-project.. |
|
| Author: | Dragoons Master [ Sun Apr 19, 2009 10:37 pm ] |
| Post subject: | Re: Good scripting languages.. |
lua |
|
| Author: | Labmonkey [ Mon Apr 20, 2009 10:21 pm ] |
| Post subject: | Re: Good scripting languages.. |
Kouga20 wrote: Why do you want a scripting language other than sadscript oO? There's c++ but I doubt you can add this to a vb-project.. C++ is not a scripting languege. Nean, when you say sadscript I assume you mean the skin on ms scripting control that elysium ripped out of an example from pscode. Ms script control is scripting for vb. I don't know of any others easily accessible. It is really not that slow for scripting. What are you planning to do with it? |
|
| Author: | Coke [ Tue Apr 21, 2009 12:43 am ] |
| Post subject: | Re: Good scripting languages.. |
lua is awesome. Look heavily into beanshell if you are thinking Java, its the nicest 'scripting' language I've seen bolted directly into Java. Import beanshell.* and BAM a highly flexible scripting language at your fingertips. Of course, XML is rapidly becoming (if not already) the external file standard to follow and lua is basically a different implementation of that (or so I understand). To be honest, I've always seen visual basic as a heavyweight adaptation of a scripting language, all the principles are there o.0... have you considered using classes? That might be more what you want.. |
|
| Author: | Nean [ Tue Apr 21, 2009 2:02 am ] |
| Post subject: | Re: Good scripting languages.. |
Fox wrote: lua is awesome. Look heavily into beanshell if you are thinking Java, its the nicest 'scripting' language I've seen bolted directly into Java. Import beanshell.* and BAM a highly flexible scripting language at your fingertips. Of course, XML is rapidly becoming (if not already) the external file standard to follow and lua is basically a different implementation of that (or so I understand). To be honest, I've always seen visual basic as a heavyweight adaptation of a scripting language, all the principles are there o.0... have you considered using classes? That might be more what you want.. Classes? Could you elaborate... This is new to me, so I have no idea where to start. |
|
| Author: | Robin [ Tue Apr 21, 2009 2:12 am ] |
| Post subject: | Re: Good scripting languages.. |
Nean wrote: Fox wrote: lua is awesome. Look heavily into beanshell if you are thinking Java, its the nicest 'scripting' language I've seen bolted directly into Java. Import beanshell.* and BAM a highly flexible scripting language at your fingertips. Of course, XML is rapidly becoming (if not already) the external file standard to follow and lua is basically a different implementation of that (or so I understand). To be honest, I've always seen visual basic as a heavyweight adaptation of a scripting language, all the principles are there o.0... have you considered using classes? That might be more what you want.. Classes? Could you elaborate... This is new to me, so I have no idea where to start. Classes are a fucking mess in VB6. |
|
| Author: | GIAKEN [ Tue Apr 21, 2009 2:14 am ] |
| Post subject: | Re: Good scripting languages.. |
Classes are amazing. |
|
| Author: | Robin [ Tue Apr 21, 2009 2:20 am ] |
| Post subject: | Re: Good scripting languages.. |
GIAKEN wrote: Classes are amazing. Robin wrote: Classes are a fucking mess in VB6.
|
|
| Author: | GIAKEN [ Tue Apr 21, 2009 2:21 am ] |
| Post subject: | Re: Good scripting languages.. |
Robin wrote: Classes are a fucking mess in VB6. GIAKEN wrote: Classes are amazing.
|
|
| Author: | Nean [ Tue Apr 21, 2009 2:25 am ] |
| Post subject: | Re: Good scripting languages.. |
Someone fucking explain them. |
|
| Author: | Dragoons Master [ Tue Apr 21, 2009 2:42 am ] |
| Post subject: | Re: Good scripting languages.. |
Resuming... it's a Type with not only variables inside, but also functions, called methods. |
|
| Author: | GIAKEN [ Tue Apr 21, 2009 2:51 am ] |
| Post subject: | Re: Good scripting languages.. |
Yeah...they're fun. Example: > clsPlayer: Code: Private Player As PlayerRec Type PlayerRec Name As String End type Private Property Let Name(ByVal SetValue As String) Player.Name = Trim$(SetValue) End Sub < Then to use that just do this: > Wherever: Code: Public CPlayer As clsPlayer CPlayer.Name = "Hey" < |
|
| Author: | Nean [ Tue Apr 21, 2009 2:59 am ] |
| Post subject: | Re: Good scripting languages.. |
Odd.... Thanks for the explanation, I'll have to read up on these. |
|
| Author: | GIAKEN [ Tue Apr 21, 2009 3:05 am ] |
| Post subject: | Re: Good scripting languages.. |
You can even write your own DirectX 7 class and instead of having all of those public declarations for surfaces and shit you can do it all through the class or even a Winsock class and so on. It's very useful. I haven't tested it speed-wise, but it's probably going to be faster. |
|
| Page 1 of 2 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|