mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-26 21:08:45 +08:00
⚡ add new operand calculate const and pop
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user