Design orthopedic boots
with SoleScript DSL

SoleScript is a domain-specific language for declarative orthopedic footwear design. Define Foot, Observations, Last, Boot, and Export blocks in a structured flow.

Scroll to continue

Live DSL Editor

Edit the SoleScript source on the left. The 2D component patterns on the right update instantly as you change measurements.

program.sole
2D Component Patterns
Zoom
No graph available yet. Fix syntax or semantic issues in the DSL to render the SVG.

Why This DSL?

SoleScript is designed for orthopedic footwear specification, not generic programming. It captures domain intent directly and keeps clinical-to-design communication precise.

Declarative Workflow

SoleScript models the full pipeline: Foot, Observations, Last, Boot, and Export in explicit order.

Semantic Rules SR1-SR9

The analyzer validates references, required parameters, and domain constraints before export.

Formal Grammar

ANTLR grammar and recursive-descent implementation keep syntax predictable and machine-readable.

Python Integration

Use the standalone parser API to parse, inspect AST nodes, and automate validation in tooling.

16

Grammar Rules

9

Semantic Rules

100%

Declarative Syntax