ng_spice messages
I have and idea for the simulator's messages. Because spice3 have been coded
by a few programmers with different coding styles, we have redundant codes,
differents ways to handle the simulator's messages. I know that my idea will
be a time consumming task if it was applied on ng_spice(!?!). I am trying to
aplly it on my gspice3 and i think it could be done on tne new simulator.
The idea is to handle all the messages (errors, warnings, etc...) in a
similar way.
By
1. Writting a single error displaying routine for the entire simulator
2. Writting a single file where the strings array will be put.
3. Carefully identifing and numbering all the simulator's messages in
relation with the string table
The first advantage of this is that the translation in other langagues (i.e
french,spanish...) will be easy.
What do you think about this ?
Paolo, I have fixed some bugs in ng_spice on the way arbitraly nonlinear
sources are handled. Some of the functions are coded strangely. For exemple a
zero value for the log function is not correctly handled and make the
simulator to crash. (IFeval.c and ptfuncs.c). Do you need the patch?
Dezai
HotBot - Search smarter.
http://www.hotbot.com
Partial thread listing: