That reminds me a bit of PILOT: https://en.wikipedia.org/wiki/PILOT
say 'hello world'
let list = [1,2,3]
for item in list: say item
def add(x,y): ret x+y
is? a=1 say 'ok' no? say 'wrong'
Easier for the compiler and for the human.