Skip to content

Compiler first witness — execute compiled code with exact meta/native parity #69

Description

@juv4uk

Goal

Produce the first end-to-end compiled witness for my-lisp without giving the backend semantic authority.

Pipeline target:

source -> admitted semantics -> IR -> mechanical lowering -> executable form

Required witness

Choose a deliberately narrow but nontrivial program that exercises more than arithmetic alone: lexical binding/closure plus exact arithmetic and at least one canonical control/data operation.

Run the same source through:

  • Lisp-owned meta-evaluator;
  • current native evaluator;
  • compiled execution path.

Require exact observable parity.

Acceptance evidence

  • Value parity is exact, including rational identity.
  • Relevant errors are parity-checked, not converted to backend-specific behavior.
  • Compiler/lowering refuses an unadmitted form.
  • No compiler-only primitive is added to the language ontology.

Dependencies

Non-goals

  • No optimizer in this task.
  • No claim that all my-lisp is compiled.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions