{
  "id": "2025/1110",
  "url": "https://opencryptology.org/2025/1110",
  "original_url": "https://eprint.iacr.org/2025/1110",
  "title": "A Framework for Compiling Custom Languages as Efficiently Verifiable Virtual Machines",
  "authors": [
    "Assimakis A. Kattis",
    "Brian Klatt",
    "Philip Quirk",
    "Logan Allen"
  ],
  "affiliations": null,
  "abstract": "In this work, we develop a framework for compiling languages into efficient Interactive Oracle Proofs (IOPs, or ‘circuits’), motivated by applications in verifiable Virtual Machine (zkVM) design. We provide a set of sufficient conditions on a language under which it can be compiled into an efficient IOP, alongside corresponding performance costs. We identify a subclass of languages, which we denote as traversable, and demonstrate how traversable languages can be efficiently compiled as circuits using established techniques.\n\nTo demonstrate the efficacy of our compilation framework, we develop a zkVM for the Nock programming language by (1) formalizing the existing Nock specification, and (2) applying our techniques to design an efficient IOP representation for the Nock VM. The resulting circuit is small, on par with existing state-of-the-art zkVM designs and can be generated for any traversable language in a generic way.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A Framework for Compiling Custom Languages as Efficiently Verifiable Virtual Machines” by Assimakis A. Kattis, Brian Klatt, Philip Quirk, Logan Allen, Cryptology ePrint Archive, Paper 2025/1110, https://eprint.iacr.org/2025/1110. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-06-12T20:44:34Z",
    "updated": "2025-06-12T20:44:34Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1110.pdf",
    "sha256": "03809ab39e193a0781a390ed60b2c99b32c61c8b28f34d1e71b848b2d5e29f8e",
    "size": 754495,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/1110/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1110.pdf",
      "size": 754495,
      "sha256": "03809ab39e193a0781a390ed60b2c99b32c61c8b28f34d1e71b848b2d5e29f8e",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1110.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 754495
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260228182723id_/https://eprint.iacr.org/2025/1110.pdf",
      "captured_at": "2026-02-28T18:27:23Z",
      "size": 744749
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1110,\n      author = {Assimakis A. Kattis and Brian Klatt and Philip Quirk and Logan Allen},\n      title = {A Framework for Compiling Custom Languages as Efficiently Verifiable Virtual Machines},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1110},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1110}\n}"
}
