<import.h>
def dice(){
while(True)[
var seed = (a * seed + c) % modulus;
yield seed;
]
}
def main(){
var io = require("stdio.h");
io.println(dice[]);
}
It's neither JavaScript, Python, nor C.
<import.h>
def dice(){
while(True)[
var seed = (a * seed + c) % modulus;
yield seed;
]
}
def main(){
var io = require("stdio.h");
io.println(dice[]);
}