Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Scripting technologies  (Read 4726 times)
0 Members and 1 Guest are viewing this topic.
Offline markus.borbely

Junior Member





« Posted 2009-02-23 10:21:07 »

I wonder if you would like to help me make an comparison of different scripting engine available in java. Maybe make this thread sticky? If you reply with more or argue something, I will enter it in the list:

For each scripting language:
* Name
* Introduction
* Status (dead or alive)
* Deployment
* Pros
* Cons

I start with:

Name: Beansell
Description: This scripting language is very java like, but with a few things working differently.
Status: I think it is dead (but working well)
Deployment: Include the jar.
Pros: Easy to develop (both the actual scripting language and to include it in your application). Flexible variables inside the script, before you run a script you can set any value to be used inside the script.
Cons: Not the fastest scripting language around. Not 100% java-like.
Offline CommanderKeith
« Reply #1 - Posted 2009-02-23 16:20:18 »

Name: Janino (http://www.janino.net/)
Description: exact Java syntax, without any weird quirks like BeanShell
Status: Actively developed (i think)
Deployment: Include the jar.
Pros: Fast to run, since the code is compiled to java byte code which the VM can optimise using the Hotspot compiler. Uses the java syntax.
Cons: Can not process code which includes some of the more recent java language advancements, eg generics and varargs.

Offline whome

Junior Member




Carte Noir Java


« Reply #2 - Posted 2009-03-06 12:08:38 »

Name: Javascript, Java Scripting Examples
Descriptioin: javascript engine
Status: one of the "official" Sun java script engines
Deployment: use JDK6/JRE6 and its there already

My few scripting tests. I don't have anything to give benchmarking or feature matrix. But after a short experimentation I find Java6 internal Javascript engine to be a fine candidate.
* it's there already on everyones machine (JDK6, JRE6)
* no additional .jars required
* easy to make app-domain interface+classes and call functions from javascript or vice-versa
* can move back and fort class instances

My example has JRuby variation, it worked but cannot say much about it. Ruby syntax is still new to me.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Nate

JGO Kernel


Medals: 149
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #3 - Posted 2009-04-03 19:22:27 »

* Name: Pnuts
* Introduction: In development since 1997 as a side project of a Sun Japan employee, Toyokazu Tomatsu.
* Status (dead or alive): Alive. Still actively maintained by the original author.
* Deployment: JAR.
* Pros:
  • Shares type system with Java, which makes for cleaner integration.
  • Fast.
  • Stable.
  • Compiles to bytecode or can run interpreted.
  • Source for the Pnuts language is well written.
  • Designed to be similar to Java syntax. To add expressiveness, new syntax is not avoided (unlike Beanshell), but it is kept to a minimum (unlike Groovy). Generally the new syntax is optional, but useful.
  • Thorough documentation.
  • Nice module system for reusing code.
  • Comes with many useful modules.

* Cons
  • Has never been hyped/marketed aggressively, so it lacks a large user community. The author and a handful of users actively answer questions on the mailing list though.
  • No IDE support. This is the toughest part of using most JVM languages. Pnuts does have its own simple debugger for stepping through scripts, but it is primitive.

https://pnuts.dev.java.net/
http://pnuts.org/articles/pnutsHighlights.html
http://en.wikipedia.org/wiki/Pnuts

Offline Roquen
« Reply #4 - Posted 2009-04-05 09:49:49 »

It would probably make sense list the licensing terms of each as well.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Pippogeek (38 views)
2014-09-24 16:13:29

Pippogeek (29 views)
2014-09-24 16:12:22

Pippogeek (18 views)
2014-09-24 16:12:06

Grunnt (42 views)
2014-09-23 14:38:19

radar3301 (24 views)
2014-09-21 23:33:17

BurntPizza (61 views)
2014-09-21 02:42:18

BurntPizza (31 views)
2014-09-21 01:30:30

moogie (36 views)
2014-09-21 00:26:15

UprightPath (49 views)
2014-09-20 20:14:06

BurntPizza (53 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!