@tscircuit/footprinter 0.0.30 → 0.0.31

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 +9 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,12 +1,20 @@
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
+
5
+ > Footprinter is the DSL that [text-to-footprint](https://github.com/tscircuit/text-to-footprint) uses.
6
+ > If you're unable to generate a particular footprint, try to see if you can produce it in footprinter.
7
+ > If you can't, you'll need to add some kind of representation in the DSL before it can be generated.
4
8
 
5
9
  You can create very custom footprints using the `<footprint>` element, but the
6
10
  compressability is poor. `footprinter` produces very short, low parameter
7
11
  mini-programs for generating footprints, this makes it suitable for standardized
8
12
  footprints.
9
13
 
14
+ > [INFO]
15
+ > Compressability of the DSL is important because it allows an LLM to fit more examples into context,
16
+ > and not waste output tokens on verbose elements
17
+
10
18
  Here are some example programs:
11
19
 
12
20
  ```ts
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.31",
5
5
  "description": "",
6
6
  "main": "dist/index.cjs",
7
7
  "files": [