A semantic compiler is a proposed language-engineering workflow that transforms an ordinary human intention into a structured, inspectable representation of concepts, relationships, conditions, evidence and permitted actions. Adults already perform parts of this process when they turn an idea into a plan or explain a task to another person. Vocabulary Coding and Language Engineering makes those transformations explicit so that an error can be detected before the resulting thought programme is used by a person, organisation or AI system.
The analogy comes from computer programming: a compiler transforms source code into another representation according to defined rules. Natural language is not equivalent to source code, because its meaning may depend on context, implicit assumptions, disputed values and the speaker’s intentions. The semantic compiler developed here is therefore an educational architecture and testable design proposal, not an existing universally reliable compiler for human thought. It helps adults decide which parts of meaning can be structured, which require clarification and which must remain open to judgement at every zoom level.
- Source: retain the original words, speaker, purpose and context.
- Parsing: identify concepts, referents, scope, conditions and requested operations.
- Binding: connect terms to their applicable meanings, evidence and version.
- Checking: detect incompatible units, missing inputs, permissions and conflicting requirements.
- Representation: produce an inspectable intermediate description before action.
- Execution: delegate only the tasks for which evidence, capability and authority exist.
- Validation: test whether the output serves the original purpose; return unresolved issues for human review.
1. Why adults need an intermediate representation
A person asks an AI assistant, ‘Find a better way to organise our community course.’ The sentence is intelligible, but the objective is not fully specified. Better might mean cheaper, easier to attend, less demanding for volunteers or more effective for learners. A direct answer may choose one interpretation without noticing the others.
A useful intermediate representation makes the important decisions visible. It records the purpose, intended participants, constraints, candidate objectives, evidence available, missing information and authority to choose. It may contain several possible interpretations rather than a single premature conclusion.
This representation is not a substitute for the original sentence. Preserve the original words and the context so a reviewer can see what was added, inferred or lost. The intermediate description is an editable working model, not a claim to have captured everything a person thinks.
2. A proposed compilation pipeline
| Stage | Question | Output |
|---|---|---|
| Capture | What did the person actually say? | Original utterance and relevant context. |
| Analyse | What entities, relations and operators appear? | Candidate structure and ambiguous terms. |
| Bind | Which meanings and sources apply here? | Contextual definitions and referents. |
| Check | Are scope, units, prerequisites and permissions coherent? | Detected conflicts and missing information. |
| Plan | Which bounded reasoning or action steps serve the goal? | Proposed operations with dependencies. |
| Review | Is this what the person intended? | Accepted interpretation or revision request. |
| Apply and verify | What happened, and did it meet the purpose? | Outcome, evidence and correction record. |
Unlike a conventional compiler for a formal language, the proposed semantic compiler may need to ask a question, preserve multiple possible readings or decline to produce an actionable representation. That is not necessarily a defect. An honest unresolved result can be preferable to a perfectly formatted misinterpretation.
3. Worked example: compile a small intention
A fictional reading club wants to organise a session that is accessible to new members. Its organiser says, ‘Make the session easier to join without increasing the budget.’ First, separate the requested improvement from its constraints. Easier to join is a possible objective; no budget increase is a stated limit. Neither phrase supplies its own operational definition.
| Field | Initial interpretation | Status |
|---|---|---|
| Purpose | Reduce avoidable barriers for new members. | Provisional; confirm with participants. |
| Accessible | Ability to discover, register for and attend the session. | Working definition, not exhaustive. |
| Budget | Approved total resource expenditure for the session. | Check whether volunteer time is included. |
| Inputs | Current registration steps, attendance records, resources and participant feedback. | Some inputs may be missing. |
| Operation | Identify barriers and compare feasible changes. | Draft analysis only. |
| Authority | Organiser may propose changes; relevant people approve them. | Do not infer approval. |
| Output | Options, trade-offs, evidence gaps and a recommended next check. | Not an implemented change. |
The intermediate description exposes a significant question. Does the budget constraint cover money alone or also volunteer time and other resources? If the club shifts work from a paid booking process to unpaid volunteers, spending may stay unchanged while the burden rises. The compiler must not treat that trade-off as invisible.
The user can review the proposed interpretation before any change is made. A suitable response might compare options, indicate which evidence is missing and ask the organiser to establish the resource boundary. This is not an instruction for an AI to change the club’s arrangements without agreement.
4. Semantic checking is more than grammatical checking
A grammar checker may improve a sentence without detecting that a count of visits was substituted for a count of unique visitors. A semantic checker examines whether the representation still refers to the correct things, measures and conditions. It should also distinguish requirements, preferences, factual claims and proposed decisions.
| Check | Illustrative mismatch | Repair |
|---|---|---|
| Reference | The wrong report is selected. | Confirm identifier and version. |
| Type | Visits are treated as people. | Preserve the counted entity. |
| Unit | Minutes are compared with hours without conversion. | Normalise units and verify arithmetic. |
| Scope | A local result is reported as global. | Retain population, period and domain. |
| Permission | Permission to draft becomes permission to send. | Keep actions and authority separate. |
| Evidence | An estimate is treated as an observed fact. | Mark its status and assumptions. |
| Objective | Lower cost replaces improved accessibility. | Retain the actual goal and trade-offs. |
These checks can be implemented in different ways. Some are suitable for deterministic software validation, such as comparing units or checking whether a required field exists. Others require interpretation, domain expertise and human review. AI may assist in identifying a mismatch but cannot certify every semantic relationship merely by asserting that it checked it.
5. Distinguish known information from what can only be inferred
A compiler-style workflow can create the impression that all missing fields should be filled. This is dangerous. If a source does not establish whether an option is affordable for its intended users, the correct representation may contain an unknown rather than an invented number or conclusion.
The eduKate Semantic Identification Envelope develops the question of what can be established when evidence is incomplete. Applied to adult reasoning, the principle is to preserve the range of possibilities supported by the available information, rather than manufacture a precise answer because the output template has a blank field.
A usable structure can distinguish directly stated information, supported inference, assumptions adopted for an illustrative calculation, unresolved alternatives and facts that require verification. This makes the output easier to challenge and revise.
6. A semantic compiler is also a learning scaffold
When learners see how an ordinary intention becomes a structured reasoning task, they can identify the words that control the outcome. They may notice that they omitted the population, used a vague criterion or asked for a recommendation without specifying their values. The purpose is to make this knowledge available to the learner, not to hide the entire process behind automated output.
Use the proposed eduKate Fencing Method: secure a core meaning, explore contrasting and borderline cases, then return to the original intention. Test whether the learner can compile a new problem without being given the same example. The more important measure is transfer of capability, not the complexity of the resulting form.
7. From one thought to a civilisation-scale interface
| Zoom | Possible compilation task | Limit to preserve |
|---|---|---|
| Word and sentence | Bind a term to its intended meaning. | Context and alternate senses. |
| Individual | Transform an objective into a plan. | Personal priorities and uncertainty. |
| Family or team | Turn an agreement into shared tasks. | Consent and actual commitments. |
| Organisation | Translate a requirement into a workflow. | Permissions and dependencies. |
| Institution | Explain or implement an adopted rule. | Applicable authority and review. |
| International | Map definitions across systems. | Differences in scope and language. |
| Civilisation | Preserve methods and knowledge for later use. | Provenance, material prerequisites and plural values. |
The scale changes which review processes are needed. An individual can revise a private learning plan. An institution cannot simply compile an AI-generated interpretation into public rules without following the appropriate procedures. The semantic compiler is an aid to understanding and responsible implementation, not a new source of authority.
8. Practical exercise: inspect the transformation
Choose a low-risk intention, such as improving your reading routine. Write the original sentence. Identify its terms, purpose, constraints and possible meanings. Draft a structured representation. Ask AI or a consenting reader for alternative interpretations. Correct any interpretation that changes your intended purpose.
Then test the representation with an unfamiliar case. Can it distinguish an action that serves the objective from one that only improves a proxy? If the outcome differs from the intention, locate the transformation where meaning changed. Keep a record of the revision.
9. Questions adults ask
Can a semantic compiler read minds? No. It can structure expressed information and ask for clarification, but it cannot establish unexpressed intentions by inference alone.
Does it need formal logic? Some tasks benefit from formal representations. A simple structured note is sufficient for many adult learning exercises.
Can it guarantee that an AI acts correctly? No. The system still requires suitable capabilities, accurate sources, appropriate permissions and real-world verification.
Chapter 14 moves from the intermediate description to the boundary where language becomes a genuinely executable specification. The distinction matters because useful structured language is not necessarily safe or sufficient to run automatically.
Continue the adult Vocabulary Coding and Language Engineering programme
- Chapter 1: Words into thoughts and decisions
- Chapter 2: Workplace language and operational contracts
- Chapter 3: Definitions and society
- Chapter 4: Human–AI meaning tests
- Chapter 5: Logic, scope and obligations
- Chapter 6: Evidence, uncertainty and causality
- Chapter 7: Translation and concept mapping
- Chapter 8: Semantic governance and version control
- Chapter 9: Composable thought programmes
- Chapter 10: Coordination, commitments and incentives
- Chapter 11: Semantic failures and resilience
- Chapter 12: Adult mastery and the Meaning Laboratory
- Chapter 13: The semantic compiler (this chapter)
- Chapter 14: Formalisation and executable specifications
- Chapter 15: Portable capability transfer
- Chapter 16: Meaning infrastructure for portable civilisation
Foundational case study: Who Defines AI and How Do Definitions Change Technology, Rules and Society?.