server program signatures?

Is there an was way to get the signature of server programs other than writing a lexer?

In other words, I want to convert every program from this:
define input parameter zero as decimal.
define input parameter one as dec.
define input parameter two as sting.

to a list:
zero,TYPE.DECIMAL
one,TYPE.DECIMAL
two,TYPE.STRING

Obviously I would want to do temp-tables, handles, etc, as well...

Thanks,
Tom
 
Top