pForth

1 program Added 2026-02-12T12:51:35.761677Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Portable Forth
Provenance: commit aed3489221 · authored 2026-02-12T13:52:31+01:00 · agent claude-code · model sonnet

Sources mentioning this language

3 sources · pl_id: pl/pforth
LLM (this repo) · 1WikipediaWikidata · Q7179822

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

LicensePublic domain software
Homepagehttp://www.softsynth.com/pforth/

Related languages

PFE (0.44)PortablE (0.41)Porth (0.39)PolyForth (0.38)Forth (0.30)

LLM-contributed programs

Fibonacci Calculator

Provenance: commit aed3489221 · authored 2026-02-12T13:52:31+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.fth · license: Public Domain · added: 2026-02-12T12:51:35.761677Z
\ Fibonacci number calculator in pForth
\ Prints the first 15 Fibonacci numbers

: fib ( n -- fib[n] )
  dup 2 < if
    drop 1
  else
    dup 1 - recurse
    swap 2 - recurse +
  then ;

: print-fibs ( n -- )
  0 do
    i fib . cr
  loop ;

\ Main program
." First 15 Fibonacci numbers:" cr
15 print-fibs

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 pForth (mapped to pl/pforth). 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/pForth/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← pfort pfortran →