Recent public codes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C++0x
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Objective-C
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- SQL
- Tcl
- Text
- Unlambda
- VB.NET
- Whitespace
-
1 2 3 4 5 6 7
-module(prog). -export([main/0]). main() -> loop(). loop() -> io:format("hello\n").
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> loop(). loop() -> case io:fread( "","~d" ) of eof -> true;
...
-
1 2 3 4 5 6 7 8
-module(prog). -export([main/0]). main() -> loop(). loop() -> X = 1, io:fwrite("~B\n",X).
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> loop(). loop() -> X = 1, io:fwrite("~B\n",X), end.
-
1 2 3 4 5 6 7 8
-module(prog). -export([main/0]). main() -> loop(). loop() -> io:fwrite("hello"), end.
-
1 2 3 4 5
-module(prog). -export([main/0]). main() -> io:fwrite("~w~n", [lists:map(fun((A) -> A + 3), lists:seq(1, 100))]).
-
1 2 3 4 5 6 7 8
-module(prog). -export([main/0, p_triplets/1]). main() -> io:fwrite("Pythagorean triplets where the sum is 1000: ~w~n", [p_triplets(500)]). p_triplets(MaxValue) when MaxValue >= 1 -> [{{A, B, (1000 - A - B)}, A + B + (1000 - A - B), A * B * (1000 - A - B)} || A <- lists:seq(1, MaxValue), B <- lists:seq(1, MaxValue), A * A + B * B == (1000 - A - B) * (1000 - A - B), A + B + (1000 - A - B) == 1000].
-
1 2 3 4 5
-module(prog). -export([main/0]). main() -> io:fwrite("hello").
-
1 2 3 4 5 6 7
-module(prog). -export([main/0]). main() -> io:fwrite("hello"). double(L) -> list:map(fun(E) -> E * 2 end, L).
-
1 2 3 4 5 6 7 8
-module(prog). -export([main/0]). main() -> Result = double([1, 2, 3, 4, 5, 6]), io:fwrite("~p", [Result]). double(L) -> list:map(fun(E) -> E * 2 end, L).
-
1 2 3 4 5 6 7 8
-module(prog). -export([main/0]). main() -> Result = double([1, 2, 3, 4, 5, 6]), io:format("~p", [Result]). double(L) -> list:map(fun(E) -> E * 2 end, L).
-
1 2 3 4 5 6 7 8
-module(prog). -export([main/0]). main(_) -> Result = double([1, 2, 3, 4, 5, 6]), io:format("~p", [Result]). double(L) -> list:map(fun(E) -> E * 2 end, L).
-
1 2 3 4 5
main(_) -> Result = double([1, 2, 3, 4, 5, 6]), io:format("~p", [Result]). double(L) -> list:map(fun(E) -> E * 2 end, L).
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> case io:fread("", "~d") of eof -> true; {ok, X} -> if
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> mainloop(). mainloop() -> case io:fread("", "~d") of eof -> true;
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> loop(). loop() -> case io:fread( "","~d" ) of eof -> true;
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> mainloop(). mainloop() -> case io:fread("", "~d") of eof -> true;
...
-
1 2 3 4 5 6 7 8 9
-module(hello). -export([main/0]). main() -> mainloop(). mainloop() -> case io:fread("", "~d") of eof -> true;
...
-
1 2 3 4 5 6 7 8 9
-module(hello). -export(main/0). main() -> mainloop(). mainloop() -> case io:fread("", "~d") of eof -> true;
...
-
1 2 3 4 5 6 7 8 9
-module(hello). -export(main/0). main() -> mainloop(). mainloop() -> case io:fread("", "~d") of eof -> true;
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([run/0, counter/1]). run() -> S = spawn(counter, counter, [0]), send_msgs(S, 100000), S. counter(Sum) ->
...
-
1 2 3 4 5 6 7 8 9
-module(counter). -export([run/0, counter/1]). run() -> S = spawn(counter, counter, [0]), send_msgs(S, 100000), S. counter(Sum) ->
...
-
1 2 3 4 5 6 7
-module(prog). -export([main/0]). main() -> Nums = [1, 313, 1900, 31, 4], SNums = lists:sort(Nums), io:format("~w", [SNums]).
-
1 2 3 4 5
-module(prog). -export([main/0]). main() -> true.
-
1 2 3 4 5
-module(prog). -export([main/0]). main() -> true.
-
1 2 3 4 5 6 7 8 9
-module(prog). -compile(export_all). -define(R, 503). %% main -program start point main() -> io:format("Main at: ~p~n",[self()]), case io:fread("","~d") of eof -> false;
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -compile(export_all). -define(R, 503). %% main -program start point main() -> io:format("Main at: ~p~n",[self()]), case io:fread("","~d") of eof -> false;
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -compile(export_all). -define(R, 503). %% main -program start point main() -> io:format("Main at: ~p~n",[self()]), case io:fread("","~d") of eof -> false;
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -compile(export_all). -define(R, 503). %% main -program start point main() -> io:format("Main at: ~p~n",[self()]), case io:fread("","~d") of eof -> false;
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -compile(export_all). -define(R, 503). %% main -program start point main() -> io:format("Main at: ~p~n",[self()]), case io:fread("","~d") of eof -> false;
...


