interesting i wonder why it caused a stack over flow

On Tue, Aug 25, 2009 at 12:49 PM, Justin Collins
<[email protected]>wrote:

> It's just a minimal example of a problem I ran into when generating code.
>
> -Justin
>
> Fode wrote:
>
>> what is the purpose of this code?
>>
>> On Tue, Aug 25, 2009 at 12:42 PM, Justin Collins <
>> [email protected] <mailto:[email protected]>> wrote:
>>
>>    Hello all,
>>
>>    I cannot tell if this is a limitation or bug in Neko. The code
>>    below will cause a stack overflow during compilation, which looks
>>    something like:
>>
>>    Called from neko/Compile.nml line 739
>>    Called from neko/Compile.nml line 796
>>    Called from neko/Compile.nml line 720
>>    Called from neko/Compile.nml line 738
>>    Called from core/List.nml line 64
>>    ....
>>    Called from neko/Compile.nml line 739
>>    Called from neko/Compile.nml line 796
>>    Called from neko/Compile.nml line 720
>>    Called from neko/Compile.nml line 738
>>    Called from core/List.nml line 64
>>    Called from neko/Compile.nml line 739
>>    Called from neko/Compile.nml line 796
>>    Called from neko/Compile.nml line 719
>>    Called from neko/Compile.nml line 714
>>    Called from neko/Compile.nml line 714
>>    Called from neko/Compile.nml line 714
>>    Called from neko/Compile.nml line 714
>>    Called from neko/Compile.nml line 714
>>    Called from neko/Compile.nml line 714
>>    Called from neko/Compile.nml line 714
>>    Called from neko/Compile.nml line 714
>>    Called from neko/Compile.nml line 714
>>    Called from neko/Compile.nml line 714
>>    Exception : Neko_error(Stack overflow)
>>
>>    --------------------
>>
>>    var temp1 = 1
>>    var temp2 = 2
>>    var temp3 = 3
>>    var temp4 = 4
>>    var temp5 = 5
>>    var temp6 = 6
>>    var temp7 = 7
>>    var temp8 = 8
>>    var temp9 = 9
>>    var temp10 = 10
>>    var temp11 = 11
>>    var temp12 = 12
>>    var temp13 = 13
>>    var temp14 = 14
>>    var temp15 = 15
>>    var temp16 = 16
>>    var temp17 = 17
>>    var temp18 = 18
>>    var temp19 = 19
>>    var temp20 = 20
>>    var temp21 = 21
>>    var temp22 = 22
>>    var temp23 = 23
>>    var temp24 = 24
>>    var temp25 = 25
>>    var temp26 = 26
>>    var temp27 = 27
>>    var temp28 = 28
>>    var temp29 = 29
>>    var temp30 = 30
>>    var temp31 = 31
>>    var temp32 = 32
>>    var temp33 = 33
>>    var temp34 = 34
>>    var temp35 = 35
>>    var temp36 = 36
>>    var temp37 = 37
>>    var temp38 = 38
>>    var temp39 = 39
>>    var temp40 = 40
>>    var temp41 = 41
>>    var temp42 = 42
>>    var temp43 = 43
>>    var temp44 = 44
>>    var temp45 = 45
>>    var temp46 = 46
>>    var temp47 = 47
>>    var temp48 = 48
>>    var temp49 = 49
>>    var temp50 = 50
>>    var temp51 = 51
>>    var temp52 = 52
>>    var temp53 = 53
>>    var temp54 = 54
>>    var temp55 = 55
>>    var temp56 = 56
>>    var temp57 = 57
>>    var temp58 = 58
>>    var temp59 = 59
>>    var temp60 = 60
>>    var temp61 = 61
>>    var temp62 = 62
>>    var temp63 = 63
>>    var temp64 = 64
>>    var temp65 = 65
>>    var temp66 = 66
>>    var temp67 = 67
>>    var temp68 = 68
>>    var temp69 = 69
>>    var temp70 = 70
>>    var temp71 = 71
>>    var temp72 = 72
>>    var temp73 = 73
>>    var temp74 = 74
>>    var temp75 = 75
>>    var temp76 = 76
>>    var temp77 = 77
>>    var temp78 = 78
>>    var temp79 = 79
>>    var temp80 = 80
>>    var temp81 = 81
>>    var temp82 = 82
>>    var temp83 = 83
>>    var temp84 = 84
>>    var temp85 = 85
>>    var temp86 = 86
>>    var temp87 = 87
>>    var temp88 = 88
>>    var temp89 = 89
>>    var temp90 = 90
>>    var temp91 = 91
>>    var temp92 = 92
>>    var temp93 = 93
>>    var temp94 = 94
>>    var temp95 = 95
>>    var temp96 = 96
>>    var temp97 = 97
>>    var temp98 = 98
>>    var temp99 = 99
>>    var temp100 = 100
>>    var temp101 = 101
>>    var temp102 = 102
>>
>>  
>> $array(temp1,temp2,temp3,temp4,temp5,temp6,temp7,temp8,temp9,temp10,temp11,temp12,temp13,temp14,temp15,temp16,temp17,temp18,temp19,temp20,temp21,temp22,temp23,temp24,temp25,temp26,temp27,temp28,temp29,temp30,temp31,temp32,temp33,temp34,temp35,temp36,temp37,temp38,temp39,temp40,temp41,temp42,temp43,temp44,temp45,temp46,temp47,temp48,temp49,temp50,temp51,temp52,temp53,temp54,temp55,temp56,temp57,temp58,temp59,temp60,temp61,temp62,temp63,temp64,temp65,temp66,temp67,temp68,temp69,temp70,temp71,temp72,temp73,temp74,temp75,temp76,temp77,temp78,temp79,temp80,temp81,temp82,temp83,temp84,temp85,temp86,temp87,temp88,temp89,temp90,temp91,temp92,temp93,temp94,temp95,temp96,temp97,temp98,temp99,temp100,temp101,temp102)
>>
>>
>>
>>    --    Neko : One VM to run them all
>>    (http://nekovm.org)
>>
>>
>>
>
> --
> Neko : One VM to run them all
> (http://nekovm.org)
>
-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to