berry-lang / berry

A ultra-lightweight embedded scripting language optimized for microcontrollers.
https://berry-lang.github.io
MIT License
782 stars 95 forks source link

when I use integer number on terminal, compiler back "ld" (hex = 108 100). #434

Open msdarici opened 6 days ago

msdarici commented 6 days ago

I adapt the code to stm32. But when I use integer number for instance; 1+4, the code back "ld". Another example; first a=5 and then a, the code back "ld". How can I solve this. What is the source of this error? I try to find "ld" in the code but I can not find

s-hadinger commented 6 days ago

I have no idea. I believe you need to add some debug/logging code to understand what is happening

msdarici commented 6 days ago

I solved the problem ; Ekran görüntüsü 2024-06-27 120622 I changed BE_INTGER_TYPE 2 to 0.