DS WorkbenchDYNAMIC SYNTAX LABORATORY
Connecting to engine

FROM WORDS TO STRUCTURE

Syntax as the growth of transparent semantic representations

One word at a time. Explore how a sentence
builds a tree—and a meaning.

Enter to build · Shift+Enter for a new line
AI assistance

Let the analysis LLM propose new DS lexical action programs after a failure. Rules are shown and tried for this sentence only. Results use unreviewed, model-proposed grammar.

Optional · connect to enable
What the models do

DS always builds and checks the derivation. Enabling a model allows requests when needed.

Parse options & coverage
English fragment: names, determiners, verbs, adjectives and VP modifiers.
Explore alternative trees and meanings using the grammar.
Saved rules run without AI.
Try an example
01

Derivation

Ready to explore
The tree starts with a requirement.
Initial tree
About this playback

Follow lexical and computational rules as the tree grows.

?Ty(Prop)

A sentence begins with an open possibility.

Build a derivation to follow its growth.
PointerChanged nodeUnfixed edge
0 / 0
02

Meaning at this step

Σ / Π
The formula will develop alongside the tree.
INCREMENTAL INTERPRETATION

Move through the derivation to see how each word contributes.

Inspect this step · nodes & rules
Evidence & lexical analyses
Jev in action · compare word meanings

Watch Jev choose between dictionary senses as words arrive. Compare two actual DS runs with identical lexical candidates: normal order, then Jev preferences. DS checks both derivations.

Connect OpenRouter to run Jev. These examples use native English Classical or Constructive DS.

A different sense is not automatically a better interpretation. Ambiguous context, unchanged results and unavailable model answers remain visible. Model calls use your OpenRouter account; the selected vocabulary model does not replace the pinned Jev model.

Models & vocabulary

Models, vocabulary & advanced settings Bundled vocabulary
Advanced · vocabulary strategy & search order

The checkboxes above set these options for you. Changing a strategy here also updates the checkboxes.

Jev uses the observed prefix, lexical candidates and tree through the configured provider. Alternatives remain available for backtracking.

Open text mode can propose vocabulary and finite-clause constructions. The model selects a declared relation—cause, time, condition, concession or contrast—and DS instantiates the corresponding grammar template. Ambiguous connectives such as “since” and “ενώ” retain alternatives; new connective hypotheses must fit the same templates. DS builds the tree and checks its requirements. A model’s interpretation can still be wrong. These clause relations preserve meaning distinctions but do not supply full temporal or causal reasoning. Your input goes to your selected provider. Classical and Constructive compile separately; TTR assistance is not available.

A QUICK GUIDE

How this workbench works.

Words trigger grammar actions that grow a tree and compose its meaning. The DS engine checks those actions and their requirements in the semantic system you select.

Without an LLM

The engine uses the grammar’s lexicon and, when enabled, bundled entries plus English WordNet or the Standard Greek corpus lexicon. It tries licensed analyses and backtracks when one fails. No model key or model billing is needed.

Experimental grammar proposals

This separate checkbox allows the selected LLM to write new word-triggered DS action programs after a failure, beyond ordinary vocabulary templates. The app compiles the proposed programs, tries them in a fresh DS parser and reports up to two attempts. Inspect the rules, semantic declarations and explanations in the result panel. Complete under experimental grammar means DS satisfied its requirements assuming those unreviewed rules; their linguistic analysis can still be wrong. The rules last for this request and are included in Export JSON. This mode supports English and Standard Greek sentences in Classical or Constructive DS, and can run with Jev sense preferences. It does not support TTR, paragraphs or dialogue.

Your selected LLM

In Open text mode, the model can propose vocabulary and finite-clause constructions. For example, it can recognize an unfamiliar conditional connective or prefer causal rather than temporal “since.” It selects typed templates; DS builds the actual tree and composes the meaning. Expand How the clauses were connected to see its proposal and the relation DS used. A single missing-word request can return both vocabulary and construction hypotheses. New structural primitives still require grammar implementation.

For Standard Greek, you can enable Svarna + Triantafyllidis evidence during parsing. Before a needed lexical proposal, the app retrieves a few corpus examples and dictionary excerpts. Expand Why this analysis? to compare observations with the model’s inferred frame and citations. Sources supply lexical evidence; DS supplies the derivation. A citation does not prove that the model chose the right sense.

Jev preferences

Jev is a separate, pinned model. In its vocabulary mode it ranks candidate senses and can reconsider an earlier choice as words arrive; the analysis LLM can help with missing vocabulary only when its checkbox is also on. Open See Jev in action and try John lends a book to Mary. The comparison runs DS with and without Jev on identical candidates, shows both meanings and exposes each probability distribution. A changed meaning is not automatically correct. The separate search-order option operates only where calibrated. DS still checks the resulting path and retains alternatives for backtracking.

What “complete” verifies: the derivation satisfies the implemented grammar and its type requirements, given its lexical and context assumptions. A dictionary or model can still supply the wrong sense. Completion does not establish the intended reading, truth or an independent grammaticality judgment. Missing rules, missing vocabulary and search limits remain visible as failures.

Connecting OpenRouter checks your key and lists models. Model requests send text and relevant parser context to that provider and are billed to your account. The checkboxes control your next parse; the result reports the requests actually made. With both boxes ticked, Jev ranks word meanings and the analysis LLM supplies missing words; full open text construction assistance is available when Jev is off. Turn off all AI unticks both models and turns off Jev search ordering for subsequent parses; a connected key can stay in this tab unused.

Why Classical, Constructive and TTR differ
Classical DS
Composes entity and proposition meanings using λ terms, ε/τ choice terms and logical operators. “Every” and distributive “all” use τ terms. The scope setting controls whether an indefinite choice can vary with each individual.
Constructive DS
Composes typed witnesses and dependent Σ/Π meanings: roughly, “a man walks” requires a man together with evidence of walking; “all people enter” requires the property for each person. Complete supported meanings can be exported to Coq.
DS–TTR
Uses record types in its own grammar. The wide-vocabulary assistance compiler currently supports Classical and Constructive English and Standard Greek only. Selecting TTR does not translate one of their results into a verified TTR derivation.

The semantic system determines composition and checking. An LLM proposes lexical information under that system’s available templates; it does not choose a replacement semantic theory or write the final tree.

Prepositional phrases: arguments, modifiers and predicates

A preposition’s role comes from the construction. These examples run without an LLM in the native Classical and Constructive grammars:

ExampleWhat DS does
John relies on Mary.
Selected argument. The verb opens an ordinary argument slot requiring on and its complement. Mary becomes an argument of rely(john, mary). “John relies” and “John relies in a park” cannot complete this frame.
John gives a book to Mary.
Recipient argument. This give frame requires a theme and a to-recipient. An optional location PP cannot fill the missing recipient slot.
John walks in a park.
Modifier via LINK. DS uses LINK to grow a separate modifier tree. It parses the PP’s own noun phrase, then composes the modifier with the proposition. The fragment uses operators such as in_location(place, walk(john)); it has no event or spatial inference model. Postverbal at and companion with are also supported.
A man is in a park.
Copular predicate. The location PP supplies the predicate after is. Standard Greek also has copular location rules for σε and forms such as στο and στην.
Ο Γιώργος μπήκε στην πίστα.
Destination argument. The selected motion frame requires σε and an accusative destination. Contracted στο/στον/στη/στην also supply the definite article and check gender. The destination becomes an argument of enter_goal. English selected to/into frames are also available.
George walks onto the stage like a wild peacock.

Ο Γιώργος μπήκε στην πίστα σαν άγριο παγώνι.
Modifiers via LINK. English into/onto/toward can introduce path modifiers; Greek σε and its contracted articles can introduce location modifiers. A nominal simile builds a separate LINK using manner_like(description, proposition). English like a/an… and Greek σαν [ένα/μια/έναν]… accept singular noun descriptions with attributive adjectives. The Greek description checks accusative agreement.

What the LLM can add: for an unfamiliar verb it can propose a supported frame, including Greek prepositional-se, English prepositional-to/into/on, or dative-to for a recipient. It can propose the nouns and adjectives inside a comparison. DS builds the argument or LINK structure and enforces the template’s requirements. The proposal can still select the wrong sense or frame; arbitrary new constructions require grammar work.

Meaning and attachment: Classical PP noun phrases compose with entity/choice terms; Constructive ones retain typed witnesses and dependent quantification. A simile takes a nominal description: a Classical restrictor or a Constructive nominal type, refined by adjectives. It asserts no actual peacock’s existence and does not identify the subject as a peacock. Resemblance, event and spatial inference are not supplied. Some English matrix/embedded attachments are available as separate analyses. NP attachment, instrumental with, referential or clausal comparisons, plural similes and general preposition polysemy remain outside these rules. TTR coverage is unchanged.

Read the growing tree

Build a sentence, then pause, change speed or step by operation, rule or word.

?Ty(t) / ?Ty(Prop)
A requirement still to be satisfied. Other labels starting with ? are also outstanding requirements.
Fo(…)
The formula decorating a node. Use Expand formula below an abbreviated expression to read it in full inside the tree; Collapse formula restores the preview. Selecting a node also shows its full formula in the inspector.
The green pointer
The node the parser is working on. Changed nodes have a pale green fill.
Operations / Rules / Words
Operations show executed instructions; Rules group lexical and computational programs; Words show recorded token boundaries. Rules is the default, including assisted sentences and paragraphs. The active program is labelled lexical or computational; its tree changes appear above the tree. Operations detail is available for ordinary sentence and dialogue traces. A display-budget jump is labelled explicitly. The formula develops through composition as the tree grows.

← → Step   Space Play / pause   Home Axiom   End Last step

Paragraphs, dialogue and coverage

Every paragraph sentence counts. Only complete sentences supply context to later sentences; failures remain as context gaps. Basic named-antecedent pronouns are supported, but general discourse inference is not.

Dialogue mode preserves the tree across speaker changes. Choose New tree to start a proposition. Local repair rolls back the last ungrounded lexical contribution; the transcript retains the old words, and Repairs links to rollback and replacement. Rebuilding reconstructs the transcript in a fresh parser context. Open text model assistance is currently for sentences and paragraphs.

Try Question & answer: A: “Did you burn” / B: “myself?” / A: “No”. A’s you denotes B; B’s myself binds to that same local subject. The question’s content is burn(B, B). No starts a new tree with its negation, while Earlier trees keeps the question available for inspection. Yes retains the positive content. These are interpretations of the contributions; the app does not decide whether the answer is true or mutually accepted.

This works without an LLM in native English Classical and Constructive DS. The grammar supplies polar do/does/did, a typed reflexive action and contextual Yes/No. Classical composition uses e/t; Constructive composition preserves nominal types and dependent quantifiers. Reflexives are currently restricted to the local subject and final object slot. Speaker/addressee forms, known gender features and plural subjects constrain binding; unknown gender remains unspecified. General ellipsis, wh-questions, group speaker reference, tense semantics and full auxiliary agreement remain outside this fragment.

English thinks and says select finite clauses with optional that. Classical complements have type t; Constructive closure binds witnesses inside each complement and produces Content, exported to Coq as Type. Scope stays within each clause. These predicates have no world semantics or de re readings.

English because and Standard Greek επειδή / διότι introduce finite reasons. A postposed reason grows a LINK; a preposed reason requires a comma and a main clause. because(main, reason) preserves both clause meanings with local quantifier closure. It is an opaque causal relation, with no causal inference axioms. Temporal words such as later / αργότερα retain distinct operators; their reference times and full tense/aspect meanings remain unresolved.


The Greek lab describes the small Standard, Cypriot, Pontic and Grico fragments and their limits. Corpus search finds attested text; it does not make that text parseable. The displayed development checks are small engineering samples, not general accuracy estimates.