thebotslam

Languages and code

Is it real Python? Which parts of Python can I use?

It's a subset of Python 3: what it keeps has the same syntax and meaning as real Python, but it compiles to a tiny robot CPU, so some things are left out. You get numbers, if/while/for, functions, and fixed-size lists. You don't get strings (except in log()), classes, dicts, tuples or other modules. The other text languages (JavaScript, Lua, C++, Java, C#) are subsets in the same way.

Read the full answer, step by step