...
PIC Languages. There is JAL which I have never tried and forth which is a lot of fun. It is very extensible.
I did a quick review of JAL on this board a while back. It was not a good review - what got in my way was my preference for C.
If I remember, it was a lot like PASCAL and a lot like C and I didn't look at output, but ease of use... I do like the philosophy though.... programming is programming and language is language.
There was Don Lancaster, who was programming PICs with postscript.
Don Lancaster's Guru's Lair
Probably there are times when one language would be a much better choice than others; probably there are times when it matters little which language...
Flow code seems to get great reviews, but I have never tried it.
what about interpreters, I know there was some nice basic interpreter for 8051, pretty useful stuff .. I tought about making one for PIC but have no use for it still .. maybe there is one available ?
I think there are many interpreters for PIC but that kind of goes against everything you seem to like about producing elegant and fast programs, no?
With regard to to 'C', I think the 'C' stands for C-hinese.
It started out OK years ago, but as it grew it ran out of meaningful symbols.
The thing I like about C is that it hasn't changed much.
It is very simple and non confining...
Seems to me, that C is a lower level language than most, and it seems to be closer to the registers...
C is like "universal assembler"
.. and it just get the job done
yes!
... C code looks and feels like C code.
yes!
If I want objects, I use structs; I don't like C++
I will still advice any newcomer to learn asm or rather learn the register level functionality of the chips as this will give them a greater understanding of the underlying hardware and enable them to write better code in any language.
Mike.
I think this is core.... and great advice...
It is easier to just jump into a higher level language and start developing something, and it is also easier to 'script' (cut and paste code written by others) with a procedural language than with assembly.This is where the trouble comes in for a lot of early learners; they just want to get something working, so hack together something. When it works - or seems to - fine. When it doesn't, they don't know why - so show up here with the word urgent!!! in the subject line.
It is quite like those with no design background making pictures. They often can get a 'good' one, but don't know what went wrong when they make a 'bad' one. (yes there ARE problems with those two words!)
I also think that C and assembly are not good languages to learn to program in, and that PICs (or any micro controller) are also not a good place to learn a language. MODULA PASCAL or BASIC running on an OS - console is the place to start. But then I'm too much a lover of tradition myself...(read: old fart)