- Factorial of n
- n-th number in the Fibonacci sequence
- content length of a local file: data/file.txt
- content length of a remote file: https://example.com/
- comma-separated, ascending list of function arguments: "He", "l", "10", "W", "0", "r", "l", "d"
fac(12) = 479001600
fib(12) = 144
read() = 15
get() = 1270
sort() = 0,10,He,W,d,l,l,r
Note: Unless otherwise noted, the following requirements are for running within an Ubuntu environment.
- Assembly (nasm, gcc)
- Linux 64-bit
- Bash (bash)
- curl:
apt-get install curl
- curl:
- BASIC (fbc)
- fbc:
- download from http://www.freebasic.net/get
- extract to lib/FreeBASIC
- fbc:
- Befunge (bef)
- bef:
git clone https://github.com/catseye/Befunge-93.git lib/Befunge-93 && cd lib/Befunge-93 && make
- bef:
- C++ (g++)
- libcurl:
apt-get install libcurl4-openssl-dev
- libcurl:
- C# (mcs)
- Crystal (crystal)
- crystal: https://crystal-lang.org/docs/installation/from_a_targz.html
- libssl-dev:
apt-get install libssl-dev
- Dart
- Go (go)
- Haskell (ghc)
- cabal:
apt-get install cabal-install
- http:
cabal update && cabal install http
- cabal:
- Java (javac, jar)
- JavaScript (node)
- CoffeeScript (coffee)
- JavaScript 1.5 (jsshell)
- TypeScript (tsc)
- tsd:
npm install -g tsd
- tsd:
- Lisp (clisp)
- Lua (lua)
- Pascal (pc)
- fcl-web:
apt-get install fp-units-fcl
- fcl-web:
- Perl (perl)
- PHP (php)
- Python (python)
- R (Rscript)
- Ruby (ruby)
- Rust (rustc)
- cargo
- libssl-dev:
apt-get install libssl-dev
- hyper: dependency needs to be resolved manually to avoid Cargo conventions
git clone https://github.com/hyperium/hyper lib/hyper && cd lib/hyper && git checkout tags/v0.5.0 && cargo build
- Swift (swift)
- VBScript (cscript)
- Windows