lua-users home
lua-l archive

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


On Sun, Dec 12, 2010 at 12:01, starwing <weasley.wx@gmail.com> wrote:

> 2010/12/12 Alexander Gladysh <agladysh@gmail.com>

>> On Sun, Dec 12, 2010 at 11:57, starwing <weasley.wx@gmail.com> wrote:
>> > 2010/12/12 Alexander Gladysh <agladysh@gmail.com>

>> > can you just dofile() your DSL source/binary file?

>> No, I can't: dofile() doesn't know anything about package.path.

> can you write a single driver.lua file to set package.path and require and
> dofile?

I'm not sure I follow.

I do not need to set package.path — it is already set for me.

Alexander.