Hi,
Congratulations on your work, you are greate.
I just read an article about macros and forms, from* Creating
interactive forms with OOo Writer, *Tuesday August 02, 2005 (07:00 PM
GMT) By: Dmitri Popov. <http://www.nothickmanuals.info>
It is interesting how basic remains in use.
I sugest you a visit to http://www.ruby-lang.org/ and
http://www.ruby-doc.org/.
I think Ruby might be a better choice to macro language, since Ruby is a
script language, completely object oriented and has FreeRIDE as IDE,
among others.
I hope I helped.
Best regards.