Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions alkahest-shell-transmuter/ffi/zig/build.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Alkahest FFI Build Configuration
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>

const std = @import("std");

Expand Down
1 change: 1 addition & 0 deletions alkahest-shell-transmuter/ffi/zig/src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// All types and layouts must match the Idris2 ABI definitions.
//
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>

const std = @import("std");

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Alkahest Integration Tests
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//
// These tests verify that the Zig FFI correctly implements the Idris2 ABI

Expand Down
1 change: 1 addition & 0 deletions ffi/zig/build.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// ValenceShell FFI Build Configuration
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>

const std = @import("std");

Expand Down
1 change: 1 addition & 0 deletions ffi/zig/src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// All types and layouts must match the Idris2 ABI definitions.
//
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>

const std = @import("std");

Expand Down
1 change: 1 addition & 0 deletions ffi/zig/test/integration_test.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// ValenceShell Integration Tests
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//
// These tests verify that the Zig FFI correctly implements the Idris2 ABI

Expand Down
1 change: 1 addition & 0 deletions impl/elixir/c_src/valence_nif.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
// Valence Shell - Erlang NIF wrapper for Zig FFI

#include <erl_nif.h>
Expand Down
1 change: 1 addition & 0 deletions impl/elixir/lib/vsh/.Elixir.VSH.NIF.zig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

// ref lib/vsh/nif.ex:33
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
// Valence Shell - Zigler NIF implementation

const std = @import("std");
Expand Down
1 change: 1 addition & 0 deletions impl/ocaml/lean_wrapper.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
/* Valence Shell - C Wrapper for Lean 4 Extracted Code
*
* This file provides C-callable wrappers around Lean 4 compiled code.
Expand Down
1 change: 1 addition & 0 deletions impl/zig/build.zig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//! Build script for Lean FFI Zig wrapper

const std = @import("std");
Expand Down
1 change: 1 addition & 0 deletions impl/zig/lean_wrapper.zig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//! Valence Shell - Zig Wrapper for Lean 4 Extracted Code
//!
//! This file provides Zig-callable wrappers around Lean 4 compiled code.
Expand Down
1 change: 1 addition & 0 deletions impl/zig/src/audit.zig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//! Valence Shell - Audit Logging for MAA Framework
//!
//! Implements the Mutually Assured Accountability audit trail.
Expand Down
1 change: 1 addition & 0 deletions impl/zig/src/daemon_client.zig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//! Daemon Client - Unix Socket Communication
//!
//! JSON-RPC 2.0 client for communicating with the BEAM daemon.
Expand Down
1 change: 1 addition & 0 deletions impl/zig/src/demo.zig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//! Valence Shell - Zig FFI Demonstration
//!
//! This program demonstrates the formally verified filesystem operations
Expand Down
1 change: 1 addition & 0 deletions impl/zig/src/lean_bindings.zig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//! Lean 4 FFI Bindings for Zig
//!
//! This module provides Zig bindings to Lean 4 compiled verification code.
Expand Down
1 change: 1 addition & 0 deletions impl/zig/src/lib.zig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//! Valence Shell - Zig FFI Layer
//!
//! This module provides the Foreign Function Interface that bridges
Expand Down
1 change: 1 addition & 0 deletions impl/zig/src/main.zig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//! Valence Shell - Zig Fast Path
//!
//! Fast startup path for simple operations (~5ms cold start).
Expand Down
1 change: 1 addition & 0 deletions impl/zig/src/path.zig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//! Valence Shell - Path Operations
//!
//! Path handling matching the Coq path model.
Expand Down
1 change: 1 addition & 0 deletions impl/zig/src/preconditions.zig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//! Precondition checking module
//!
//! Runtime validation of preconditions that mirror the formal proofs.
Expand Down
1 change: 1 addition & 0 deletions impl/zig/src/prover_integration.zig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//! Valence Shell - Prover Integration
//!
//! Demonstrates integration with zig-prover-ffi for runtime verification
Expand Down
2 changes: 2 additions & 0 deletions impl/zig/src/root.zig
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
//! By convention, root.zig is the root source file when making a library.
const std = @import("std");

Expand Down
1 change: 1 addition & 0 deletions impl/zig/src/valence_ffi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* SPDX-License-Identifier: MPL-2.0 */
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
/**
* Valence Shell - C FFI Header
*
Expand Down
Loading