add new operand calculate const and pop

This commit is contained in:
ValKmjolnir
2023-03-10 22:27:06 +08:00
parent c6becf864d
commit 1039d7d7ba
8 changed files with 151 additions and 83 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ var run=func(width,height){
forindex(var j;map[i])
map[i][j]=rand()<0.45?'O':'.';
for(var r=0;r<400;r+=1){
for(var r=0;r<200;r+=1){
prt(map);
for(var i=0;i<height;i+=1)
for(var j=0;j<width;j+=1){
@@ -154,5 +154,5 @@ var ppm_gen=func(width,height){
if (size(runtime.argv()) and runtime.argv()[0]=="--generate-ppm") {
ppm_gen(1500*4,1500);
} else {
run(80,30);
run(60,25);
}