lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Kevin Martin,

It is hard to give you code, without knowing exactly what you want to do in your configuration file.

I think the one in the rockspec would be enough for me.
In this thought I considered luarocks but it is pure lua program not related with C.


However, this is a little application I'm in the process of developing to track if there are any commits in a mirrored git repository that I haven't merged into an associated fossil repository. Maybe it'll be useful as an example:
http://codepad.org/25bIgXNH

Thank you for showing your work, I will look at this also.

I would be a little cautious, purely because the library will let you achieve a lot, possibly without having to learn the underlying concepts. You may suddenly find yourself massively out of your depth if something gees wrong, or doesn't work how you expect.

I agree with you. I also tried to find good library here but finally I chose to implement myself before. It was OO library. But asking questions and receiving answers here helped me a lot at that time.
Maybe I could do the same thing again.

But all these activities worth doing for me and wish for others too.

Thank you very much!

Sincerely
Journeyer



----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l  d o t  c o m
----------------------------------------


2014-03-26 19:35 GMT+09:00 Kevin Martin <kev82@khn.org.uk>:

On 26 Mar 2014, at 08:57, Journeyer J. Joh <oosaprogrammer@gmail.com> wrote:

> Implementing this using of lua to C or C to lua stack APIs were very much complicated to me.
>
> I tried before but only able to implement very limited functions was possible for me.

It depends what you're trying to do in your configuration file. As Luiz said, If you just want to get some text strings from the global table, it is pretty simple, but this is quite limited as you say.

> I now want some ready-made library or some ready-appliable example code.

It is hard to give you code, without knowing exactly what you want to do in your configuration file.

However, this is a little application I'm in the process of developing to track if there are any commits in a mirrored git repository that I haven't merged into an associated fossil repository. Maybe it'll be useful as an example:

http://codepad.org/25bIgXNH

> Now is the time I can look at llua.
>
> I will try to use it.

I would be a little cautious, purely because the library will let you achieve a lot, possibly without having to learn the underlying concepts. You may suddenly find yourself massively out of your depth if something gees wrong, or doesn't work how you expect.

Thanks,
Kevin