The lua context() command has a string interpretation, e.g.

function moduledata.test( astring)
  local testone = "{Hello}, \"(a)\" [World]!"
  context( "%!tex!", testone)

Two questions:
- Have all the lua commands been documented somewhere e.g. in a reference manual? Especially the basic context() command?
- Is this string+arguments interpreter of context() available separately? I could use this to first let the string interpreter create a TeX-safe string after which I can manipulate the result before offering it to the context() command.