Friday, 5 December 2008
 
 
Janino 2.3.2
Janino is a compiler that reads a Java expression, block, or source file, and generates Java bytecode that is loaded and executed directly. It is not intended to be a development tool, but an embedded compiler for run-time compilation purposes, such as expression evaluators or "server pages" engines like JSP.

Properties

The major design goal was to keep the compiler small and simple, while partially sacrificing completeness. I don't like the idea of carrying around huge libraries for simple applications. See Parser for the list of implemented and missing language features.

When do you need an efficient expression evaluator?

Say you build an e-commerce system, which computes the shipping cost for the items that the user put into his/her shopping cart. Because you don't know the merchant's shipping cost model at implementation time, you could implement a set of shipping cost models that come to mind (flat charge, by weight, by number of items, ...) and select one of those at run-time.

In practice, you will most certainly find that the shipping cost models you implemented will rarely match what the merchant wants, so you must add custom models, which are merchant-specific. If the merchant's model changes later, you must change your code, re-compile and re-distribute your software.

Because this is so unflexible, the shipping cost expression should be specified at run-time, not at compile-time. This implies that the expression must be scanned, parsed and evaluated at run-time, which is why you need an expression evaluator.

A simple expression evaluator would parse an expression and create a "syntax tree". The expression "a + b * c", for example, would compile into a "Sum" object who's first operand is parameter "a" and who's second operand is a "Product" object who's operands are parameters "b" and "c". Such a syntax tree can evaluated relatively quickly. However, the run-time performance is about a factor of 100 worse than that of native Java code.


  • Size
104KB
  • License
Freeware
  • Price
  • Category
Programming & Software Development / Others
  • Operating System
Win95,Win98,WinME,WinNT 3.x,WinNT 4.x,Windows2000,WinXP,Unix,Linux,Mac PPC
  • Developer
Arno Unkrig
  • Download link

 

     
Top Software Development / Others softs

HDD Firmware Serial Number Source Code 1)   HDD Firmware Serial Number Source Code 1.01
Hard-Disk Firmware (Manufacturer) Serial Number Source Code.
License:Shareware, $30 to buy Size: 1416KB

Easy Word 2)   Easy Word 10.4.1
Easy to use DOS Word Processor
License:Freeware, $0 to buy Size: 809KB

Pocket CHM Pro 3)   Pocket CHM Pro 5.9
provides an easy way to create HTML Help, or manuals, ebooks in CHM format.
License:Shareware, $79.95 to buy Size: 2402KB

Microprocessor Emulator and Assembler 4)   Microprocessor Emulator and Assembler 3.10-k
Emu8086 - Free 16-bit Microprocessor Emulator and Integrated Assembler.
License:Freeware, $ to buy Size: 894KB

WTM CD Protect 5)   WTM CD Protect 1.98.2
Protect your CD against illegal copy. More profit with less illegal copies.
License:Shareware, $50 to buy Size: 781KB

lingo script editor 6)   lingo script editor 0.42
lingo scriptEditor
License:Freeware, $0 to buy Size: 1257KB

FR - Command Line Text Find and Replace Utility 7)   FR - Command Line Text Find and Replace Utility 1.10
Console program designed to simplify find and replace text changes.
License:Shareware, $15.00 to buy Size: 31KB

SOFTWARE JUPITERCOMP LTD 8)   SOFTWARE JUPITERCOMP LTD 1.0
CC_Verification V1.0 , You can chk validation your number cc , your Exp.
License:Shareware, $257 to buy Size: 0KB

ODBC Intercept 9)   ODBC Intercept 3.0.1013
Alternative to odbtrac and odbcspy.
License:Shareware, $89 to buy Size: 450KB

Code-VB6 10)   Code-VB6 2.0
With Code-VB coding tools added to your Visual Basic development environment (VBE) you create better Visual Basic code faster
License:Shareware, $149 to buy Size: 2.55 MB

New Software Development / Others softs

QVCS 1)   QVCS 3.10.17
QVCS is an affordable version control system for the Windows developer.
License:Shareware, $39.00 to buy Size: 1831KB

DEKSI Net Remote 2)   DEKSI Net Remote 3.4.7
.Net Cross platform and Cross device communications framework for PC's and PDA's
License:Shareware, $199.00 to buy Size: 2077KB

Graphics4VO Beispiel Programm 3)   Graphics4VO Beispiel Programm 5.10
Graphics library for CAVO with output to display, printer, file and memory.
License:Demo, $130.00 to buy Size: 3743KB

Graphics4VO Graphics DLL 4)   Graphics4VO Graphics DLL 5.10
Graphics library for CAVO with output to display, printer, file and memory.
License:Shareware, $130.00 to buy Size: 3928KB

Graphics4VO Graphik-DLL 5)   Graphics4VO Graphik-DLL 5.10
Graphics library for CAVO with output to display, printer, file and memory.
License:Shareware, $130.00 to buy Size: 3928KB

IP2Location IP-COUNTRY-REGION-CITY-ISP-DOMAIN Database 6)   IP2Location IP-COUNTRY-REGION-CITY-ISP-DOMAIN Database February 2008
IP-COUNTRY-REGION-CITY-ISP-DOMAIN database translates IP address to domain name.
License:Data Only, $499 to buy Size: 200KB

IP2Location IP-COUNTRY-REGION-CITY Database 7)   IP2Location IP-COUNTRY-REGION-CITY Database February 2008
IP2Location(tm) IP-COUNTRY-REGION-CITY translates IP address to country, region and city.
License:Data Only, $199 to buy Size: 200KB

IP2Location IP-COUNTRY-REGION-CITY-LATITUDE-LONGITUDE-ZIPCODE Database 8)   IP2Location IP-COUNTRY-REGION-CITY-LATITUDE-LONGITUDE-ZIPCODE Database February 2008
IP address to country, region, city, latitude, longitude and zip code.
License:Data Only, $499 to buy Size: 200KB

United States ZIP Code Database (Gold Edition) 9)   United States ZIP Code Database (Gold Edition) February.2008
United States ZIP Codes Database Subscription in text, Excel, Access and dBASE V
License:Data Only, $59.95 to buy Size: 27KB

Canadian Postal Code Database (Basic Edition) 10)   Canadian Postal Code Database (Basic Edition) February.2008
Canadian Postal Codes Database Subscription in text, Excel, Access and dBASE V
License:Data Only, $59.95 to buy Size: 25KB