Janino 2.5.15
Author: Arno
Language: English
OS: Win95,Win98,WinME,WinNT 3.x,WinNT 4.x,Windows2000,WinXP,Unix,Linux,Mac PPC
Publisher: Arno Unkrig
Homepage: http://janino.codehaus.org
Janino 2.5.15
Thank you for downloading Janino
Free Download Janino 2.5.15
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. ..
Janino 2.5.15 Description
" Janino : Updated the overview page. "
Editor: Janino - 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.
Janino 2.5.15 Related Software
- Paper/Picture 2 DXF 1.0 Convert CAD drawings from paper sheets or pictures into digital DXF files for editing in your CAD application. Scan a drawing or open a picture from your hard disk. The program recognizes the lines and...
- Ringtone Editor 1.0 Create your own ringtones for your realtone mobile! Read in a track from an audio CD or open an existing mp3 or wav file from your hard disk. You can cut out unimportant parts, change the volume and.....
- 20sim Viewer 4.0.1.7 20-sim is an advanced modeling and simulation package for Windows. With 20-sim you can simulate the behavior of dynamic systems, such as electrical, mechanical and hydraulic systems or any combination of...
- PDF 2 DXF 2.0 Do you get PDF files with CAD drawings inside? Now you can extract these drawings and save it as DXF file and open it in you CAD application. PDF 2 DXF can open PDF files and save all vector objects...
- PDF-PhotoAlbum 1.0 Now you can create you digital photo albums as professional PDF files! You can then print and distribute them, burn them on a CD, send them with email or publish them on internet! The advantage is that....
- foreclosurehelp.exe 1.0 It is possible to stop home foreclosure. We can show you were to get foreclosure help...
- ABA Picture Convert 1.2 ABA Picture Convert allow to save the images from directory into another formats.Supported the most popular document formats including png, jpeg, gif, tif, bmp, psd.You may not only change the image...
- Freaky Burn 1.1 Freaky Burn-CD / DVD Burning software, allowing you to burn Games, Movies, Data, Audio, Mp3, Documents Much more in a matter of few short clicks. Freaky Burn is using the latest technology in the.d...


