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 8
function func(...) local n = {...} for i =1, table.getn(n) do print(n[i]) end end func(1,2,3, "test",5)
-
1 2
function f(a,...) return ... end print(f(1,2,3))
-
1 2
f = function() return 5 end print(f())
-
1
print('aa' .. 'bb')
-
1
print(#"abc")
-
1
#"abc"
-
1 2 3 4 5 6 7
local read, write = io.read, io.write local num, nl = '*n', '\n' while true do local a = read(num) if a == 42 then return end write(a, nl) end
-
1
-
1 2 3 4 5 6 7
local read, write = io.read, io.write local num, nl = '*n', '\n' while true do local a = read(num) if a == 42 then return end write(a, nl) end
-
1 2 3 4 5 6 7 8 9
mytype = nil print("mytype = " .. type(mytype)) mytype = true print("mytype = " .. type(mytype)) mytype = 10 print("mytype = " .. type(mytype)) mytype = "Hello" print("mytype = " .. type(mytype)) mytype = {}
...
-
1 2 3 4 5 6 7 8 9
var c : char; numer : integer; begin {w petli ma byc: wczytywanie c (jest) kodowanie malych liter (jest) kodowanie wielkich liter (napisac)
...
-
1
print "Lol"
-
1 2 3 4 5 6 7 8
-- working version require 'textadept' keys.f2 = buffer.save -- failing version
...
-
1
print('hello')
-
1 2 3
print("Hello World") wait(1) print("Goodbye World")
-
1
print("Hello World")
-
1 2 3 4 5 6 7 8 9
local i, j, sum sum = 0 for i = 1, 10000, 1 do j = 1 sum = 0 while j<=i/2 do if(i%j==0) then sum=sum+j;
...
-
1 2 3 4 5 6 7 8 9
local i, j, sum sum = 0 for i = 1, 500, 1 do j = 1 sum = 0 while j<=i/2 do if(i%j==0) then sum=sum+j;
...
-
1 2 3 4 5 6 7 8 9
local i, j, sum sum = 0 for i = 1, 500, 1 do j = 1 sum = 0 while j<=i/2 do if(i%j==0) then sum=sum+j;
...
-
1 2 3 4 5 6 7 8 9
local i, j, sum sum = 0 for i = 1, 10000, 1 do j = 1 sum = 0 while false do if(i%j==0) then sum=sum+j;
...
-
1 2 3 4 5 6 7 8 9
local i, j, sum sum = 0 for i = 1, 10000, 1 do j = 1 sum = 0 while false do if(i%j==0) then sum=sum+j;
...
-
1 2 3 4 5 6 7 8 9
local i, j, sum sum = 0 for i = 1, 10000, 1 do j = 1 sum = 0 while j<=i/2 do if(i%j==0) then sum=sum+j;
...
-
1 2 3 4 5 6 7 8 9
local i, j, sum sum = 0 for i = 1, 10000, 1 do j = 1 sum = 0 while j<=i/2 do if(i%j==0) then sum=sum+j;
...
-
1 2 3 4 5 6 7 8 9
local i, j, sum sum = 0 for i = 1, 10000, 1 do j = 1 sum = 0 while j<=i/2 do if(i%j==0) sum=sum+j;
...
-
1 2 3 4 5 6 7 8 9
local i, j, sum sum = 0 for i = 1, 10000, 1 do j = 1 sum = 0 for j=1, j<=1000, 1 do if(i%j==0) then sum=sum+j;
...
-
1 2 3 4 5 6 7 8 9
local i, j, sum sum = 0 for i = 1, 10000, 1 do j = 1 sum = 0 for j=1, j<=i, 1 do if(i%j==0) then sum=sum+j;
...
-
1 2 3 4 5 6 7 8 9
local i, j, sum sum = 0 for i = 1, 10000, 1 do j = 1 sum = 0 for j=1, j<=i/2, 1 do if(i%j==0) then sum=sum+j;
...
-
1 2 3 4 5 6 7 8 9
local i, j, sum sum = 0 for i = 1, 10000, 1 do j = 1 sum = 0 for j=1, j<=i/2, 1 do if(i%j==0) sum=sum+j;
...
-
1 2 3 4 5
local i, j, sum sum = 0 for i = 1, 10000, 1 do println(i) end
-
1 2 3 4 5 6 7
local read, write = io.read, io.write local num, nl = '*n', '\n' local i, j, sum sum = 0 for i = 1, 10000, 1 do print(i) end


