ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Table "modules"
@ 2018-10-28 16:06 Joseph Wright
  2018-10-28 18:05 ` Hans Hagen
  2018-10-29 15:05 ` Joseph Wright
  0 siblings, 2 replies; 4+ messages in thread
From: Joseph Wright @ 2018-10-28 16:06 UTC (permalink / raw)
  To: ntg-context

Hello all,

Looking at management of global Lua tables (for the obvious cases ...), 
I notice that all of the core Mk IV files use the construct

     if not modules then modules = { } end
     modules["<file-name"] = { -- meta-data here

 From a ConTeXt point-of-view, is it acceptable for third-parties to use 
this construct, or is it 'ConTeXt maintainers only'? I'm wondering for 
code used generically: it would be good to use the same approach, but I 
don't want to tread on any reserved namespaces.

Joseph
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-30  2:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-28 16:06 Table "modules" Joseph Wright
2018-10-28 18:05 ` Hans Hagen
2018-10-29 15:05 ` Joseph Wright
2018-10-30  2:17   ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).