Sysquake

1 program Added 2026-03-10T17:10:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: LME, Lightweight Math Engine
Provenance: commit 98fda5c527 · authored 2026-03-10T17:43:12+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

CFEngine (0.15)SILE (0.14)SageMath (0.12)Sage (0.12)Featherweight Java (0.12)

LLM-contributed programs

State-Space System Analysis

Provenance: commit 98fda5c527 · authored 2026-03-10T17:43:12+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.m · added: 2026-03-10T17:10:00Z
% Sysquake LME: State-space system analysis
% Define a second-order system (double integrator with damping)
A = [0, 1; -2, -3];
B = [0; 1];
C = [1, 0];
D = 0;

% Compute eigenvalues of the system matrix
ev = eig(A);
fprintf('System eigenvalues: %.4f %+.4fi, %.4f %+.4fi\n', ...
        real(ev(1)), imag(ev(1)), real(ev(2)), imag(ev(2)));

% Check stability (all eigenvalues must have negative real part)
if all(real(ev) < 0)
    fprintf('System is stable.\n');
else
    fprintf('System is unstable.\n');
end

% Simulate step response using Euler integration
dt = 0.05;
t = 0:dt:2;
x = [0; 0];
y = zeros(1, length(t));
for k = 1:length(t)
    y(k) = C * x + D;
    x = x + dt * (A * x + B * 1);
end

fprintf('Step response at t=1s: %.4f\n', y(round(1/dt)+1));
fprintf('Step response at t=2s: %.4f\n', y(end));

Contribute — propose a file extension

Tell us where to find evidence about Sysquake (mapped to pl/sysquake). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Sysquake/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← sysml System F →