JADE Environment Development Ideas

What's new in the upcoming JADE release?

IMPROVED DEVELOPER EFFICIENCY. ENHANCED SECURITY. SMOOTHER INTEGRATION

The JADE 2022 release meets tomorrow’s business demands.


Start your update to JADE's latest release

Enable native Java programming (or other languages) in JADE via a translator

Provide an interface to enable developers to write code in Java (or other languages) and have that code translated to JADE code (perhaps with tabs to switch between the two). Many people may say that the languages differ too much, but for most purposes the coding can be directly translated from one to the other with compile warnings for keywords or methods that are not supported.
Implemented simply, it provides a good learning tool and a bridge between languages.
If implemented with real depth and capability, it provides a unique feature to sell the JADE product to the wider developer community.
e.g.
public int test(String[] pErrorArray){
ActorWorld vWorld = new ActorWorld();
Actor vDude = new Actor();
vWorld.add(new Location(0,0), vDude);
vWorld.show();
return 1;
}

Becomes:
test( pErrorArray : String ) : Integer;
vars
vWorld : ActorWorld;
vDude : Actor;
vLocation : Location;
begin
create vWorld transient;
//vWorld.constructor(); - not used, no parameters passed

create vDude transient;
//vDude.constructor(); - not used, no parameters passed

create vLocation transient;
vLocation.constructor(0,0);
vWorld.add(vLocation, vDude)

return 1;
epilog
// - automatically added deletion code for transients
delete vWorld;
delete vDude;
delete vLocation;
end;
  • Guest
  • May 1 2019
  • Closed
HistoricalComments
John Richards 16/05/2018 1:48:44 PM
Your JEDI has been considered by our Review Panel and was not approved for inclusion in a future release of JADE. Our view was that this added a lot of complexity and cost, and that our resources would be better spent improving other parts of the product. Thank you for submitting your JEDI, we are committed to reviewing them all. John Richards, JADE Development Manager.

David Dennis 1/11/2017 9:23:41 AM
Thank you Paul, it's an example of how something can easily be translated, not how to correctly code in JADE. But yes automatically adding transient deletion code would be something to be considered, at very lease in the epilog... for completeness I'll update the example.

Paul Daigneault 31/10/2017 9:33:10 PM
Minor thing, but in your example the temporary transient instances should be deleted.
  • Attach files
  • +2