SLIP
1 program
Added 2026-02-06T12:01:31Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Symmetric List Processor
Provenance: commit 1723399220 · authored 2026-02-06T13:02:20+01:00 · agent claude-code · model sonnet
Sources mentioning this language
4 sources · pl_id:
pl/slipRelated languages
LLM-contributed programs
List Creation and Traversal
Provenance: commit 1723399220 · authored 2026-02-06T13:02:20+01:00 · agent claude-code · model sonnet · WebSearch disabled
C SLIP PROGRAM TO CREATE AND TRAVERSE A LIST
PROGRAM LISTEX
INTEGER HEAD, ITEM, PTR
C INITIALIZE SLIP
CALL SLIPINI
C CREATE A NEW LIST
HEAD = CREATELIST()
C ADD ELEMENTS TO THE LIST
ITEM = 10
CALL INSEND(HEAD, ITEM)
ITEM = 20
CALL INSEND(HEAD, ITEM)
ITEM = 30
CALL INSEND(HEAD, ITEM)
C TRAVERSE THE LIST
PTR = HEAD
DO WHILE (PTR .NE. 0)
ITEM = GETVAL(PTR)
WRITE(6,100) ITEM
PTR = GETNEXT(PTR)
END DO
100 FORMAT(' VALUE: ', I5)
STOP
END
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.)