Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.323.175 Times

Text::Diff3::DiffHeckel 0.06

  Date Added: May 07, 2010  |  Visits: 863

Text::Diff3::DiffHeckel

Report Broken Link
Printer Friendly Version


Product Homepage
Download (101 downloads)



Text::Diff3::DiffHeckel is a two-way diff plug-in. SYNOPSIS use Text::Diff3; my $f = Text::Diff3::Factory->new; my $p = $f->create_diff; my $mytext = $f->create_text([ map{chomp;$_} < F0 > ]); my $original = $f->create_text([ map{chomp;$_} < F1 > ]); my $diff2 = $p->diff( $origial, $mytext ); $diff2->each(sub{ my( $r ) = @_; print $r->as_string, "n"; if ( $r->type ne d ) { print -, $original->as_string_at( $_ ) for $r->rangeB; } if ( $r->type ne a ) { print +, $mytext->as_string_at( $_ ) for $r->rangeA; } }); ABSTRACT This is a package for Text::Diff3 to compute difference sets between two text buffers based on the P. Heckels algorithm. Anyone may change this to an another diff or a its wrapper module by a your custom Factory instance. Text::Diff3 needs a support of computing difference sets between two text buffers (diff). As the diff(1) command, the required diff module creates a list of tipples recorded an information set of a change type (such as a, c, or d) and a range of line numbers between two text buffers. Since there are several algorithms and their implementations for the diff computation, Text::Diff3 makes a plan independent on any specific diff routine. It calls a pluggable diff processor instance specified in a factory commonly used in Text::Diff3. Anyone may change diff plug-in according to text properties. For users convenience, Text::Diff3 includes small diff based on the P. Heckels algorithm. On the other hands, many other systems use the popular Least Common Sequence (LCS) algorithm. The merits for each algorithm are case by case. In authors experience, two algorithms generate almost same results for small local changes in the text. In some cases, such as moving blocks of lines, it happened quite differences in results.Text::Diff3::DiffHeckel is a two-way diff plug-in..

Requirements: No special requirements
Platforms: Linux
Keyword: Algorithm Diff Diffheckel Libraries Programming R- Text Two-way
Users rating: 0/10

License: Freeware Size: 11.26 KB
USER REVIEWS
More Reviews or Write Review


TEXT::DIFF3::DIFFHECKEL RELATED
Libraries  -  Algorithm::Diff 1.1902
Algorithm::Diff is a Perl module to compute `intelligent differences between two files / lists. SYNOPSIS require Algorithm::Diff; # This example produces traditional diff output: my $diff = Algorithm::Diff->new( @seq1, @seq2 );...
33.79 KB  
Libraries  -  Algorithm::Diff::Apply 0.2.3
Algorithm::Diff::Apply is a Perl module to apply one or more Algorithm::Diff diffs. SYNOPSIS ## Single-diff form: use Algorithm::Diff::Apply qw{apply_diff}; my @ary = ...; my @diff = ...; # some call to Algorithm::Diff::diff() my...
12.29 KB  
Libraries  -  XML::EasySQL 1.2
XML::EasySQL is a two-way SQL/XML base class for Perl. SYNOPSIS ... # fetch a database row as hash ref my $data = $db->selectrow_hashref(select * from users where id = 2); # init the new EasySQL data object my $data_object =...
11.26 KB  
Calendars & Scheduling Tools  -  GCALDaemon 1.0
GCALDaemon is a project that offers two-way synchronization between Google Calendar and various iCalalendar compatible apps. GCALDaemon is an OS-independent Java program that offers two-way synchronization between Google Calendar and various...
6.5 MB  
Utilities  -  rt_x10
rt_x10 is a realtime kernel driver for the X10 "two way power line interface" (model TM523). X10 is a protocol for sending signals over power lines. There are lots of relatively cheap components available at x10.com (and other places) that make...
1.17 MB  
Modules  -  FriendList 1.0
Two relationship styles are allowed: one-way (see: fan) and two-way (friend). One way relationships never need confirmation, whereas two-way relationships need confirmation (or, more formally correct, "mutual relationship"). The module also...
 
Libraries  -  Text::Diff 0.35
Text::Diff can perform diffs on files and record sets. SYNOPSIS use Text::Diff; ## Mix and match filenames, strings, file handles, producer subs, ## or arrays of records; returns diff in a string. ## WARNING: can return B diffs for large...
15.36 KB  
Libraries  -  Algorithm::DiffOld 1.15
Algorithm::DiffOld is a Perl module to compute `intelligent differences between two files / lists but use the old (<=0.59) interface. NOTE This has been provided as part of the Algorithm::Diff package by Ned Konz. This particular module is...
23.55 KB  
Libraries  -  Algorithm::Merge 0.08
Algorithm::Merge is a Perl module package that provides three-way merge and diff. SYNOPSIS use Algorithm::Merge qw(merge diff3 traverse_sequences3); @merged = merge(@ancestor, @a, @b, { CONFLICT => sub { } }); @merged = merge(@ancestor,...
10.24 KB  
Libraries  -  Data::Diff 0.01
Data::Diff is a data structure comparison module. SYNOPSIS use Data::Diff qw(diff); # simple procedural interface to raw difference output $out = diff( $a, $b ); # OO usage $diff = Data::Diff->new( $a, $b ); $new = $diff->apply();...
6.14 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB