Initial commit: 42 UN CLI implementations

Unsandbox CLI implementations in 42 programming languages for the
permacomputer project. Public domain software for code execution
across all ecosystems.

Languages: Python, JavaScript, Ruby, Go, Rust, C, C++, Java, Kotlin,
C#, F#, Haskell, OCaml, Clojure, Scheme, Common Lisp, Erlang, Elixir,
D, Nim, Zig, V, Dart, Groovy, Scala, Julia, R, Crystal, Fortran,
COBOL, Prolog, Forth, Tcl, Raku, Lua, PHP, Perl, Bash, TypeScript,
Objective-C, PowerShell, AWK

Includes test suites and service lifecycle tests.
This commit is contained in:
Russell Ballestrini 2025-12-23 09:57:08 -05:00
commit 2b35819393
143 changed files with 30022 additions and 0 deletions

16
test/fib.forth Normal file
View file

@ -0,0 +1,16 @@
: fib ( n -- fib )
dup 2 < if exit then
dup 1 - recurse
swap 2 - recurse
+ ;
: print-fib ( n -- )
dup ." fib(" 0 .r ." ) = " fib 0 .r cr ;
: main
11 0 do
i print-fib
loop ;
main
bye