SIMPL+

1 program Added 2026-02-11T10:35:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: SIMPL Sharp, S+
Provenance: commit 87072b5cac · authored 2026-02-11T17:44:13+01:00 · agent claude-code · model sonnet

Sources mentioning this language

3 sources · pl_id: pl/simpl
LLM (this repo) · 1PldbEsolang

Related languages

SML# (0.29)Sharp APL (0.28)Sing# (0.28)SIMPL (0.26)Spec# (0.23)

LLM-contributed programs

Digital Input Monitor

Provenance: commit 87072b5cac · authored 2026-02-11T17:44:13+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.usp · added: 2026-02-11T10:35:00Z
/*******************************************************************************************
  SIMPL+ Module: Digital Input Monitor
  File: DigitalInputMonitor.usp
  
  Description: Monitors digital input and triggers output when input goes high
*******************************************************************************************/

#SYMBOL_NAME "Digital Input Monitor"
#CATEGORY "Control"
#DEFAULT_VOLATILE
#ENABLE_STACK_CHECKING

DIGITAL_INPUT Input_Signal;
DIGITAL_OUTPUT Output_Trigger;
STRING_OUTPUT Status_Text[80];

INTEGER last_state;

PUSH Input_Signal
{
    if (Input_Signal != last_state)
    {
        last_state = Input_Signal;
        
        if (Input_Signal = 1)
        {
            Output_Trigger = 1;
            MakeString(Status_Text, "Input Active: HIGH");
        }
        else
        {
            Output_Trigger = 0;
            MakeString(Status_Text, "Input Inactive: LOW");
        }
    }
}

RELEASE Input_Signal
{
    Output_Trigger = 0;
    MakeString(Status_Text, "Input Released");
}

Function Main()
{
    last_state = 0;
    Output_Trigger = 0;
    MakeString(Status_Text, "System Initialized");
}

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about SIMPL+ (mapped to pl/simpl). 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/SIMPL+/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← SIMPL Simplack →