From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search
Paradigm object-oriented, scripting
Appeared in November 2001
Designed by James Jianbo Huang
Developer James Jianbo Huang
Stable release RC1 (Dec. 2006)
Typing discipline dynamic, strong
Influenced by Python, Ruby, Perl, Smalltalk, Java

Judoscript is one of several general purpose programming languages designed primarily for scripting on the Java platform. Its originator and primary developer is software engineer James Jianbo Huang.[1] [2] [3]



Judoscript was one of the first general purpose scripting languages designed specifically for use with the Java platform.


James Jianbo Huang originated Judoscript initially as a collection of several separate packages, libraries and Domain specific languages that he originated for use with the Java platform in J2EE Enterprise applications.

Huang designed and intended Judoscript and to provide a globally simple and intuitive scripting framework capable of leveraging the full suite of Java packages and third-party extensions to Java. The foundation of this design strategy was to provide an infrastructure: 1) with all the flexibility of a command shell; 2) with full interoperability and access to all facilities of Java; and 3) a simplified syntax that was intuitive to developers who are not necessarily Java programmers. [1]

Language design

Because of the design principles of Judoscript, Huang has stated that it is generally not suitable for Enterprise-scale application development, and is not intended to replace traditional Java syntax. For example, unlike the Beanshell scripting language, Judoscript has many simplifying syntax constructs (i.e., "syntactic sugar") that is not available within traditional Java syntax. This means that code written for Judoscript cannot be expected to compile in a Java compiler without any changes.

The advantage gained by this trade-off is that Judoscript allows for specialized constructs that are designed specifically for use with a given problem-domain. This obviates the need for "bottom up" programming that is designed from scratch using basic data structures and custom-made algorithms. Admittedly, such "bottom-up" programming is already obviated in large part by the extensive availability of standard and third-party libraries within the Java platform itself. The problem, according to Huang, is that these libraries often assume a higher level of experience with Java programming than is feasible or practical given the development requirements of most scripting applications.

Language features

Example: a simple HTML scraping routine written as a loop:

// print out information found inside HTML
do 'http://www.example.com' as sgml {
    <a>:          println 'Found a hyperlink:' , $_.href;
    <p>:          println 'Found a paragraph tag.';
    TEXT:         println 'Found some text:'   , $_.length();

See also

External links


  1. 1.0 1.1 "Judoscript Home Page". http://www.judoscript.org/judo.html. Retrieved 2007-10-04. 
  2. Artiges, Mark (2004). Bea Weblogic Server 8. 1 Unleashed. Indianapolis: SAMS. ISBN 0672324873. 
  3. Holzner, Steven (2005). Ant. Sebastopol: O'Reilly. ISBN 0596006098. 

Personal tools

Served in 0.857 secs.