AI-Native Schematic Compiler & Visual Teaching Platform
Go to file
2026-02-16 18:48:51 -05:00
examples Initial Schemeta MVP compiler and API 2026-02-16 18:48:51 -05:00
src Initial Schemeta MVP compiler and API 2026-02-16 18:48:51 -05:00
tests Initial Schemeta MVP compiler and API 2026-02-16 18:48:51 -05:00
package.json Initial Schemeta MVP compiler and API 2026-02-16 18:48:51 -05:00
README.md Initial Schemeta MVP compiler and API 2026-02-16 18:48:51 -05:00

SCHEMETA (MVP)

AI-Native Schematic Compiler & Visual Teaching Platform.

This MVP implements:

  • Schemeta JSON Model validation
  • ERC checks (power/output conflicts, floating pins, ground-net checks)
  • Deterministic component placement + Manhattan routing
  • SVG rendering with interactive data attributes
  • HTTP API: POST /compile, POST /analyze

Run

npm install
npm run dev

Server defaults to http://localhost:8787.

API

POST /analyze

Input: SJM JSON Output: validation/ERC errors + warnings + topology summary

POST /compile

Input: SJM JSON Output: all analyze fields + rendered svg

Example

curl -sS -X POST http://localhost:8787/compile \
  -H 'content-type: application/json' \
  --data-binary @examples/esp32-audio.json

Notes

  • Deterministic rendering is guaranteed by stable sorting (ref, net.name) and fixed layout constants.
  • Wires are derived from net truth; nets remain source-of-truth.
  • Current layout is constraint-aware only at basic group ordering level in this MVP.