(moving to a separate thread) <https://kotlinlang....
# python-contributors
@louiscad +1, I'm also looking at it right now for my hobby project, so in terms of "want" - I'm in 🙂 We'd need to learn how it differs from the "standard" Python. So far I learned that it's just a subset of Python, in terms that it supports/implements a certain part of the language. No idea what about the libraries. Quickly thinking, I see no problem with generating MicroPython-compatible simple Python and covering MicroPython and "standard" Python this way. It might be even the case now since I don't recall us generating any fancy Python code.
when generating AST entities, I assumed Python 3.9, but as I said, in practice we can probably limit ourselves to simple language features
That's about the language itself, and from the libraries point of view, I saw Micropython exposed its own API for accessing embedded peripherals, so it would need to be exposed in Kotlin as typed API
l
Do we have a Kotlin/JS like of defining functions for external python code?
p
Not yet done, but it's planned
I'm working to get MicroPython working on my board with STM32, so that I can experiment with what MP can do
l
Found this (long) article on differences between Python and MicroPython: https://core-electronics.com.au/tutorials/Python_and_MicroPython.html
p
👍🏼 1