sasa72 wrote:Unfortunately, I have had no time to read or search the forum more carefully. Feel free to point on discussion you refer.
Well, discussions flame and die out. The most intense discussions lately concerned expression evaluation rules and presence of booleans (the latter were for some time removed from mP and mB compilers - they're still absent in mP PRO manual).
Present expression evaluation rules are a compromise between ease of use and saving limited processor resources but there are still differences between runtime and compile-time calculations, and boolean is not a real type (it's in fact identical with byte). If you need more starting points for discussion, there is the for..to loop where final value expression is evaluated every loop and continue statement is followed by loop counter increment. Some libraries resemble C more than Pascal, etc. etc.
As a senior programmer mostly spent professional life programming in Pascal and Delphi, I simply do not appreciate much radical syntax/semantic language difference...
Who does? It would be ideal, if one could switch from platform to platform following one set of rules. The sad truth is that Pascal is not a popular language in embedded world and there's very little choice, if any, when one looks for Pascal compilers. And small processors also limit the programming language - what would be the use of a beautifully written object Pascal compiler, if, due to ROM and RAM limitations only very simple programs could be written?
What I'm driving at is that one has to make some compromises and you'll find them in mP, but by no means one has to stop expecting reasonable improvements.
Strict type checking as an option would be welcome, beginners would certainly appreciate it and more demanding users could always switch it off when code space becomes scarce or for writing optimised libraries.
There's a place for posting such suggestions - it's mP PRO for PIC Wishlist forum. Please post your proposal there for mE to find it.