Hi Rob, this is a response to your "JAL requests" post, but felt that one 
was getting a bit long.

For large success of JAL, I do believe it must be upgraded, or a new 
compiler must be created in order to support other, larger microprocessors. 
This is not an easy task.

I'm not a fan of the C language, and I'm sure that's why many of us are 
here. Unfortunately for us, it has one of the things we need the most.. It 
supports a wide range of processors. So, I believe we need a way of 
converting our JAL to C and/or to convert C to JAL. A code 
converter/compiler may allow us to run our code on those processors C 
supports, and may allow us to use C libraries in our JAL code.

Some long long time ago, Joep had created JAT, which is currently existing 
as a folder in our repository. I believe it converted JAL code to C but 
wasn't complete. I don't know much about the code that exists there except 
that it used ANTLR found at https://www.antlr.org/ to parse JAL code for 
conversion. There was some criticism about Joep's efforts, partly by myself 
which I regret because this may have been one of the reasons he dropped the 
project. I had believed the JAT project should give the exact same results 
and require little changes to our current, existing code. I don't know 
enough about the project so I'm not sure that is even possible.

I had also attempted to use ANTLR and had made a very tiny program with it, 
so I know it can be quite good at parsing and converting code. What I had 
found was that like Joep, I tried writing my ANTLR code in C, but I think 
JAVA is it's native language (you can write ANTLR in many languages). If I 
was going to try again, I'd try with JAVA.

No matter if a new compiler is written, or if the current is upgraded, 
carefully choose a processor is chosen to start testing on. I'd choose a 
processor that is popular or easy to get prototype boards for. To name a 
few (and I don't know much about these), that would be the processors 
Arduino (wouldn't gain us much?), Rasberry Pi (Too large of a processor?), 
or those used often in drones STM32 F4 (I'd choose these).

So, if your looking for something to fill your time and help out the 
community, this surely will!

Matt.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/555dd1c0-9979-40e3-bdf8-9bc3aead3fb1%40googlegroups.com.

Reply via email to