Here is a simple instancer procedural developed based on code by Gael Honorez.
This should be a good starting point for learning how to write an Arnold procedural since it covers reading user-declared procedural parameters, how to create a new node, set its parameters and setup motion blur matrices.
Example compile commands:
After compiling the above code you will have a new node in arnold called
Here is a simple ass file that uses this new procedural to create new
ginistances of two other nodes in the scene a
box and a