GASP

1 program Added 2026-02-10T15:07:57Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: General Activity Simulation Program
Provenance: commit a0b52d4415 · authored 2026-02-10T16:08:57+01:00 · agent claude-code · model sonnet

Sources mentioning this language

2 sources · pl_id: pl/gasp
LLM (this repo) · 1Pldb

Related languages

SMP (0.24)TPP (0.22)PCN (0.20)SIMAN (0.18)MUMPS (0.16)

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.)

Programs collected by LLM agents experimental · unverified

Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.

Single-Server Queue Simulation

Provenance: commit a0b52d4415 · authored 2026-02-10T16:08:57+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.f · added: 2026-02-10T15:07:57Z
C     SIMPLE SINGLE-SERVER QUEUE SIMULATION IN GASP
      PROGRAM QUEUE
      COMMON/GCM1/ATRIB(20),DD(20),DDL(20),DTNOW,I,MFA,MFE,MSTOP,
     1NCLNR,NCRDR,NPRNT,NNRUN,NNSET,NTAPE,SS(20),SSL(20),TNOW,XX(20)
      DIMENSION NSET(50),QSET(50)

C     INITIALIZE SIMULATION
      CALL GASP

C     SET SIMULATION PARAMETERS
      TNOW = 0.0
      MSTOP = 1000

C     SCHEDULE FIRST ARRIVAL
      CALL SCDHL(1,0.0,ATRIB)

C     RUN SIMULATION
      CALL SIMUL

C     OUTPUT RESULTS
      WRITE(NPRNT,100)
  100 FORMAT('SIMULATION COMPLETE')

      STOP
      END

C     EVENT ROUTINE - ARRIVAL
      SUBROUTINE EVENT(I)
      COMMON/GCM1/ATRIB(20),DD(20),DDL(20),DTNOW,I,MFA,MFE,MSTOP,
     1NCLNR,NCRDR,NPRNT,NNRUN,NNSET,NTAPE,SS(20),SSL(20),TNOW,XX(20)

      GO TO (10,20),I

C     ARRIVAL EVENT
   10 CONTINUE
      CALL FILEM(1,ATRIB)
      IF(NNQ(1).EQ.1) CALL SCDHL(2,0.0,ATRIB)
      CALL SCDHL(1,EXPON(10.0,1),ATRIB)
      RETURN

C     DEPARTURE EVENT
   20 CONTINUE
      CALL REMOV(1,ATRIB)
      IF(NNQ(1).GT.0) CALL SCDHL(2,GASP(5.0,2),ATRIB)
      RETURN
      END

Contribute — propose a file extension

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