lua-users home
lua-l archive

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


hi,
  I am new to lua. I just switched from python to lua since python is too
big to embed into my applications.

  What I am looking for is a way to embed lua into my application(high
level)
  Like in Python, I can call PyRun_SimpleString or PyRun_SimpleFile to
run python script from c. Is there any way in lua that I can use to run
a chunk of lua script in c code?

  Can lua_load do that?

  Thank you very much for any help.

  cheers,
    Jing