jennifer-lang

Language Reference

Jennifer Lang files must use the .jennifer extension. The current prototype uses section headings that begin with _ and preserves natural-language content inside each section.

Required Sections

Every program must include these sections:

_libraries
_credentials
_provider
_tools
_rules
_bor
_style
_deslop
_dehallucinate
_result

Sections are matched case-insensitively. Content may be blank where the language permits optional content, but the heading must exist.

Body Of Request

_bor contains the request executed against the provider.

_bor

    Write a one sentence hello world response for Jennifer Lang.

If the body says using tools, _tools must declare a usable tool source such as default or use provider tools.

Rules With Retry

Individual rules can declare a retry count. If that rule fails, the VM will attempt up to N model-repair retries before returning an execution error.

_rules

    must never contain em dashes, retry 1
    must never contain slop, retry 2

Rule retry automatically promotes Deslop to model-repair mode. The effective retry budget is the maximum across all rule retries and the _deslop retry value.

Deslop Values

_deslop accepts:

When _deslop declares retries the VM treats the program as a model-repair Deslop run and performs the requested number of bounded repair attempts when rule validation fails. Rule-level retries combine with this — the VM uses whichever retry count is highest.

Dehallucinate Values

_dehallucinate accepts:

When enabled, the VM checks URLs in the accepted provider response using the runtime computer’s internet connection. Invalid or unreachable URLs produce execution errors.

External Styles

Style URLs must explicitly declare how they are resolved. A raw URL alone is a compile error.

_style

    https://raw.githubusercontent.com/example/profile.md using builtin

using builtin tells the VM to fetch the URL before provider execution. The fetched content is included in the user message sent to the provider (alongside the BOR) and is returned in the JSON response body under result.builtins.

Example

_libraries

    none

_credentials

    using .env

_provider

    type is open-ai compatible

_tools

    none

_rules

    must never contain em dashes

_bor

    Write a concise status update.

_style

    direct

_deslop

    true

_dehallucinate

    true

_result

    default