A Nyarna module can define parameters. When importing a module with parameters, you must supply arguments for those. When calling a main module that defines parameters, the caller must supply arguments.
Module parameters are typed. By having a main module with parameters, you can use Nyarna as templating engine. Parameters are interpreted as Nyarna source.
Currently, you can only input arguments of predefined, simple types. In the future, parameters should implicitly supply all types of the main module's schema, so that you can input complex structures as arguments.
On the command line, you can call the example code like this:
nyarna input.ny --txt Text --num 42