loda-lang / loda-rust

Web editor for the LODA language. Also includes my experiments with Abstraction and Reasoning Corpus ARC.
https://loda-lang.org/
Apache License 2.0
24 stars 2 forks source link

Errors while running loda-rust pattern #32

Closed kotenok2000 closed 1 year ago

kotenok2000 commented 1 year ago
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(17)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015166.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(17)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015270.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(25)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015345.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(25)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015346.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(25)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015347.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(25)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015349.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(26)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015354.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(26)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015359.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(25)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015360.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(26)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015363.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(23)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015376.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(23)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015377.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(22)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015388.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(22)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015390.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(22)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015391.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(24)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015407.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(22)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015408.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(21)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015409.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(22)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015423.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(22)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015424.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(24)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015427.asm"
[2023-08-14T23:14:01Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(18)) path: "C:/users/frolo/loda/programs/oeis\\015\\A015658.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(21)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022194.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(21)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022195.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(21)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022201.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(25)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022202.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(25)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022203.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(23)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022207.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(22)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022208.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(22)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022209.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(22)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022210.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(25)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022215.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(23)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022216.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(21)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022217.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(25)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022218.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(23)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022225.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(23)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022226.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(21)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022228.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(25)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022236.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(25)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022237.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(23)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022238.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(24)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022247.asm"
[2023-08-14T23:14:02Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(25)) path: "C:/users/frolo/loda/programs/oeis\\022\\A022259.asm"
[2023-08-14T23:14:04Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(26)) path: "C:/users/frolo/loda/programs/oeis\\037\\A037017.asm"
[2023-08-14T23:14:05Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(6)) path: "C:/users/frolo/loda/programs/oeis\\043\\A043499.asm"
[2023-08-14T23:14:07Z ERROR loda_rust::subcommand_pattern] analyze_program. Skipping a program that is too long. path: "C:/users/frolo/loda/programs/oeis\\058\\A058319.asm"
[2023-08-14T23:14:08Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(20)) path: "C:/users/frolo/loda/programs/oeis\\069\\A069858.asm"
[2023-08-14T23:14:08Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(19)) path: "C:/users/frolo/loda/programs/oeis\\070\\A070022.asm"
[2023-08-14T23:14:08Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(19)) path: "C:/users/frolo/loda/programs/oeis\\070\\A070023.asm"
[2023-08-14T23:14:09Z ERROR loda_rust::subcommand_pattern] analyze_program. Skipping a program that is too long. path: "C:/users/frolo/loda/programs/oeis\\081\\A081841.asm"
[2023-08-14T23:14:10Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(18)) path: "C:/users/frolo/loda/programs/oeis\\086\\A086761.asm"
[2023-08-14T23:14:11Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(14)) path: "C:/users/frolo/loda/programs/oeis\\095\\A095071.asm"
[2023-08-14T23:14:11Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(10)) path: "C:/users/frolo/loda/programs/oeis\\095\\A095199.asm"
[2023-08-14T23:14:11Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(13)) path: "C:/users/frolo/loda/programs/oeis\\095\\A095286.asm"
[2023-08-14T23:14:11Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(12)) path: "C:/users/frolo/loda/programs/oeis\\095\\A095315.asm"
[2023-08-14T23:14:11Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(16)) path: "C:/users/frolo/loda/programs/oeis\\095\\A095318.asm"
[2023-08-14T23:14:11Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(12)) path: "C:/users/frolo/loda/programs/oeis\\095\\A095319.asm"
[2023-08-14T23:14:11Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(16)) path: "C:/users/frolo/loda/programs/oeis\\095\\A095322.asm"
[2023-08-14T23:14:11Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(12)) path: "C:/users/frolo/loda/programs/oeis\\095\\A095323.asm"
[2023-08-14T23:14:12Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(10)) path: "C:/users/frolo/loda/programs/oeis\\111\\A111690.asm"
[2023-08-14T23:14:13Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(20)) path: "C:/users/frolo/loda/programs/oeis\\113\\A113851.asm"
[2023-08-14T23:14:13Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(15)) path: "C:/users/frolo/loda/programs/oeis\\115\\A115517.asm"
[2023-08-14T23:14:13Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(9)) path: "C:/users/frolo/loda/programs/oeis\\121\\A121977.asm"
[2023-08-14T23:14:15Z ERROR loda_rust::subcommand_pattern] analyze_program. Skipping a program that is too long. path: "C:/users/frolo/loda/programs/oeis\\138\\A138298.asm"
[2023-08-14T23:14:15Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(19)) path: "C:/users/frolo/loda/programs/oeis\\140\\A140922.asm"
[2023-08-14T23:14:15Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(19)) path: "C:/users/frolo/loda/programs/oeis\\140\\A140930.asm"
[2023-08-14T23:14:15Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(17)) path: "C:/users/frolo/loda/programs/oeis\\140\\A140936.asm"
[2023-08-14T23:14:15Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(19)) path: "C:/users/frolo/loda/programs/oeis\\140\\A140937.asm"
[2023-08-14T23:14:15Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(19)) path: "C:/users/frolo/loda/programs/oeis\\140\\A140938.asm"
[2023-08-14T23:14:15Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(19)) path: "C:/users/frolo/loda/programs/oeis\\140\\A140939.asm"
[2023-08-14T23:14:17Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(12)) path: "C:/users/frolo/loda/programs/oeis\\157\\A157983.asm"
[2023-08-14T23:14:17Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(12)) path: "C:/users/frolo/loda/programs/oeis\\157\\A157984.asm"
[2023-08-14T23:14:20Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(20)) path: "C:/users/frolo/loda/programs/oeis\\180\\A180972.asm"
[2023-08-14T23:14:24Z ERROR loda_rust::subcommand_pattern] analyze_program. Skipping a program that is too long. path: "C:/users/frolo/loda/programs/oeis\\229\\A229036.asm"
[2023-08-14T23:14:25Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(9)) path: "C:/users/frolo/loda/programs/oeis\\231\\A231562.asm"
[2023-08-14T23:14:25Z ERROR loda_rust::subcommand_pattern] analyze_program. Skipping a program that is too long. path: "C:/users/frolo/loda/programs/oeis\\241\\A241468.asm"
[2023-08-14T23:14:26Z ERROR loda_rust::subcommand_pattern] analyze_program. Skipping a program that is too long. path: "C:/users/frolo/loda/programs/oeis\\245\\A245425.asm"
[2023-08-14T23:14:26Z ERROR loda_rust::subcommand_pattern] analyze_program. Skipping a program that is too long. path: "C:/users/frolo/loda/programs/oeis\\245\\A245430.asm"
[2023-08-14T23:14:31Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(6)) path: "C:/users/frolo/loda/programs/oeis\\281\\A281907.asm"
[2023-08-14T23:14:34Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(20)) path: "C:/users/frolo/loda/programs/oeis\\304\\A304373.asm"
[2023-08-14T23:14:34Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(11)) path: "C:/users/frolo/loda/programs/oeis\\306\\A306999.asm"
[2023-08-14T23:14:35Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(11)) path: "C:/users/frolo/loda/programs/oeis\\316\\A316991.asm"
[2023-08-14T23:14:35Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(22)) path: "C:/users/frolo/loda/programs/oeis\\317\\A317543.asm"
[2023-08-14T23:14:37Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(7)) path: "C:/users/frolo/loda/programs/oeis\\336\\A336776.asm"
[2023-08-14T23:14:37Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(7)) path: "C:/users/frolo/loda/programs/oeis\\336\\A336780.asm"
[2023-08-14T23:14:37Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(7)) path: "C:/users/frolo/loda/programs/oeis\\337\\A337068.asm"
[2023-08-14T23:14:39Z ERROR loda_rust::subcommand_pattern] load program, error: ParseParameters(UnrecognizedParameterValue(10)) path: "C:/users/frolo/loda/programs/oeis\\362\\A362010.asm"
neoneye commented 1 year ago

Can you show me the entire content of one of these files. Such as the file at this path: "C:/users/frolo/loda/programs/oeis\\015\\A015166.asm"

It's UnrecognizedParameterValue(17) at a line number 17. I'm curious to see what instruction is on that line.

kotenok2000 commented 1 year ago

It is in the repository. https://github.com/loda-lang/loda-programs/blob/ed96aabf7b3da9f51252c910a3347a37f007dc6d/oeis/015/A015166.asm

; A015166: Inverse of 1157th cyclotomic polynomial.
; Submitted by Science United
; 1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
; Formula: a(n) = ((b(n)-4)/87302158405919092510875+1)%2, b(n) = d(n-1), b(2) = 2, b(1) = 2, b(0) = 0, c(n) = 2*c(n-1), c(2) = 4, c(1) = 2, c(0) = 1, d(n) = 2*d(n-1)*c(n-1)-d(n-1), d(2) = 6, d(1) = 2, d(0) = 2

mov $2,1
mov $3,2
lpb $0
  sub $0,1
  mov $1,$3
  mul $2,2
  mul $3,$2
  sub $3,$1
lpe
mov $0,$1
sub $0,4
div $0,87302158405919092510875
add $0,1
mod $0,2
neoneye commented 1 year ago

Oh, 87302158405919092510875 is bigger than what can be fitted into a 64 bits signed integer.

I like small numbers. Huge numbers I'm not sure what to think of them. Huge magic values is something I want to avoid. Rarely the huge number is of importance. IMHO Programs that contain so big numbers are bad examples, when constructing a new program. That these programs gets ignored, I think that is the best behavior.

What is your opinion?