Andrew Beckett
Senior Fellow
![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif)
Offline
![](https://designers-guide.org/forum/avatars/elmerfudd.gif)
Life, don't talk to me about Life...
Posts: 1742
Bracknell, UK
|
SPICE was invented in the days of punch cards. So each line was intended to be quite brief, and separate from the other lines. You would have done a minimal amount of commenting (because it wastes cards), and multi-line comments would have been never used.
That said, it could have been adapted for more modern input methods.
However, I can't speak for SPICE - you'd have to ask Berkeley this question!
Still, cpp is pretty universally available, so using it should not really be a penalty. I tended to use cpp for the conditional include capabilities as much as anything - you can then have a single netlist which can be used for multiple things, just by giving different -D options to cpp...
Andrew.
|