@tscircuit/footprinter 0.0.30 → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @tscircuit/footprinter
2
2
 
3
- Footprinter is tscircuit's DSL and micro-builder for creating footprints
3
+ Footprinter is tscircuit's DSL and micro-builder for creating footprints.
4
4
 
5
5
  You can create very custom footprints using the `<footprint>` element, but the
6
6
  compressability is poor. `footprinter` produces very short, low parameter
@@ -20,6 +20,15 @@ fp.dip(4).w(7.62)
20
20
  fp.dip(4).w(7.62).socket()
21
21
  ```
22
22
 
23
+ > [!NOTE]
24
+ > Footprinter is the DSL that [text-to-footprint](https://github.com/tscircuit/text-to-footprint) uses.
25
+ > If you're unable to generate a particular footprint, try to see if you can produce it in footprinter.
26
+ > If you can't, you'll need to add some kind of representation in the DSL before it can be generated.
27
+
28
+ > [!NOTE]
29
+ > Compressability of the DSL is important because it allows an LLM to fit more examples into context,
30
+ > and not waste output tokens on verbose elements
31
+
23
32
  ## Footprinter Strings
24
33
 
25
34
  A footprinter string is a string that maps to a set of builder calls.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/footprinter",
3
3
  "type": "module",
4
- "version": "0.0.30",
4
+ "version": "0.0.32",
5
5
  "description": "",
6
6
  "main": "dist/index.cjs",
7
7
  "files": [