@dvc94ch I noticed that you are adding MPNs for semi-conductors into the grammar itself. I am wondering: is this the best place for them?
It might work well for really common parts but ultimately it embeds preferences into the grammar that we might not want to embed there. People's preferences vary and new parts are introduced all the time.
My approach for exact MPNs was going to be to use the ignored output of the lax parser to query a parts database. Maybe we should restrict electro grammar to parse specs but ignore MPNs? What are your thoughts on this?
@dvc94ch I noticed that you are adding MPNs for semi-conductors into the grammar itself. I am wondering: is this the best place for them?
It might work well for really common parts but ultimately it embeds preferences into the grammar that we might not want to embed there. People's preferences vary and new parts are introduced all the time.
My approach for exact MPNs was going to be to use the ignored output of the lax parser to query a parts database. Maybe we should restrict electro grammar to parse specs but ignore MPNs? What are your thoughts on this?