Murga-Projects Forums

Full Version: How to advertise?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

asafp Wrote:
Then, I started thinking about some things that would be nice to have. The first thing would be a split function that works like what is available in awk/python/perl. Now, I know it's not too difficult to code such a thing with existing string and loop functions, but think it could be justified to make it a standard part of murgalua.

I think you should take a look at :

http://lua-users.org/wiki/StringLibraryTutorial

and

http://lua-users.org/wiki/StringRecipes

I had no trouble replacing "split" like functionality ... And to make it more efficient I added the "string file" stuff.

If you are still not convinced after looking at the links, and playing around with stuff like gmatch, then suggest the exact syntax you'd like to see.
Bare in mind I reserve judgment ;-)

asafp Wrote:
I don't have a lot of gripes about lua, but one is ~= for not equal. I'm not a big fan of that. It causes me a great deal of consternation when other languages I use on a regular basis use != and <> for not equal. I know it sounds trivial, but little things like that can stop somebody from learning a new language. Could murgalua accept any of the three variations?

I have to totally agree with you on that, and it is my most common error when writing ANY script in lua ... But at the same time I want the core LUA syntax to remain unchanged, as the whole point is that murgaLua is based on STANDARD lua :-)

You do get used to it ... Take it from me :-(

Cheers
JohnM

Pages: 1 2 3
Reference URL's