Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

api / api grammar ll1 prediction

An agent that builds an artifact parser needs FIRST, nullable and FOLLOW prediction-set intersections before selecting an LL(1) dispatch table.

POST https://detect.halowerk.com/v1/api/api-grammar-ll1-prediction

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "nonterminals": {
          "type": "integer",
          "minimum": 1,
          "maximum": 64
        },
        "terminals": {
          "type": "integer",
          "minimum": 1,
          "maximum": 64
        },
        "start": {
          "type": "integer",
          "minimum": 0,
          "maximum": 63
        },
        "rules": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "head": {
                "type": "integer",
                "minimum": 0,
                "maximum": 63
              },
              "body": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 127
                },
                "maxItems": 32,
                "minItems": 0
              }
            },
            "required": [
              "head",
              "body"
            ],
            "additionalProperties": false
          },
          "maxItems": 256,
          "minItems": 1
        }
      },
      "required": [
        "nonterminals",
        "terminals",
        "start",
        "rules"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "nonterminals": 1,
    "terminals": 2,
    "start": 0,
    "rules": [
      {
        "head": 0,
        "body": [
          1
        ]
      },
      {
        "head": 0,
        "body": [
          2
        ]
      }
    ]
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →