S
S
Semyon2021-02-21 18:14:10
Arduino
Semyon, 2021-02-21 18:14:10

How to write under Arduino in Python?

You need to make an ide to work with Arduino in a python-like syntax. This requires the support of Arduino libraries. My idea is this - the user writes a program using my syntax, when the program is launched, the code is converted to the native format of the Arduino IDE (C ++) and only then to the machine avr. But it looks crutch. Can you suggest any other options?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-02-21
@Hitreno

1. Will you also port the documentation for all libraries?
2. Yes, it can be done, but as a result, it will most likely be the same pluses, and not a python, since there is no automatic garbage collection.
3. You will have to write a translator from your language to the Arduino pros.
4. For a good life, you still have to write your own arduino-ide with language support, highlighting, auto-formatting and more.
IMHO. This is not advisable. There is no benefit in using indentation instead of curly braces.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question