Mirage Source
Good scripting languages.. - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Good scripting languages.. (/showthread.php?tid=2582)



Good scripting languages.. - Nean - 01-03-2009

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


Re: Good scripting languages.. - Kouga20 - 19-04-2009

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..


Re: Good scripting languages.. - Dragoons Master - 19-04-2009

lua


Re: Good scripting languages.. - Labmonkey - 20-04-2009

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?


Re: Good scripting languages.. - Coke - 21-04-2009

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..


Re: Good scripting languages.. - Nean - 21-04-2009

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.


Re: Good scripting languages.. - Robin - 21-04-2009

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.


Re: Good scripting languages.. - GIAKEN - 21-04-2009

Classes are amazing.


Re: Good scripting languages.. - Robin - 21-04-2009

GIAKEN Wrote:Classes are amazing.

Robin Wrote:Classes are a fucking mess in VB6.



Re: Good scripting languages.. - GIAKEN - 21-04-2009

Robin Wrote:Classes are a fucking mess in VB6.

GIAKEN Wrote:Classes are amazing.



Re: Good scripting languages.. - Nean - 21-04-2009

Someone fucking explain them.


Re: Good scripting languages.. - Dragoons Master - 21-04-2009

Resuming... it's a Type with not only variables inside, but also functions, called methods.
Big Grin


Re: Good scripting languages.. - GIAKEN - 21-04-2009

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"




Re: Good scripting languages.. - Nean - 21-04-2009

Odd.... Thanks for the explanation, I'll have to read up on these.


Re: Good scripting languages.. - GIAKEN - 21-04-2009

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.