Downloaded it! I'm really sorry that I can't be of any help right now, my ATmega board is not yet available but I'm interested in your development. Thank you!
Vasi(funlw65) On Apr 28, 3:07 pm, Joep Suijs <[email protected]> wrote: > Hi guys, > > Last week I reported a blinking led on arduino, which the step from > running some translated code fragments on a PC to an actual working > program on an embedded system. > Since then, the translator has been extended to support a substantial > subset of JAL. The current featues are: > > - declaring and using variables of type byte, sbyte, word, sword, > dword and sdword. > - expressions > - defining and using procedures and functions, with 'in' and 'out' variables. > - conditional statements (if then elsif) > - for loops (including 'using'), forever loops, while, repeat. > - case statement > > So this will enable you to write actual programs! > The translater allows you to use variables and functions that exist > within the C environment, so there is no need to create detailled > device files for each micro. In fact, you can probably create a single > 'device file' to support all ATmega processors. And for this reason, I > did not give priority on the implementation of 'at' and 'is' options > of variable definitions. > If you want to use a c-function, you can do so without defining it. > The translater assumes all varialbes are 'in'. If this is not the > case, use JAL function / procedure prototypes to tell the compiler how > to call the functions. > > But there is still work to do. The major task that keeps me busy at > the moment are pseudo vars, which are pretty complex to implement. > Volatile vars are not supported either, but variables declared 'out' > are more volatile than with the JAL compiler and this will probably be > enough (I can't think of a situation where it is not...). Aliasses, > bit variables and arrays are further down on the list and with those, > the translator supports most of the relevant features... > > So go and give the translator a try on your favorite target with > C-compiler support and tell me what you think! > > 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 > athttp://groups.google.com/group/jallib?hl=en. -- 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.
