Snek is a programming language made up of a subset of Python which targets embedded systems with really limited resources as in just a few kB of system memory. It is an alternative to MicroPython, which is also designed for small embedded systems, when that language demands too much in terms of resources.
Snek is licensed under the GNU GPL v3.
Version 1.0 of the Snek programming language was announced by Keith on June 10th, 2019.
It is possible to use this language to program those very limited devices included in Lego-sets. There is some information regarding how this can be done at https://keithp.com/snek/snek-lego/