AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Integrating Lua into AutoHotkey
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
n-l-i-d
Guest





PostPosted: Mon Jun 09, 2008 10:10 am    Post subject: Reply with quote

Zippo() wrote:
I don't own a cat. I hate them. And personally I think it is insulting that you would suggest that I own one.


Shocked ... but I love cats... (as in liking around, not as in liking for dinner)

Zippo() wrote:
You act like owning a cat has something to do with a persons IQ, that you group me with these people, and that you are somehow better than us because you eat them instead...


Very Happy of course has owning a cat something to do with intelligence, eating them I would consider quite, well, unintelligent however.

Zippo() wrote:
But you could try adding a little more seafood to your diet. I hear it is good at firming up the skin and keeping you looking young.


Isn't that what cats like to eat? Razz

No, just kidding and all. This seems to become an endless discussion, which tends to get a bit nasty at times...

Sure, Lua (and other languages) might have a "better", more strict syntax, and a syntax that is "better" for programming, but this is AutoHotkey. If you don't like the language that much, or feel restricted somehow, I really suggest that those that can program, concentrate on creating an AutoHotkey.dll, like AutoIt3 also has an independent dll version, that can be called/used from any other "language" you prefer.

This way, those that like Lua, could use Lua, those that like, say C# ( Confused ) could use that...
Back to top
Oberon



Joined: 18 Feb 2008
Posts: 458

PostPosted: Mon Jun 09, 2008 10:29 am    Post subject: Reply with quote

I read the last page of this flame, its pretty funny. My uncle has two champion bred Maine Coon kittens - they are the most adorable things.

Anyway my viewpoint on this is, LightTPD rejected Lua because their authors knew they could write a more specific and efficient system themselves. The beauty of open source is people can fork their own versions of software. But until there is sufficient demand for such alternatives, mainstream developers should focus on keeping their code base independent. If it's not broken don't fix it, right?
Back to top
View user's profile Send private message
tank



Joined: 21 Dec 2007
Posts: 679

PostPosted: Mon Jun 09, 2008 12:35 pm    Post subject: Reply with quote

Zippo() wrote:
I don't own a cat. I hate them. And personally I think it is insulting that you would suggest that I own one. You act like owning a cat has something to do with a persons IQ, that you group me with these people, and that you are somehow better than us because you eat them instead...

But you could try adding a little more seafood to your diet. I hear it is good at firming up the skin and keeping you looking young.

one word PROZAC
_________________
Read this
Com
Automate IE7 with Tabs
Back to top
View user's profile Send private message
Zippo()
Guest





PostPosted: Mon Jun 09, 2008 1:12 pm    Post subject: Reply with quote

n-l-i-d wrote:
Shocked ... but I love cats... (as in liking around, not as in liking for dinner)


Bah.
Back to top
Zippo()
Guest





PostPosted: Mon Jun 09, 2008 2:00 pm    Post subject: Reply with quote

n-l-i-d wrote:
...I really suggest that those that can program, concentrate on creating an AutoHotkey.dll, like AutoIt3 also has an independent dll version, that can be called/used from any other "language" you prefer.


After I've thought about this for a while, I'd like to see this happen. But it would be pretty redundant to call an AHK dll when you could just call the OS functions directly on a lot of the commands.

It might help ease some issues with those 10 people that want change for the sake of change though Smile
Back to top
Justin D'nikotime
Guest





PostPosted: Tue Jun 17, 2008 7:26 pm    Post subject: AHK Vs. Lua Reply with quote

Zippo() wrote:
majkinetor wrote:
Perhaps at this point, you would like to inform yourself a bit more about Lua.


If you really want Lua integrated, start a new branch or something with AHK.

Don't try to force that language on those of us who don't want it.


I agree! There is nothing wrong with the idea of keeping these apart. I may use the AHK.DLL if it ever gets created, but until then I'll continue using AHK for small apps as I need them.

If you want a more powerful language, use a different program, and stop begging for a Lua/AHK hybrid... AHK is fine for what it was designed to do.
Back to top
Guest






PostPosted: Thu Jul 03, 2008 5:53 am    Post subject: Reply with quote

I heard that Lua is a specialized language for embedding.
isn't possible to embed Lua into AHK with some Dll calling?
why are you guys want Integrating than embedding?
Back to top
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Fri Jul 04, 2008 10:15 pm    Post subject: Reply with quote

Oberon wrote:
LightTPD rejected Lua because their authors knew they could write a more specific and efficient system themselves.

Excuse me, but it is stupid to compare a compiled, highly optimized language with an interpreted one. Compare Lua to Python, Perl, PHP, JavaScript, not to C/C++...
Beside, I don't see the point in this thread...
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Sat Jul 05, 2008 5:03 am    Post subject: Reply with quote

@ PhiLho

i've noticed that you're pretty elite at Lua, i'm just curious that why you never tried to embed Lua into AHK before? is it impossible or need hard work? i also would like to use Lua in AHK but not in this hybridization way. i'd like to use Lua in the way that how C/C++ embeds Lua.
Back to top
majkinetor



Joined: 24 May 2006
Posts: 3626
Location: Belgrade

PostPosted: Mon Jul 07, 2008 11:02 am    Post subject: Reply with quote

PhiLho wrote:
Excuse me, but it is stupid to compare a compiled, highly optimized language with an interpreted one

I wanted to say that but then I guess i would start the flame... Laughing

Philho wrote:
Beside, I don't see the point in this thread...

Its theoretical thread for me. Some nabs try to defend ahk but they don't see the point: its not about changing AHK but perhaps to motivate some branch or inform users about Lua (I learned Lua because you were mentinioning it a lot). And as you once said, its irational to expect that as Chris got attached to his language.

Guest wrote:
is it impossible or need hard work?

Its basicaly another project. Such project would have to be designed from the start, basicly using appropriate AHK code to implement functionality. So ye, its possible and it needs hard work.
The consequence is that once it is initialisied, such project would need several times less maintance then AHK has today as a) you don't need to develop language but just functionality b) you can extend such project within itself c) you could use any of the already available Lua libraries like wxWidgets or LuaCOM. d) with good design Lua would be just "official" langauge of that project but it could be used in any environment thus you could be able to solve all of the current AHK problems.

So, in other words, it wouldn't be much AHK. It would be another project inspired by it and using some of its well tested code.
_________________
Back to top
View user's profile Send private message MSN Messenger
Guest






PostPosted: Fri Jul 11, 2008 11:47 am    Post subject: Reply with quote

i have not tried it but FYI

Quote:
Girder, the award winning Windows automation utility from Promixis, is the most powerful and feature-rich computer and home automation tool available.

Scripting and Macros

Using Lua (www.lua.org), Girder users can easily create powerful scripts for complex automation tasks.

* Create macros to speed up routine tasks
* Schedule events based on multiple criteria
Back to top
majkinetor



Joined: 24 May 2006
Posts: 3626
Location: Belgrade

PostPosted: Fri Jul 11, 2008 5:16 pm    Post subject: Reply with quote

Seems like 2 much specialised app. Its commercial too, pretty expensive 150$ for home usage. Its also 16MB.

Then it seems that Lua is used to write Girder plugins.

So.... this is not programming language like AHK but app that support Lua plugins.
_________________
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group