langscript is a semi-structured, declarative interaction language designed to occupy the space between natural language and executable code — a space called "The Middle Way." It is not a programming language and it is not prose. It is a cognitive protocol: a set of human-readable, machine-interpretable conventions that give Large Language Models the structural signals they need to reason reliably, while preserving the expressive fluidity that makes human thought worth capturing. langscript draws on principles from Object-Oriented Programming — encapsulation, inheritance, dot-notation — and reframes them as Object-Oriented Prompting (OOPrompting), a paradigm in which the user constructs semantic objects that an LLM can parse as executable logic rather than casual chatter. The result is a dramatic improvement in intent clarity, contextual continuity, tone alignment, and cross-model portability. This whitepaper presents the complete v1.0 foundational specification of langscript, synthesized from earlier draft formulations. It covers the problem space, core constructs (session, context, subtask, pipeline, task, meta), design philosophy, and practical applications for human-agent collaboration.
Alman Gonzalez (Fri,) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: