Crystal Space
Welcome, Guest. Please login or register.
October 24, 2014, 09:53:16 am

Login with username, password and session length
Search:     Advanced search
9011 Posts in 2044 Topics by 8812 Members
Latest Member: Beverlychoi
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Project Development
| |-+  Feature Requests
| | |-+  Lua plugin
« previous next »
Pages: [1] Print
Author Topic: Lua plugin  (Read 10164 times)
Escorter
Jr. Member
**
Posts: 94


View Profile Email
« on: February 21, 2006, 11:50:23 am »

Hi everybody!

Is somebody started to make a Lua script plugin for CS? It would be nice.
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #1 on: February 21, 2006, 12:01:05 pm »

Hi everybody!

Is somebody started to make a Lua script plugin for CS? It would be nice.

We used to have one but had to drop it when luaswig project was stopped.

Greetings,
Logged
Escorter
Jr. Member
**
Posts: 94


View Profile Email
« Reply #2 on: February 21, 2006, 02:52:07 pm »

What the heck is luaswig? And why it needs for CS?
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #3 on: February 21, 2006, 04:04:09 pm »

What the heck is luaswig? And why it needs for CS?

CS depends on SWIG (http://www.swig.org) for integration of scripting languages. That's how Perl, Java, and Python are integrated. Unfortunatelly LUA is not directly supported by SWIG. In the past there was a luaswig project but that was abandonded.

Greetings,
Logged
Escorter
Jr. Member
**
Posts: 94


View Profile Email
« Reply #4 on: February 21, 2006, 04:16:52 pm »

And what about the Squirrel scripting language (http://www.squirrel-lang.org/)?
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #5 on: February 21, 2006, 04:32:12 pm »

And what about the Squirrel scripting language (http://www.squirrel-lang.org/)?

Check the swig page. If swig supports Squirrel it is relatively easy. If swig doesn't support it it is a bit harder.

Greetings,
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #6 on: February 21, 2006, 04:37:55 pm »

Of course, it doesn't support Squirrel. But I don't want to use Python. GOD I HATE PYTHON!!!!

Try Java or Perl. Or if you use CEL you might want the XML scripting language. It is getting rather popular now.

Greetings,
Logged
mildred
Newbie
*
Posts: 14


View Profile Email
« Reply #7 on: September 11, 2006, 10:45:53 pm »

Hi,

First, swig does support Lua ! (Swig and Lua)

Since I really want the lua language to be supported by either Crystal Space and CEL, I think I can do it or at least, help doing it but because I know very few about Crystal Space and Jam(files) which are used to compile at least CEL, I think I would need some help.

I have nothing against Python which is a great language but there is no way to have restricted environments to execute untrusted code. Maybe it is possible with PyPy but ... I prefer a lightweight language like lua anyways.

So if someone could help me to start ... I tried directly with CEL but I think I will need to create bindings for CS first which is from my point of view far more complicated.

Mildred
Logged
Fossi
Newbie
*
Posts: 2


View Profile
« Reply #8 on: September 18, 2006, 10:52:55 am »

i'm all for lua, so if you actually start this, drop in at the IRC channel and i'm more than willing to help out.
just can't do it myself atm, no time, no time... Wink
Logged
mildred
Newbie
*
Posts: 14


View Profile Email
« Reply #9 on: October 07, 2006, 11:57:21 am »

Thanks for that, Until few days ago, I didn't found time to ask you that (partly because my g++ wre broken) ... and now, we started with paganwarrior a plugin. I don't think I'll need to take your time after all. But if you are interrested in the devloppment you can join.

This post is also to say that there is another topic for the lua plugin in the main forum (maybe not the best forum to open it) : http://community.crystalspace3d.org/forum/index.php?topic=1283
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 5.18 seconds with 17 queries.