Judoscript

Judoscript

Infobox programming language
name = Judoscript
logo =
paradigm = object-oriented, scripting
year = November 2001
designer = James Jianbo Huang
developer = James Jianbo Huang
latest release version = RC1
latest release date = Dec. 2006
typing = dynamic, strong
implementations =
dialects =
influenced_by = Python, Ruby, Perl, Smalltalk, Java
influenced =

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.cite web
title = Judoscript Home Page
url = http://www.judoscript.com/home.html
accessdate = 2007-10-04
] cite book | last = Artiges | first = Mark | title = Bea Weblogic Server 8. 1 Unleashed | publisher = SAMS | location = Indianapolis | year = 2004 | isbn = 0672324873 ] cite book | last = Holzner | first = Steven | title = Ant | publisher = O'Reilly | location = Sebastopol | year = 2005 | isbn = 0596006098 ]

Overview

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

History

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.

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 HTMLdo 'http://www.example.com' as sgml { : println 'Found a hyperlink:' , $_.href;

: println 'Found a paragraph tag.'; TEXT: println 'Found some text:' , $_.length();}

See also

* List of Java scripting languages

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • List of Java scripting languages — This is a list of some scripting languages available for the Java platform: *the Bean Scripting Framework (BSF) *BeanShell *Frink *Groovy *Hecl *Jacl *JavaScript (via Rhino) *Jelly (Programming Language) *Joy *JRuby *Judoscript *Jython… …   Wikipedia

  • Java bytecode — is the form of instructions that the Java virtual machine executes. Each bytecode instruction or opcode is one byte in length, however not all of the possible 256 instructions are used. In fact, Sun Microsystems, the original creators of the Java …   Wikipedia

  • List of JVM languages — This list of JVM Languages comprises computer programming languages that are used to produce software that runs on the Java Virtual Machine. Some of these languages are interpreted by a Java program, and some are compiled to Java bytecode and… …   Wikipedia

  • Java — Иное название этого понятия  «Ява»; см. также другие значения. Не следует путать с JavaScript. Java Класс языка …   Википедия

  • Sun Microsystems — Sun Microsystems …   Википедия

  • Jython — Тип компилятор, интерпретатор, виртуальная машина Написана на Python и Java Операционная система Кроссплатформенное ПО Аппаратная платформа Java Virtual Machine Последняя версия …   Википедия

  • Java Platform, Enterprise Edition — Тип Платформа программирования Разработчик Sun Microsystems …   Википедия

  • Java Platform, Micro Edition — Java Card Micro Edition (ME) Standard Edition (SE) …   Википедия

  • MIDP — (англ. mobile information device profile)  профиль для мобильного устройства с информационными функциями (платформа J2ME). MIDP определяет понятие мидлета  компактного приложения на языке Java, имеющего небольшой размер (обычно… …   Википедия

  • Java Virtual Machine — В этой статье не хватает ссылок на источники информации. Информация должна быть проверяема, иначе она может быть поставлена под сомнение и удалена. Вы можете …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”