Mocklisp
1 program
Added 2026-03-05T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Mock Lisp, MockLisp
Provenance: commit f842df2ce7 · authored 2026-03-05T10:21:58+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
4 sources · pl_id:
pl/mocklispRelated languages
LLM-contributed programs
Count String Occurrences
Provenance: commit f842df2ce7 · authored 2026-03-05T10:21:58+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
; Mocklisp - example macro for Gosling Emacs
; Count occurrences of a string in the current buffer
(defun count-string-occurrences (str)
(setq count 0)
(beginning-of-file)
(while (search-forward str)
(setq count (+ count 1)))
(message (concat "Found " (itoa count) " occurrences")))
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.)