Page MenuHomePhorge

index.ts
No OneTemporary

Size
351 B
Referenced Files
None
Subscribers
None

index.ts

import whisp from './whisp';
whisp`(write "running Whisp\n")`;
whisp`
(do
(let n 30)
(if (<= n 1) n
(do
(let a 0)
(let b 1)
(let i 2)
(let temp 0)
(loop (<= i n)
(do
(let temp (+ a b))
(let a b)
(let b temp)
(let i (+ i 1))))
(write "fib(30): " b "\n"))))
`;

File Metadata

Mime Type
application/javascript
Expires
Sun, May 3, 8:30 AM (12 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
545083
Default Alt Text
index.ts (351 B)

Event Timeline