Wake

1 program Added 2026-02-26T17:10:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit ba7048a0c4 · authored 2026-02-26T18:03:10+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

2 sources · pl_id: pl/wake
LLM (this repo) · 1Esolang

Related languages

Make (0.33)CMake (0.30)QMake (0.27)Waxeye (0.27)BitBake (0.25)

LLM-contributed programs

Fibonacci Sequence

Provenance: commit ba7048a0c4 · authored 2026-02-26T18:03:10+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.wake · license: Apache-2.0 · added: 2026-02-26T17:10:00Z
# Fibonacci sequence in Wake
package fibonacci

from wake import Integer, println, str, seq, map

# Recursive Fibonacci function
global def fib (n: Integer): Integer =
  if n <= 0 then 0
  else if n == 1 then 1
  else fib (n-1) + fib (n-2)

# Print first N Fibonacci numbers
global def printFibs (n: Integer): Unit =
  def indices = seq n
  def _ = map (\i = println "fib({str i}) = {str (fib i)}") indices
  Unit

global def main Unit =
  printFibs 10

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 Wake (mapped to pl/wake). 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/Wake/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Waitforme Walking Straight Forward →