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
void main() { enum x = "mixin(x);"; mixin(x); }
-
1 2 3 4
void main() { enum x = "mixin(x)"; mixin(x); }
-
1 2 3 4
void main() { string x = "writeln(x)"; mixin(x); }
-
1 2 3 4
void main() { auto x = "writeln(x)"; mixin(x); }
-
1 2 3 4
void main() { auto x = "mixin(x)"; mixin(x); }
-
1
import std.stdio; void main(){ writeln("hello"); }
-
1 2 3 4 5 6
import std.stdio; void main() { writefln("PONY INVASION!"); }
-
1 2 3 4 5 6
import std.stdio; int main() { writefln("I LOVE PONIES!"); }
-
1 2 3 4 5 6 7 8
import std.stdio; import std.compiler; void main() { writefln("This program was compiled with DMD Version%d.%03d.", version_major, version_minor); }
-
1 2 3 4 5 6 7
import std.stdio; import std.compiler; void main() { writefln("%d.%03d", version_major, version_minor); }
-
1 2 3 4 5 6 7
import std.stdio; import std.compiler; void main() { writefln("%d.%3d", version_major, version_minor); }
-
1 2 3 4 5 6 7
import std.stdio; import std.compiler; void main() { writefln("%d.%d", version_major, version_minor); }
-
1 2 3 4 5 6 7 8
import std.stdio; import std.compiler; void main() { writefln("%d", version_major); writefln("%d", version_minor); }
-
1 2 3 4 5 6 7 8 9
import std.stdio; void test(T)(T foo) { writeln(foo.bar()); } class Test { int bar() { return 14; } }
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; void test(T)(T foo) { writeln(foo.bar()); } class Test { int bar() { return 14; } }
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; void test(T)(T foo) { writeln(foo.bar()); } class Test { int bar() { return 14; } }
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; void test(T)(T foo) { writeln(foo.bar()); } class Test { int bar() { return 14; } }
...
-
1 2 3 4 5 6 7 8 9
begin 644 webutils_pl M8F5G:6X@-C0T(&EN9F\R+FAT;6P-"DTO(UU8.S900#U&-5(\5D5/.T-40BPR M6%`H0F!?+T)@0")#4$$Q)%TC-25%,#$R(4@])E5,*"4A-3!$42D-"DTP4F!" M*S)<3S53+2,K4ETD-20P0#8D030S-%!`+#)84"@E,5(X-EE3.C<Q23M664$[ M(EQ/,3180B)"8$(-"DTZ)S%4/"-(3RM7/5<]4EE7+%)93SQ&/$\U)2A//B9! M5#LV4%$K5#$T,2)=6#HG,4T[(R1-/2<I03M'+4D-"DT])D5/.T8E3"M&,50Y M(BA>(D!(0"@B8"DH8$1`(D)@0"A@1$`H8$0I(C!(7#HG,4T[(B%8.S913CQ3 M5$(-"DTZ)S%4/"-(3RM7/5<]4EE7+%)93SQ&/$\L,T19+C)=6#HG,4T[(BA> M+R9!13@V,%XH(F!`(C!$*2@B8"D-"DTB0U%4.C<Q3#DS62<Y-EU#.#8M2#DR
...
-
1 2 3 4 5
import std.stdio; void main() { write("Hi"); }
-
1 2 3 4 5 6 7 8 9
import std.stdio; class Foo { int opApply(int delegate(int a, int b, int c) dg) { int ret = 0; if ((ret = dg(5, 10, 15)) != 0) return ret;
...
-
1 2 3 4 5 6 7 8 9
int[] find(int x, int[] a) { while(!a.length == 0 && x != a[0]) a = a[1..$]; return a; } void main() { assert(find(5, [1,2,3,4,5,6,7,8,9]) == [5,6,7,8,9]); }
-
1 2 3 4 5 6 7 8 9
@property bool empty(T)(T[] a) { return a.length == 0; } @property ref T front(T)(T[] a) { return a[0]; } void popFront(T)(ref T[] a) { a = a[1..$]; } V reduce(alias fun, V, R)(V x, R range) { for(; !range.empty; range.popFront()) x = fun(x, range.front); return x; }
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; void main() { int[] hi = [1, 2, 3, 4]; try { int err = hi[5]; } catch (Exception e) { writefln("Caught: %s", e.msg); }
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; import std.string; import std.exception; void main(){ try{ int a = 2/0; } catch( Exception e){
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; import std.exception; void main() { int[] hi = [1, 2, 3, 4]; try { int err = hi[5]; } catch (Exception e) { writefln("Caught: %s", e.msg); }
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; import std.string; import std.exception; void main(){ try{ int a = 2/0; } catch( Exception e){
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; import std.string; import std.exception; void main(){ try{ int a = 2/0; } catch( Exception e){
...
-
1 2 3 4 5 6 7 8 9
_tree.mouseDown ~= (Control tv, MouseEventArgs e) { if ( (e.button == MouseButtons.RIGHT) && (_tree.selectedNode is _tree.getNodeAt(e.x, e.y))) { if (auto menu = cast(ContextMenu)_tree.selectedNode.tag) { menu.show(_tree, _tree.pointToScreen(Point(e.x, e.y))); }
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; class Foo { int opApply(int delegate(int a, int b, int c) dg) { int ret = 0; if ((ret = dg(5, 10, 15)) != 0) return ret;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; class Defaultlocale{ public static void main(String[] args){ Locale locale = Locale.getDefault(); System.out.println(locale.getDisplayName() + locale.getCountry()); Locale.setDefault(Locale.ENGLISH); locale = Locale.getDefault(); System.out.println("For Default Locale : " + locale.getLanguage()); }


