aboutsummaryrefslogtreecommitdiff
path: root/src/ee/souffle/kicad.dl
Commit message (Collapse)AuthorAgeFilesLines
* kicad.dl: Always add fact-type/value for all components. Still addingTrygve Laugstøl2019-08-151-0/+5
| | | | | | the more specific values for known part types. bom: Use the correct URI for finding the value. Don't die if a part has both value and mpn, and they reference the same part.
* kicad.dl: Adding rules for LEDs.Trygve Laugstøl2019-08-121-0/+22
|
* kicad.dl: Better organization of rules for classifying resistors,Trygve Laugstøl2019-06-121-35/+112
| | | | | | | | capacitors, inductors, net ties, test points and mounting holes. This new (and consistent) style provides extension points for projects to use for their own rules. build.ninja.j2: Adding --no-warn to souffle rule, souffle complains when the relations are empty.
* souffle: Using the same relation for inputs and outputs was not a goodTrygve Laugstøl2019-06-121-6/+7
| | | | | idea, change to use fact() for inputs and add_fact() for outputs. Leaves room for implementing remove_fact() later too.
* digikey.dl/kicad.dl: more rules.Trygve Laugstøl2019-05-301-0/+3
|
* kicad.dl: Classifying net-ties and test points as such.Trygve Laugstøl2019-05-291-0/+24
| | | | | pn-part-search-list: Better value-based searches. Better filtering of irrelevant parts.
* souffle:Trygve Laugstøl2019-05-271-0/+1
| | | | | | | | o Allowing to set MPNs when importing facts. o ninja: Allowing the user to have its own datalog files under ee/custom/kicad-souffle.dl and ee/custom/$supplier-souffle.dl. make_bom: Generate per-field URIs for custom URIs. Better than making values that contain custom field name + value.
* Adding Soufflé based reasoning on parts. Replacing default configurationTrygve Laugstøl2019-05-271-0/+43
with applying python function with this new reasoner.