simple language

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

write a simple language interpreter

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

2+2

Sample output:

4

Sample input:_

a:{x.2+x}
a2

Sample output:

4

Sample input:_

ack:{m n.if (m=0){n+1}{if (n=0){ack (m-1) 1}{ack (m-1) (ack m (n-1))}}}
fact:{n.if (n=0){1}{n*(fact (n-1))}}
ack 3 4
fact 4

Sample output:

125
24

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid210.12332008/02/05 21:11:290B / 12B / 8B
2eban240.12882008/02/05 11:31:320B / 8B / 15B
3tabasa300.07712008/02/05 10:59:521B / 20B / 6B
4leonid200.13812008/02/29 12:47:550B / 9B / 10B
5leonid (alnum)360.02972008/12/02 10:39:430B / 27B / 0B

Perl _

RankUserSizeTimeDateStatistics
1ott(cheat)200.05612008/02/06 09:18:020B / 12B / 7B
2ais523(embed,rand)210.11052008/02/06 04:18:021B / ?B / ?B
3ais523(genuine)2510.57892008/02/06 04:35:093B / ?B / ?B
4jonathan camacho (cheat)560.03292014/07/23 06:13:240B / 25B / 28B

Python _

RankUserSizeTimeDateStatistics
1SeeNoEvil300.19462008/02/19 04:59:360B / 18B / 12B
2zetamatta380.21392008/02/16 21:05:050B / 22B / 16B
3leonid240.06892011/09/09 12:30:470B / ?B / ?B
4recursive270.07882011/02/18 07:36:090B / 16B / 11B
5Vim Lover380.10672016/09/07 03:08:120B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1ToastyX(rand)230.39822008/02/05 05:55:480B / ?B / ?B

Scheme _

RankUserSizeTimeDateStatistics
1kaki360.07732011/04/07 05:38:470B / 22B / 13B
2murky-satyr370.11182008/07/04 01:24:560B / 22B / 14B

Common LISP _

RankUserSizeTimeDateStatistics
1ttmh400.05432014/09/01 10:17:250B / 25B / 13B
2kozima420.29002008/02/20 14:15:130B / 28B / 13B

Arc _

RankUserSizeTimeDateStatistics
1pooq2625.45312009/10/03 11:17:210B / 13B / 11B

Io _

RankUserSizeTimeDateStatistics
1murky-satyr352.50262008/09/15 18:03:530B / 25B / 8B
2pooq372.53212008/06/25 12:12:390B / 25B / 10B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr290.08582008/04/03 04:44:330B / 20B / 8B

Lua _

RankUserSizeTimeDateStatistics
1murky-satyr380.37592008/07/29 20:32:300B / 26B / 11B

Tcl _

RankUserSizeTimeDateStatistics
1pooq430.08602009/11/16 17:49:110B / 25B / 12B

Xtal _

RankUserSizeTimeDateStatistics
1pooq360.06802010/08/23 01:10:010B / 19B / 16B

Cyan _

RankUserSizeTimeDateStatistics
1youz3012.91342008/11/14 01:08:150B / 16B / 14B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr400.45852008/07/13 11:04:460B / 27B / 11B

Prolog _

RankUserSizeTimeDateStatistics
1pooq500.13502009/02/27 00:46:120B / 29B / 18B

BASIC _

RankUserSizeTimeDateStatistics
1poop370.02132008/02/12 04:11:190B / 22B / 12B
2*yuko*210.00052010/08/08 14:49:580B / 11B / 8B

Perl6 _

RankUserSizeTimeDateStatistics
1pooq216.49102010/08/10 12:42:440B / 13B / 7B

J _

RankUserSizeTimeDateStatistics
1poop320.99622008/02/12 04:39:110B / 14B / 18B
2I., S.(pooq)(embed)250.14032012/03/10 14:51:110B / 14B / 10B
3pooq270.25622008/09/16 12:15:300B / 14B / 12B

A+ _

RankUserSizeTimeDateStatistics
1pooq380.55172008/11/03 20:39:220B / 20B / 16B

K _

RankUserSizeTimeDateStatistics
1twobit150.04742012/03/21 01:04:400B / ?B / ?B
2pooq180.04022012/03/20 21:35:280B / 8B / 9B

C _

RankUserSizeTimeDateStatistics
151b350.09832008/02/07 04:44:010B / 18B / 17B
2Purika360.04322008/02/13 23:42:390B / ?B / ?B
3leonid310.00112011/09/09 12:33:220B / 17B / 14B
4inaniwa330.00032010/01/07 20:41:200B / 18B / 15B

OCaml _

RankUserSizeTimeDateStatistics
1ksk490.10652008/02/06 23:09:270B / 29B / 18B
2m.ukai510.22752008/02/07 11:22:270B / 37B / 13B

Haskell _

RankUserSizeTimeDateStatistics
1nooodl440.03272014/06/12 00:43:430B / ?B / ?B
2FalconNL510.07792008/10/17 18:44:050B / 32B / 18B

Pascal _

RankUserSizeTimeDateStatistics
1uru360.08802009/07/10 21:38:000B / 25B / 9B
2pooq450.09962009/01/19 15:12:220B / 31B / 12B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*350.00062009/08/12 13:33:510B / 20B / 15B

Curry _

RankUserSizeTimeDateStatistics
1pooq550.04932009/11/14 03:22:060B / 40B / 9B

Maxima _

RankUserSizeTimeDateStatistics
1pooq410.23222010/03/27 10:29:400B / 23B / 17B

Octave _

RankUserSizeTimeDateStatistics
1pooq410.74572011/10/21 12:45:530B / 21B / 20B

REBOL _

RankUserSizeTimeDateStatistics
1clock460.08062012/07/18 18:01:210B / 32B / 8B
2pooq480.23882009/02/14 21:33:380B / 32B / 11B

Asymptote _

RankUserSizeTimeDateStatistics
1pooq473.16562009/03/26 10:11:390B / 27B / 19B

AWK _

RankUserSizeTimeDateStatistics
1nn240.07262008/09/15 16:53:190B / 11B / 12B

sed _

RankUserSizeTimeDateStatistics
1emoken(embed)220.07392008/02/10 16:24:550B / 11B / 8B

wake _

RankUserSizeTimeDateStatistics
1pooq240.01172010/07/20 17:23:510B / 8B / 14B

Postscript _

RankUserSizeTimeDateStatistics
1yshl250.52042008/02/07 04:53:332B / 17B / 3B

R _

RankUserSizeTimeDateStatistics
1pooq313.66692008/05/31 15:15:490B / 18B / 12B

Brainfuck _

RankUserSizeTimeDateStatistics
1nuko510.11552008/02/05 22:00:441B / 6B / 43B

Whitespace _

RankUserSizeTimeDateStatistics
1%20850.03352015/06/21 18:25:270B / 0B / 0B

GolfScript _

RankUserSizeTimeDateStatistics
1narb130.14132010/09/03 16:44:560B / ?B / ?B
2nooodl190.14352010/08/15 08:15:211B / ?B / ?B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu180.12082010/08/19 23:09:480B / ?B / ?B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik190.03322014/06/12 01:39:090B / 10B / 8B

Unlambda _

RankUserSizeTimeDateStatistics
1irori250.02702008/02/09 16:54:390B / 8B / 17B
2hirose250.07052008/02/11 13:54:320B / 8B / 17B

Vim _

RankUserSizeTimeDateStatistics
1nn250.06332009/12/13 22:41:132B / 11B / 11B

Groovy _

RankUserSizeTimeDateStatistics
1murky-satyr328.58922008/04/03 04:38:400B / 21B / 11B

Scala _

RankUserSizeTimeDateStatistics
1pooq419.86972011/02/18 06:43:260B / 31B / 9B

Logo _

RankUserSizeTimeDateStatistics
1teebee280.46712011/04/07 05:10:030B / 20B / 3B
2pooq292.50892011/03/20 08:06:540B / 21B / 3B

Language Ranking_

RankLangUserSizeScore
1GolfScriptnarb1310000
2Ktwobit158666
3FlogScriptmilieu187222
4BurlesqueHendrik196842
5Perlott(cheat)206500
6Rubyleonid206500
7BASIC*yuko*216190
8Perl6pooq216190
9sedemoken(embed)225909
10PHPToastyX(rand)235652
11AWKnn245416
12wakepooq245416
13Pythonleonid245416
14Postscriptyshl255200
15Unlambdairori255200
16Vimnn255200
17JI., S.(pooq)(embed)255200
18Arcpooq265000
19Logoteebee284642
20JavaScriptmurky-satyr294482
21Cyanyouz304333
22Rpooq314193
23Cleonid314193
24Groovymurky-satyr324062
25Iomurky-satyr353714
26Fortran*yuko*353714
27Pascaluru363611
28Xtalpooq363611
29Schemekaki363611
30Luamurky-satyr383421
31A+pooq383421
32Smalltalkmurky-satyr403250
33Common LISPttmh403250
34Maximapooq413170
35Scalapooq413170
36Octavepooq413170
37Tclpooq433023
38Haskellnooodl442954
39REBOLclock462826
40Asymptotepooq472765
41OCamlksk492653
42Prologpooq502600
43Brainfucknuko512549
44Currypooq552363
45Whitespace%20851529

return to the top page