Hi Mike, William et al, 2010/4/7 m...@watty <[email protected]>: > > >> We can actually do both C and Python for awhile and maybe you'll come >> to like Python. Would it take much effort to generate a c-output? If so, I'd like to receive it and take a look.
> I'm still confused as to why this is got anything to do with Jallib or > jal. It would allow you to write jal programs and run them on any system with a c-compliler. I'd expec you'd like this - more jal and less c ;) > If it works on 18F why port it to any other chip? Why would you use JAL for 18F while there is a good C compiler? It is on 16F chips that JAL provides real added value, since afaik JAL has better quality than the C compilers. > If you really need an ARM, x86 or MIPS (PIC32) (forget the other > processors mostly and possibly MIPS too) and not an 18F, it's likely > you need an OS too. I see little value in porting existing JAL code. I don't think this is universally true - many of those chips don't have the memory or processing power for a real os, but that's besided the issue. Like this you can use JAL to write programs for operating systems too. > Translated code is a terrible basis for a new project, esp. to C where > there is no shortage of Libraries for ARM, MIPS (PIC32) and x86. It's not a basis for a project, C is used as portable assembler ;) > I've looked at PIC16 C compilers compared with JAL. There is no reason > whatsover you would use C on 16F and 18F if you have a Jal programmer > and compiler. Well... C has structures, enums, pointers (so you can have objects). I know you'll reply 'C is evil', but it provides many powerfull features you'd like to have in JAL... > Of course maybe I have totally misunderstood what the purpose of this > is. As you may have deduced, I would never have used JAL if there was a good C compiler for 16f back in 2003 and would be seriously tempted to switch if there was one now. For me, this is hobby, which is the purpose on it's own. I am not interessted in the jal-to-c converter as the result, but in the creation of such a converter. Joep -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
