![]() |
Use Mirah rather than Java for controller code: check out my new library!
Hello!
I'm hoping to get involved with FIRST again this year as a mentor after taking a few years off, but I figured in the mean time, I'd hack something out to help out everyone. :) I just released Fresno, a framework that does two things:
The framework is meant to make it possible to use Mirah (a language that compiles down to Java or JVM bytecode with no runtime overhead at all) to write your controller code rather than Java or C++. Why would you want to do that you might ask? Well, here's a trivial example: Code:
// JavaCode:
arr = [1,2,3,4]So, if you're interested, head over to my GitHub repo page for the project and fork it/clone it/install it. It's still very early in its development, so the install process could be a little arduous and there are very likely looming bugs. I plan to make the install a little smoother soon, but if you're a brave early adopter, then please head over and check it out. I'm also working on a Mirah tutorial since the documentation for it is severely lacking. If you're wanting to try it out now, poke around on GitHub at the various Mirah projects for some examples. One thing that would be a huge help: I actually don't have a cRIO board in my possession (yet? Anyone want to lend/sell me one for testing this stuff? :)), so while the code appears to build and such, I don't know if it *actually* works on the board. So if any of you get a chance to check it out and try it on a real board, let me know if it works like I think it should. :) If it breaks (or anything else), file an Issue on the GitHub repo so I can get to work on fixing it. |
Re: Use Mirah rather than Java for controller code: check out my new library!
What capabilities will your framework offer beyond those of WPIlibJ?
Quote:
Have you checked that Mirah can be compiled to Java ME CLDC? I know a lot of other JVM-targed languages use reflection APIs behind the scenes that aren't included with the lightweight JVM that runs on the cRIO. |
Quote:
Quote:
Quote:
|
| All times are GMT -5. The time now is 02:15. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi