View Single Post
  #5   Spotlight this post!  
Unread 06-06-2010, 06:34
timothyb89 timothyb89 is offline
code monkey
FRC #1977 (Loveland High Robotics)
Team Role: Alumni
 
Join Date: Oct 2008
Rookie Year: 2009
Location: Loveland, Colorado
Posts: 45
timothyb89 will become famous soon enough
Re: Using A Scripting Language To Script Robot Behaviour

I don't see why not. After all, someone's already ported a JavaScript interpreter to the Java environment.

Scripting languages really have become a science, with so many available. Take the JVM, for instance: languages from PHP to Python to Ruby (even lua) all have Java implementations that can be embedded in code extremely easily, and perform quite well. Some (ie, JRuby) have outperformed their C/C++ counterparts.

As for Lua, though, a quick google search revealed a J2ME-compatible Lua interpreter that could probably run on the current Java environment without too much trouble.
__________________
FRC-DB: A detailed, web-based scouting database for FRC teams with lots of interesting statistics.