Lua Extensible Scripting Language
A wonderful scripting language from Brasil :D
A couple of years ago, I wrote an E-Mail parser to SMS (Short Message Cellular Systems) program with this scripting language. It's probably one of the fastest interpreters around. It blows away Perl, Python, Rebol, etc. So anyone interested in scripting, even embedding in Apache web servers as I believe there is now a MOD_LUA available, take a look here: www.lua.org There are also GTK bindings and even some commercial games have been written with this. It runs on just about every platform :wink: Here's some of the stuff available: http://lua-users.org/wiki/LuaAddons -kwag |
You'll have to rip perl out of my cold, dead fingers :P :mrgreen:.
|
Perl 8O "The language that includes the kitchen sink" :mrgreen:
I never did get in too deep into Perl. It seems like the syntax is so terse, that if I came back to some of my own code a month later, I would probably need to decipher it :lol: It's weird, because C is just as bad, but I guess it just rubbs in after using it for a long time. I must be brain damaged now, because I see some simpler languages around, and I can't seem to grasp some of the rules 8O. So I guess I'll stick to C ( when necessary ) and Python for everything else 8) -kwag |
Quote:
Code:
print "'" . $_ . "' is a low-fat sausage.\n" foreach sort grep { /(lite|light)/ } @all_sausages; |
Quote:
|
:mrgreen:
|
Quote:
Code:
sausages=["lite", "light"]; sausages.sort() -kwag |
[quote="kwag"]
Code:
sausages=["lite", "light"]; sausages.sort() my @all_sausages = ( "Bob's High-Fat Meat Tubes", "Sausage-tastic", "Sausage-tastic Lite", "Cholesterol Delights" ); that Perl code will first search the list for all entries matching the regular expression /(lite|light)/ and produce the following temporary list: ("Sausage-tastic Lite", "Cholesterol Delights") It'll then sort the list and print the message for each entry in that new list. Try that in one line with Python ;). As for any speed difference, I've not seen any benchmarks of Perl vs. Python. The latter is a nice language (e.g. object-oriented by design) but I'd miss Perl's seamless handling of regexes if I were forced to swap :). |
Now you see, I got hungry and had to go get something to eat :mrgreen:
Ok, I didn't pay attencion to the RegEx matching part /(lite|light)/. It's very similar in python, but a little more readable in Python. I guess RegEx is not too readable, no matter what language it's used on :lol: Anyway, here's a one liner, which is not mine. I got it off Python's site, related to what can actually be accomplished in one line. Copy and paste to a file, run it on a U*ix console and look at the output :wink: Code:
# Mandelbrot set If you really love Perl, then I think you'll fall in love with Ruby :wink: http://www.ruby-lang.org/en/ I've been reading about it lately. -kwag |
Quote:
Quote:
|
Have you ever seen the "most obfuscated C code contest" page ?
:) |
Quote:
But if you want to see the most pathetic one in the world, you have to see this: Code:
022p25*":ereh drow ruoy retnE">,# :# _>~:25*-#v_v>22g1+:98+-#v_v Page here: http://www.catseye.mb.ca/esoteric/befunge/ The designer of this "thing" must have been smoking weed ( one in each nostril ), and an opium pipe up his :!: Hey SansGrip, how about a new pixel anti "moire" pattern filter with this. :mrgreen: -kwag |
Oh man... I just can't believe it!
No way it's a programming language. 8O Please, tell me that's just a bunch of garbage/noise!! I have to look that link... But I think I'll not be convinced anyway :mrgreen: |
look at this program :lol:
Code:
92+9* :. v < "Maybe the language isn't that useful, but it's nifty and fun." -- Matthew Moss |
Quote:
I might as well use an abacus :lol: -kwag |
LMAOROTF :mrgreen:
Some people are sick :mrgreen: look at this one: http://www.winterbergs.de/software/zte.htm And with a quote like this: "The ZT programming language is quite romantic" HAHAHA -kwag |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.