SpiceSharp / SpiceSharpParser

SPICE netlists parser for .NET
MIT License
25 stars 6 forks source link

Valid Component Names #140

Closed ToddThomson closed 4 years ago

ToddThomson commented 4 years ago

The Netlist lexer properly allows for components to have single letter word names. Is this OK from a grammar point of view?

R 1 2 2K ; No resister identifier
marcin-golebiowski commented 4 years ago

@ToddThomson Let me think about it. What is your opinion about it?

ToddThomson commented 4 years ago

@marcin-golebiowski Spice Netlist grammar is not standardized. My initial thought was that a component should have an identifier. I'll do a bit of research on it...

ToddThomson commented 4 years ago

@marcin-golebiowski Component instance names can be single letter.

ToddThomson commented 4 years ago

No changes necessary as single letter component identifiers are grammatically correct.