javascript regexp
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 625
JavaScript::App 0.13
JavaScript::App is a Perl framework for building dynamic widgets or full applications in Javascript. more>>
JavaScript::App is a Perl framework for building dynamic widgets or full applications in Javascript.
SYNOPSIS
see the documentation for "js-app" ("man js-app" or "perldoc js-app")
"js-app" is a Javascript Application framework with which you can build rich web applications and widgets embeddable in web pages.
<<lessSYNOPSIS
see the documentation for "js-app" ("man js-app" or "perldoc js-app")
"js-app" is a Javascript Application framework with which you can build rich web applications and widgets embeddable in web pages.
Download (0.041MB)
Added: 2006-09-05 License: Perl Artistic License Price:
1154 downloads
Javascript::Menu 2.02
Javascript::Menu is a NumberedTree that generates HTML and Javascript code for a menu. more>>
Javascript::Menu is a NumberedTree that generates HTML and Javascript code for
a menu.
SYNOPSIS
use Javascript::Menu;
# Give it something to do (example changes the menus caption):
my $action = sub {
my $self = shift;
my ($level, $unique) = @_;
my $value = $self->getValue;
return "getElementById(caption_$unique).innerHTML=$value";
};
# Build the tree:
my $menu = Javascript::Menu->convert(tree => $otherTree, action => $action);
my $menu = Javascript::Menu->readDB(source_name => $table, source => $dbh,
action => $action);
my $menu = Javascript::Menu->new(value => Please select a parrot,
action => $action);
my $blue = $menu->append(value => Norwegian Blue);
$blue->append(value => Pushing up the daisies);
$menu->append(value => A Snail);
# Or maybe you just want a navigational menu?
my $menu = Javascript::Menu->new(value => Please select a prime minister);
$menu->append(value => Ariel Sharon,
URL => www.corruption.org/ariel_sharon.htm);
$menu->append(value => Benjamin Netanyahu,
URL => www.corruption.org/bibi.htm);
$menu->append(value => Shaul Mofaz, URL => www.martial_law.org);
# Print it out as a right-to-left menu:
my $css = $menu->buildCSS($menu->reasonableCSS);
print $cgi->start_html(-script => $menu->baseJS(rtl),
-style => $css); #CSS plays an important role.
print $tree->getHTML;
Javascript::Menu is an object that helps in creating the HTML, Javascript, and some of the CSS required for a table-based menu. There are a few other modules that deal with menus, But as I browsed through them, I found that none of them exactly fitted my needs. So I designed this module, with the following goals in mind:
Flexibility
The main feature of this module is the ability to supply all nodes or any specific node with a subroutine that is activated in time of the code generation to help decide what the item will do when it is clicked. This allows customisation far beyond associating a link with every item. Multy-level selection menus become very easy to do (and this is, in fact, what I needed when I started writing this).
I18n
Working with i18n (internationalization) can be a big headache. Working with Hebrew (or Arabic) forces you not only to change your charachters, but also to change your direction of writing. I incorporated into this module the ability to produce right-to-left menus and tested it using a legacy ASCII-based encoding (iso-8859-8).
Object Hierarchy
I designed the module to work with two other modules of mine, Tree::Numbered and Tree::Numbered::DB, which simplify the task of building the menu and allow for construction of a menu from database information.
The current version adds support for highlighting the item thats hovered over. Youll find that having made some preliminary steps, like tweaking the CSS to look the way you like it to, the rest is fairly easy.
<<lessa menu.
SYNOPSIS
use Javascript::Menu;
# Give it something to do (example changes the menus caption):
my $action = sub {
my $self = shift;
my ($level, $unique) = @_;
my $value = $self->getValue;
return "getElementById(caption_$unique).innerHTML=$value";
};
# Build the tree:
my $menu = Javascript::Menu->convert(tree => $otherTree, action => $action);
my $menu = Javascript::Menu->readDB(source_name => $table, source => $dbh,
action => $action);
my $menu = Javascript::Menu->new(value => Please select a parrot,
action => $action);
my $blue = $menu->append(value => Norwegian Blue);
$blue->append(value => Pushing up the daisies);
$menu->append(value => A Snail);
# Or maybe you just want a navigational menu?
my $menu = Javascript::Menu->new(value => Please select a prime minister);
$menu->append(value => Ariel Sharon,
URL => www.corruption.org/ariel_sharon.htm);
$menu->append(value => Benjamin Netanyahu,
URL => www.corruption.org/bibi.htm);
$menu->append(value => Shaul Mofaz, URL => www.martial_law.org);
# Print it out as a right-to-left menu:
my $css = $menu->buildCSS($menu->reasonableCSS);
print $cgi->start_html(-script => $menu->baseJS(rtl),
-style => $css); #CSS plays an important role.
print $tree->getHTML;
Javascript::Menu is an object that helps in creating the HTML, Javascript, and some of the CSS required for a table-based menu. There are a few other modules that deal with menus, But as I browsed through them, I found that none of them exactly fitted my needs. So I designed this module, with the following goals in mind:
Flexibility
The main feature of this module is the ability to supply all nodes or any specific node with a subroutine that is activated in time of the code generation to help decide what the item will do when it is clicked. This allows customisation far beyond associating a link with every item. Multy-level selection menus become very easy to do (and this is, in fact, what I needed when I started writing this).
I18n
Working with i18n (internationalization) can be a big headache. Working with Hebrew (or Arabic) forces you not only to change your charachters, but also to change your direction of writing. I incorporated into this module the ability to produce right-to-left menus and tested it using a legacy ASCII-based encoding (iso-8859-8).
Object Hierarchy
I designed the module to work with two other modules of mine, Tree::Numbered and Tree::Numbered::DB, which simplify the task of building the menu and allow for construction of a menu from database information.
The current version adds support for highlighting the item thats hovered over. Youll find that having made some preliminary steps, like tweaking the CSS to look the way you like it to, the rest is fairly easy.
Download (0.025MB)
Added: 2006-06-12 License: Perl Artistic License Price:
1235 downloads
Fork JavaScript 0.1.0
Fork JavaScript project is a general purpose, namespaced JavaScript library with Ajax, Events, DOM manipulation. more>>
Fork JavaScript project is a general purpose, namespaced JavaScript library with Ajax, Events, DOM manipulation. There are a few bonus lines of code specifically for use with Ruby on Rails but Fork can be happily used outside of Rails also.
Main features:
- an aspiration for the highest quality code
- author documentation
- documented limitations (all libs have them but dont report them)
- in-browser unit/integration tests
- tested in a wide set of browsers.
- functions to help create gracefully degrading web pages
- namespaced code
- does not augment JavaScript built-in prototypes
- does not add a layer of sugar on top of JavaScript to make writing JavaScript like writing in another language
- minimizable with jsmin and includes already minimized versions
- MIT License
- plugin for tight integration with Ruby on Rails
Why?
There are many JavaScript libraries out there. Why add another one to the list? To create a quality library with a liberal license.
I like Ruby on Rails. The Rails default Prototype JavaScript library does not suit many development situations and contains code that makes developing for a wide selection of browsers difficult or impossible. Prototype has some great ideas in its mix but the implementation quality has been questioned many times. Prototype has influenced many JavaScript libraries and some of Prototypes best ideas have also influenced the Fork API.
Because Fork is a namespaced library, you may be able to use both Fork and Prototype simultaneously as you transition from one to the other.
I like the Yahoo! UI library. Of the JavaScript libraries Ive used it has the best API. The YUI library has many valuable nuggets of information about browser bugs and workarounds. The approach of YUI suits browser scripting well.
However there are more than a few places in the code where Im left scratching my head and thinking "why did they do that?" Probably that is how every developer looks at another developers code. The YUI API is the starting point for much of the Fork API.
Most libraries seem to develop too quickly. I like the general debian attitude of careful growth because the browser execution environment is wildly varied and deserves a certain degree of conservatism in the JavaScript we send to it.
<<lessMain features:
- an aspiration for the highest quality code
- author documentation
- documented limitations (all libs have them but dont report them)
- in-browser unit/integration tests
- tested in a wide set of browsers.
- functions to help create gracefully degrading web pages
- namespaced code
- does not augment JavaScript built-in prototypes
- does not add a layer of sugar on top of JavaScript to make writing JavaScript like writing in another language
- minimizable with jsmin and includes already minimized versions
- MIT License
- plugin for tight integration with Ruby on Rails
Why?
There are many JavaScript libraries out there. Why add another one to the list? To create a quality library with a liberal license.
I like Ruby on Rails. The Rails default Prototype JavaScript library does not suit many development situations and contains code that makes developing for a wide selection of browsers difficult or impossible. Prototype has some great ideas in its mix but the implementation quality has been questioned many times. Prototype has influenced many JavaScript libraries and some of Prototypes best ideas have also influenced the Fork API.
Because Fork is a namespaced library, you may be able to use both Fork and Prototype simultaneously as you transition from one to the other.
I like the Yahoo! UI library. Of the JavaScript libraries Ive used it has the best API. The YUI library has many valuable nuggets of information about browser bugs and workarounds. The approach of YUI suits browser scripting well.
However there are more than a few places in the code where Im left scratching my head and thinking "why did they do that?" Probably that is how every developer looks at another developers code. The YUI API is the starting point for much of the Fork API.
Most libraries seem to develop too quickly. I like the general debian attitude of careful growth because the browser execution environment is wildly varied and deserves a certain degree of conservatism in the JavaScript we send to it.
Download (MB)
Added: 2007-01-24 License: MIT/X Consortium License Price:
1005 downloads
Javascript Browser Sniffer 0.5.1
JavaScript Browser Sniffer is a browser identifier written in JavaScript (EcmaScript) and released under the LGPL license. more>>
JavaScript Browser Sniffer is a browser identifier written in JavaScript (EcmaScript) and released under the LGPL license. It can tell your browser name, version and operating system you (the visitor) are using (its like phpsniff, but in JavaScript)
Main features:
- Microsoft Internet Explorer (should work with any version)
- Netscape 4.x, 6.x and 7.x
- Mozilla Seamonkey, Galeon, Firebird, Phoenix, Epiphany, K-Meleon, Camino and Chimera (should work with any version)
- Opera (should work with any version)
- Konqueror (should work with any version)
- Nautilus (version number is not available yet)
- Safari (should work with any version)
- Omniweb (should work with any version))
- Links (should work with any version)
- ELinks (should work with any version)
- PowerMarks (should work with any version)
- Crazy Browser (should work with any version)
- MyIE2 (should work with any version)
- Java (should work with any version)
- iCab (should work with any version)
- NetFront (should work with any version)
- Avant Browser (should work with any version)
- MSN Explorer (should work with any version)
- w3m (should work with any version) (please note that w3m only supports JavaScript on the client-side if using w3m-js)
- Netcaptor (should work with any version)
- Dillo (should work with any version) (only server-side)
- Lynx (should work with any version) (only server-side)
<<lessMain features:
- Microsoft Internet Explorer (should work with any version)
- Netscape 4.x, 6.x and 7.x
- Mozilla Seamonkey, Galeon, Firebird, Phoenix, Epiphany, K-Meleon, Camino and Chimera (should work with any version)
- Opera (should work with any version)
- Konqueror (should work with any version)
- Nautilus (version number is not available yet)
- Safari (should work with any version)
- Omniweb (should work with any version))
- Links (should work with any version)
- ELinks (should work with any version)
- PowerMarks (should work with any version)
- Crazy Browser (should work with any version)
- MyIE2 (should work with any version)
- Java (should work with any version)
- iCab (should work with any version)
- NetFront (should work with any version)
- Avant Browser (should work with any version)
- MSN Explorer (should work with any version)
- w3m (should work with any version) (please note that w3m only supports JavaScript on the client-side if using w3m-js)
- Netcaptor (should work with any version)
- Dillo (should work with any version) (only server-side)
- Lynx (should work with any version) (only server-side)
Download (0.020MB)
Added: 2006-10-19 License: GPL (GNU General Public License) Price:
652 downloads
ff javascript library 1.11
ff javascript library is a minimal library meant to develop real-life Javascript-enabled Web sites. more>>
ff javascript library is a minimal library meant to develop real-life Javascript-enabled Web sites. ff javascript library offers a cross-brower API for all common browsers.
That is, all w3 standards compatible browsers (Mozilla/Firefox, Opera, Safari/Konqueror, etc.) on one side and Internet Explorer on the other side. At less than 7kb for the compressed Javascript version and even less than 3kb for the gzipped version, it offers quick loading even for dialup users.
Main features:
- Crossbrowser AJAX, Event and DOM functions offering the same API for w3 DOM compatible browsers and Internet Explorer.
- DOM helper functions and a DOM builder allowing to easily create complex DOM trees.
- Firebug support / emulation. If the library is executed on firefox with firebug installed it uses firebugs logging and error reporting functions -- otherwise it sets up a firebug emulation. This emulation by default does nothing and logs to a debug DIV when the URL parameter "ffdebug=1" is passed to the document.
- ScriptDoc comments enabling Code Assist functionality in Aptana
Enhancements:
- The DOM Builder supports the tabindex attribute.
- The ff.extend function was added.
- The DOM Builder ignores null arguments now.
<<lessThat is, all w3 standards compatible browsers (Mozilla/Firefox, Opera, Safari/Konqueror, etc.) on one side and Internet Explorer on the other side. At less than 7kb for the compressed Javascript version and even less than 3kb for the gzipped version, it offers quick loading even for dialup users.
Main features:
- Crossbrowser AJAX, Event and DOM functions offering the same API for w3 DOM compatible browsers and Internet Explorer.
- DOM helper functions and a DOM builder allowing to easily create complex DOM trees.
- Firebug support / emulation. If the library is executed on firefox with firebug installed it uses firebugs logging and error reporting functions -- otherwise it sets up a firebug emulation. This emulation by default does nothing and logs to a debug DIV when the URL parameter "ffdebug=1" is passed to the document.
- ScriptDoc comments enabling Code Assist functionality in Aptana
Enhancements:
- The DOM Builder supports the tabindex attribute.
- The ff.extend function was added.
- The DOM Builder ignores null arguments now.
Download (0.017MB)
Added: 2007-03-25 License: BSD License Price:
944 downloads
JavaScript::Squish 0.05
JavaScript::Squish module provides methods to compact javascript source down to just what is needed. more>>
JavaScript::Squish module provides methods to compact javascript source down to just what is needed.
It can remove all comments, put everything on one line (semi-)safely, and remove extra whitespace, allowing fine grained control of the compactness.
Any one of the various compacting techniques can be applied individually, or with in any group.
It also provides a means by which to extract all text literals or comments in separate arrays in the order they appear.
Since JavaScript eats up bandwidth, this can be very helpful, and you can then be free to properly comment your JavaScript without fear of burning up too much bandwidth.
Enhancements:
- The command line utility has been updated to support all the options the library supports, which should make this much more user friendly to casual users.
<<lessIt can remove all comments, put everything on one line (semi-)safely, and remove extra whitespace, allowing fine grained control of the compactness.
Any one of the various compacting techniques can be applied individually, or with in any group.
It also provides a means by which to extract all text literals or comments in separate arrays in the order they appear.
Since JavaScript eats up bandwidth, this can be very helpful, and you can then be free to properly comment your JavaScript without fear of burning up too much bandwidth.
Enhancements:
- The command line utility has been updated to support all the options the library supports, which should make this much more user friendly to casual users.
Download (0.011MB)
Added: 2006-01-20 License: GPL (GNU General Public License) Price:
1372 downloads
Javascript Search Aggregator 1.0.2
Javascript Search Aggregator allows you to perform all of your Web searches from one place. more>>
Javascript Search Aggregator allows you to perform all of your Web searches from one place.
You can create many categories of searches such as work and fun and customize search engines for your specific needs.
Javascript Search Aggregator remembers the last query and state of the tabs and works on any browser with JavaScript support.
Enhancements:
- Do not load last selected engine on first load
<<lessYou can create many categories of searches such as work and fun and customize search engines for your specific needs.
Javascript Search Aggregator remembers the last query and state of the tabs and works on any browser with JavaScript support.
Enhancements:
- Do not load last selected engine on first load
Download (0.004MB)
Added: 2006-07-09 License: BSD License Price:
1203 downloads
PHP/JavaScript interpreter 0.01011
PHP/JavaScript interpreter is a PHP JavaScript script interpreter for server-side use. more>>
This scripting language interpreter is implemented in PHP and allows to execute user-supplied JavaScript-lookalike code server-side, without compromising security because everything runs safely in a sandbox.
This is of course much slower than a real interpreter, but is useful for integration into CMS/Wiki engines to have users extend a sites dynamic functions.
It can be connected to the hosting interpreter (PHP) by allowing access to certain (interface) functions and even PHP variables.
<<lessThis is of course much slower than a real interpreter, but is useful for integration into CMS/Wiki engines to have users extend a sites dynamic functions.
It can be connected to the hosting interpreter (PHP) by allowing access to certain (interface) functions and even PHP variables.
Download (0.030MB)
Added: 2005-04-15 License: Freeware Price:
1657 downloads
Javascript Templating Language 0.1
Javascript Templating Language is a Java-based templating language for producing dynamic content... more>> <<less
Download (0.40MB)
Added: 2007-07-05 License: BSD License Price:
843 downloads
WMS Javascript Library 0.02
WMS Javascript Library is an object-oriented JavaScript library for creating dynamic Web-based maps. more>>
WMS Javascript Library is an object-oriented JavaScript library for creating dynamic Web-based maps from otherwise static WMS (Web Map Service) images by adding pan/zoom functionality with Google Maps-like draggability.
Custom clickable overlays can be added to create a useful GIS.
WMS Javascript Librarys wmsmap.js purpose is to facilitate the creation of dynamics maps using freely available WMS servers. For example to create the dynamic equivalent of the image above, include the javascript files, define the Layer object, create a new map object, and associate it with an html DIV element.
// define layer object
var myLayer = {
URL: http://wms.jpl.nasa.gov/wms.cgi?,
LAYERS: [BMNG],
FORMAT: image/jpeg,
BBOX: [0,0,180,90]
};
// create new map object with layer
var myMap = new WMap(map_div,[myLayer]);
Enhancements:
- This release fixes IE bugs and improves the documentation and example layout.
<<lessCustom clickable overlays can be added to create a useful GIS.
WMS Javascript Librarys wmsmap.js purpose is to facilitate the creation of dynamics maps using freely available WMS servers. For example to create the dynamic equivalent of the image above, include the javascript files, define the Layer object, create a new map object, and associate it with an html DIV element.
// define layer object
var myLayer = {
URL: http://wms.jpl.nasa.gov/wms.cgi?,
LAYERS: [BMNG],
FORMAT: image/jpeg,
BBOX: [0,0,180,90]
};
// create new map object with layer
var myMap = new WMap(map_div,[myLayer]);
Enhancements:
- This release fixes IE bugs and improves the documentation and example layout.
Download (0.38MB)
Added: 2006-01-07 License: AFPL (Aladdin Free Public License) Price:
1392 downloads
Javascript Flickr Slideshow 0.2
Javascript Flickr Slideshow is a slideshow that shows images from Flickr.com. more>>
Javascript Flickr Slideshow is a slideshow that shows images from Flickr.com. You can specify tags and/or users to limit the slideshow.
Javascript Flickr Slideshow uses the "canvas" object, works in Firefox and Internet Explorer using the excanvas.js library, and integrates into any Web page.
Enhancements:
- A bug that caused Internet Explorer to crash when refreshing a page was fixed.
- The API was expanded to handle image and canvas tags.
<<lessJavascript Flickr Slideshow uses the "canvas" object, works in Firefox and Internet Explorer using the excanvas.js library, and integrates into any Web page.
Enhancements:
- A bug that caused Internet Explorer to crash when refreshing a page was fixed.
- The API was expanded to handle image and canvas tags.
Download (0.17MB)
Added: 2007-02-26 License: GPL (GNU General Public License) Price:
988 downloads
PHP/Javascript Jigsaw puzzle 0.1
PHP/Javascript Jigsaw puzzle automatically creates jigsaw puzzles from a folder of images. more>>
PHP/Javascript Jigsaw puzzle automatically creates jigsaw puzzles from a folder of images.
Enhancements:
- javascript libary
<<lessEnhancements:
- javascript libary
Download (0.011MB)
Added: 2006-03-13 License: GPL (GNU General Public License) Price:
778 downloads
Visual REGEXP 3.1
Visual REGEXP lets you easily design and debug regular expressions. more>>
Visual REGEXP project can easily design and debug regular expressions by providing a graphical visualization of the expression and its matches on a sample of your choice.
Version restrictions:
- some regexp can consume a lot of CPU time. This seems to be caused by the use of -all, -inline and -indices flags together.
- when a subexpression is not matched (empty match), the last character of the previous match are coloured. This is due to a problem in Tcl (bug submitted to Scriptics).
Enhancements:
- new version done by Martin Lemburg. Many thanks, Martin.
- it is now a tcl 8.5a4 starpack
- GUI layout changed to be based on a paned window
- GUI code looks different, to be more ergonomic
- the informational labels (replacements & matches) are now sunken
- there are now additional the "first" and "last" navigation buttons
- there is a new option to navigate through matches or matches and submatches
- the displayed count of matches is changed to display the current and the count of matches used for navigation (probably changes, if the new navigation option is changed)
- the replace widget is disabled on startup
- the tcl console is added to the help menu
- the key bindings inside the regexp text widget changed a bit to allow for expanded regexp (-expanded or (?x)) to contain tabs and newlines. Tabs are created with Control-Tab and newlines with Control-Return. Additional with Control-C|V|X (not c|v|x) it is possible to use the clipboard like with Control|Shift-Insert, Shift-Delete.
<<lessVersion restrictions:
- some regexp can consume a lot of CPU time. This seems to be caused by the use of -all, -inline and -indices flags together.
- when a subexpression is not matched (empty match), the last character of the previous match are coloured. This is due to a problem in Tcl (bug submitted to Scriptics).
Enhancements:
- new version done by Martin Lemburg. Many thanks, Martin.
- it is now a tcl 8.5a4 starpack
- GUI layout changed to be based on a paned window
- GUI code looks different, to be more ergonomic
- the informational labels (replacements & matches) are now sunken
- there are now additional the "first" and "last" navigation buttons
- there is a new option to navigate through matches or matches and submatches
- the displayed count of matches is changed to display the current and the count of matches used for navigation (probably changes, if the new navigation option is changed)
- the replace widget is disabled on startup
- the tcl console is added to the help menu
- the key bindings inside the regexp text widget changed a bit to allow for expanded regexp (-expanded or (?x)) to contain tabs and newlines. Tabs are created with Control-Tab and newlines with Control-Return. Additional with Control-C|V|X (not c|v|x) it is possible to use the clipboard like with Control|Shift-Insert, Shift-Delete.
Download (0.025MB)
Added: 2006-03-08 License: GPL (GNU General Public License) Price:
1329 downloads
Extend For JavaScript 1.1
Extend For JavaScript allows you to use traditional single-class inheritance in your JavaScript applications. more>>
Extend For JavaScript allows you to use traditional single-class inheritance in your JavaScript applications. Extend For JavaScript also gives you many advanced features such as runtime class modification, introspection, and change.
It is simple, and does not depend on any other library. It works well with Prototype, jQuery, or MochiKit.
Main features:
- Can be used as a drop-in replacement to the current Prototype Class.create function
- Flexible and reliable super-like functionality
- Rich class-meta information, such as the list of methods defined in class, and for each other method, a link to the class which declared it, and links to all subclasses.
- Dynamic reparenting, which allows to change an existing class parent class.
- Dynamic class change, when you want an object to change its class on the fly.
<<lessIt is simple, and does not depend on any other library. It works well with Prototype, jQuery, or MochiKit.
Main features:
- Can be used as a drop-in replacement to the current Prototype Class.create function
- Flexible and reliable super-like functionality
- Rich class-meta information, such as the list of methods defined in class, and for each other method, a link to the class which declared it, and links to all subclasses.
- Dynamic reparenting, which allows to change an existing class parent class.
- Dynamic class change, when you want an object to change its class on the fly.
Download (0.006MB)
Added: 2006-11-21 License: BSD License Price:
1070 downloads
JavaScript::Minifier 0.01
JavaScript::Minifier is a Perl translation of jsmin.c. more>>
JavaScript::Minifier is a Perl translation of jsmin.c.
SYNOPSIS
use JavaScript::Minifier;
my $obj = new JavaScript::Minifier;
$obj->minify(*STDIN, *STDOUT);
use JavaScript::Minifier qw(jsmin);
jsmin(*STDIN, *STDOUT);
This work is a translation from C to Perl of jsmin.c published by Douglas Crockford. Permission is hereby granted to use the Perl version under the same conditions as the jsmin.c on which it is based.
Refer to the JSMin website for further information: http://javascript.crockford.com/jsmin.html
Speed is a bit slower than the python version and the python and perl versions are quite a bit slower than the c version(of course).
Here are test results processing a 71K javascript file. This is one of the largest we have -- most are considerably smaller.
| wall clock seconds(approximate)
---------------------------------------
Perl: | 1.4
Python: | 1.0
C: | 0.03
Tests performed on a Intel(R) Pentium(R) 4 CPU 1.80GHz under no load.
<<lessSYNOPSIS
use JavaScript::Minifier;
my $obj = new JavaScript::Minifier;
$obj->minify(*STDIN, *STDOUT);
use JavaScript::Minifier qw(jsmin);
jsmin(*STDIN, *STDOUT);
This work is a translation from C to Perl of jsmin.c published by Douglas Crockford. Permission is hereby granted to use the Perl version under the same conditions as the jsmin.c on which it is based.
Refer to the JSMin website for further information: http://javascript.crockford.com/jsmin.html
Speed is a bit slower than the python version and the python and perl versions are quite a bit slower than the c version(of course).
Here are test results processing a 71K javascript file. This is one of the largest we have -- most are considerably smaller.
| wall clock seconds(approximate)
---------------------------------------
Perl: | 1.4
Python: | 1.0
C: | 0.03
Tests performed on a Intel(R) Pentium(R) 4 CPU 1.80GHz under no load.
Download (0.004MB)
Added: 2007-02-12 License: Perl Artistic License Price:
988 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above javascript regexp search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed