Development
: K-Meleon Forum
K-Meleon development related discussions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=307] @Brian Sorry, I cannot get you mean. Which do you mean to extend "luamacros(...)" syntax for "require" less, or to create namespace by file as python does? If you mean the latter, Lua has done it. Lua loads file as block, so variables declared as "local" in module isn't visible from other modules. Lua: technical note 7 Modules & Packages [url=http://www.lua.org/notes/ltn007.html]http://www.lua.org/notes/ltn007.html[/url] In the fact, I didn't know it. I thought we need to classify public or private functions by name. But I get it is needless. Thank you for your question. However I think that we must have a consensus about a foundation structure such as hook mechanism or filesystem structure. If you mean the former, I will think to do. But it is probably difficult, because to do needs to solve dependency of modules. The limitation of filename extension comes from require Lua function, and it can omit by changing LUA_PATH gloval variable. But if this plugin can load all files, this would load non-lua files. Thanks for reading.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development