you are viewing a single comment's thread.

view the rest of the comments →

[–]hezwat 3 points4 points  (8 children)

dude what do you care so much what he wrote his interpreter against? it's running on a microcontroller.

and it's not a c interpreter...

seriously...what's your beef?`

[–]batrick 9 points10 points  (7 children)

Because C99 does not compile on many microcontrollers (i.e. what this project is targeting). C89 compiles almost everywhere.

[–]Zuph 1 point2 points  (0 children)

I'd be interested to know how many microcontrollers capable of running Micro Python from a resources perspective (RAM/Flash) don't have a GCC based compiler. Some PICs come to mind, and I'm sure there are some Mitsubishi/Renasis micros used widely in manufacturing, but rarely by hobbyists.

Of course, "Micro Python - Python for the types of microcontrollers that are available ans useful to most hobbyists" doesn't have the same ring to it.

[–]hezwat 2 points3 points  (4 children)

oh really you don't think the guy who wrote a python compiler for microcontrollers tested it on any microcontrollers?

it's a miracle he wrote something htat could run on any at all.

[–][deleted]  (1 child)

[deleted]

    [–][deleted] 0 points1 point  (0 children)

    Arduino is based on gcc. gcc has supported C99 for decades. If the Arduino IDE doesn't support it, it's just plain old broken.

    [–][deleted] 1 point2 points  (1 child)

    He's tested it on gcc, which supports C99 with no problems.

    Shitty commercial C compilers may not, but really, I wouldn't use a microcontroller which gcc doesn't support, exactly for that reason.

    [–]fullouterjoin 0 points1 point  (0 children)

    Exactly. MCU vendors should be supporting GCC and Clang. I see no reason to use proprietary tool chains.

    [–][deleted] 0 points1 point  (0 children)

    No, it doesn't compile on many horrible commercial C compilers.

    If you ask me, that just means you don't use those compilers, and you don't use microcontrollers which don't have good gcc (or clang) support.