generates
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2629
B::Generate 1.06
B::Generate is a Perl module which you can create your own op trees. more>>
B::Generate is a Perl module which you can create your own op trees.
SYNOPSIS
use B::Generate;
# Do nothing, slowly.
CHECK {
my $null = new B::OP("null",0);
my $enter = new B::OP("enter",0);
my $cop = new B::COP(0, "hiya", 0);
my $leave = new B::LISTOP("leave", 0, $enter, $null);
$leave->children(3);
$enter->sibling($cop);
$enter->next($cop);
$cop->sibling($null);
$null->next($leave);
$cop->next($leave);
# Tell Perl where to find our tree.
B::main_root($leave);
B::main_start($enter);
}
WARNING
This module will create segmentation faults if you dont know how to use it properly. Further warning: sometimes I dont know how to use it properly.
There are lots of other methods and utility functions, but they are not documented here. This is deliberate, rather than just through laziness. You are expected to have read the Perl and XS sources to this module before attempting to do anything with it.
Patches welcome.
Malcolm Beatties B module allows you to examine the Perl op tree at runtime, in Perl space; its the basis of the Perl compiler. But what it doesnt let you do is manipulate that op tree: it wont let you create new ops, or modify old ones. Now you can.
Well, if youre intimately familiar with Perls internals, you can.
B::Generate turns Bs accessor methods into get-set methods. Hence, instead of merely saying
$op2 = $op->next;
you can now say
$op->next($op2);
to set the next op in the chain. It also adds constructor methods to create new ops. This is where it gets really hairy.
new B::OP ( type, flags )
new B::UNOP ( type, flags, first )
new B::BINOP ( type, flags, first, last )
new B::LOGOP ( type, flags, first, other )
new B::LISTOP ( type, flags, first, last )
new B::COP ( flags, name, first )
In all of the above constructors, type is either a numeric value representing the op type (62 is the addition operator, for instance) or the name of the op. ("add")
(Incidentally, if you know about custom ops and have registed them properly with the interpreter, you can create custom ops by name: new B::OP("mycustomop",0), or whatever.)
first, last and other are ops to be attached to the current op; these should be B::OP objects. If you havent created the ops yet, dont worry; give a false value, and fill them in later:
$x = new B::UNOP("negate", 0, undef);
# ... create some more ops ...
$x->first($y);
In addition, one may create a new nextstate operator with
newstate B::op ( flags, label, op)
in the same manner as B::COP::new - this will also, however, add the lineseq op.
Finally, you can set the main root and the starting op by passing ops to the B::main_root and B::main_start functions.
This module can obviously be used for all sorts of fun purposes. The best one will be in conjuction with source filters; have your source filter parse an input file in a foreign language, create an op tree for it and get Perl to execute it. Then email me and tell me how you did it. And why.
<<lessSYNOPSIS
use B::Generate;
# Do nothing, slowly.
CHECK {
my $null = new B::OP("null",0);
my $enter = new B::OP("enter",0);
my $cop = new B::COP(0, "hiya", 0);
my $leave = new B::LISTOP("leave", 0, $enter, $null);
$leave->children(3);
$enter->sibling($cop);
$enter->next($cop);
$cop->sibling($null);
$null->next($leave);
$cop->next($leave);
# Tell Perl where to find our tree.
B::main_root($leave);
B::main_start($enter);
}
WARNING
This module will create segmentation faults if you dont know how to use it properly. Further warning: sometimes I dont know how to use it properly.
There are lots of other methods and utility functions, but they are not documented here. This is deliberate, rather than just through laziness. You are expected to have read the Perl and XS sources to this module before attempting to do anything with it.
Patches welcome.
Malcolm Beatties B module allows you to examine the Perl op tree at runtime, in Perl space; its the basis of the Perl compiler. But what it doesnt let you do is manipulate that op tree: it wont let you create new ops, or modify old ones. Now you can.
Well, if youre intimately familiar with Perls internals, you can.
B::Generate turns Bs accessor methods into get-set methods. Hence, instead of merely saying
$op2 = $op->next;
you can now say
$op->next($op2);
to set the next op in the chain. It also adds constructor methods to create new ops. This is where it gets really hairy.
new B::OP ( type, flags )
new B::UNOP ( type, flags, first )
new B::BINOP ( type, flags, first, last )
new B::LOGOP ( type, flags, first, other )
new B::LISTOP ( type, flags, first, last )
new B::COP ( flags, name, first )
In all of the above constructors, type is either a numeric value representing the op type (62 is the addition operator, for instance) or the name of the op. ("add")
(Incidentally, if you know about custom ops and have registed them properly with the interpreter, you can create custom ops by name: new B::OP("mycustomop",0), or whatever.)
first, last and other are ops to be attached to the current op; these should be B::OP objects. If you havent created the ops yet, dont worry; give a false value, and fill them in later:
$x = new B::UNOP("negate", 0, undef);
# ... create some more ops ...
$x->first($y);
In addition, one may create a new nextstate operator with
newstate B::op ( flags, label, op)
in the same manner as B::COP::new - this will also, however, add the lineseq op.
Finally, you can set the main root and the starting op by passing ops to the B::main_root and B::main_start functions.
This module can obviously be used for all sorts of fun purposes. The best one will be in conjuction with source filters; have your source filter parse an input file in a foreign language, create an op tree for it and get Perl to execute it. Then email me and tell me how you did it. And why.
Download (0.012MB)
Added: 2006-07-04 License: Perl Artistic License Price:
1207 downloads
Data::Generate 0.01
Data::Generate allows you to create various types of synthetic data by parsing regex-like data creation rules. more>>
Data::Generate allows you to create various types of synthetic data by parsing "regex-like" data creation rules.
This module generates data by parsing given text statements (data creation rules). These statements are flexible and powerful regex-like way to control the production of synthetic data. Think about a program that instead of selecting data which matches a regex filter expression, produces it. For example, from the rule [a-c], the generator would produce the array a,b,c. The module works as following:
Specify data creation rules.
my $generator= Data::Generate::parse(VC(24) [0-9][2-3]);
At this step first you define one kind of output datatype (for ex. VC(24)= "output is a string with max length 24") and then with the rest of the expression define what it should look like. If parsing is successful a Data Generator object is instantiated.
Get data
my $Data= $generator->get_unique_data(10);
To really get the data, users must call the get_unique_data method by indicating the desired number of output values. The generator returns the values contained in an array reference. Please remark that output format is fixed according to the data type.
<<lessThis module generates data by parsing given text statements (data creation rules). These statements are flexible and powerful regex-like way to control the production of synthetic data. Think about a program that instead of selecting data which matches a regex filter expression, produces it. For example, from the rule [a-c], the generator would produce the array a,b,c. The module works as following:
Specify data creation rules.
my $generator= Data::Generate::parse(VC(24) [0-9][2-3]);
At this step first you define one kind of output datatype (for ex. VC(24)= "output is a string with max length 24") and then with the rest of the expression define what it should look like. If parsing is successful a Data Generator object is instantiated.
Get data
my $Data= $generator->get_unique_data(10);
To really get the data, users must call the get_unique_data method by indicating the desired number of output values. The generator returns the values contained in an array reference. Please remark that output format is fixed according to the data type.
Download (0.025MB)
Added: 2007-03-31 License: Perl Artistic License Price:
937 downloads
Class::Generate 1.09
Class::Generate is a Perl module that can generate Perl class hierarchies. more>>
Class::Generate is a Perl module that can generate Perl class hierarchies.
SYNOPSIS
use Class::Generate qw(class subclass delete_class);
# Declare class Class_Name, with the following types of members:
class
Class_Name => [
s => $, # scalar
a => @, # array
h => %, # hash
c => Class, # Class
c_a => @Class, # array of Class
c_h => %Class, # hash of Class
&m => body, # method
];
# Allocate an instance of class_name, with members initialized to the
# given values (pass arrays and hashes using references).
$obj = Class_Name->new ( s => scalar,
a => [ values ],
h => { key1 => v1, ... },
c => Class->new,
c_a => [ Class->new, ... ],
c_h => [ key1 => Class->new, ... ] );
# Scalar type accessor:
$obj->s($value); # Assign $value to member s.
$member_value = $obj->s; # Access members value.
# (Class) Array type accessor:
$obj->a([value1, value2, ...]); # Assign whole array to member.
$obj->a(2, $value); # Assign $value to array member 2.
$obj->add_a($value); # Append $value to end of array.
@a = $obj->a; # Access whole array.
$ary_member_value = $obj->a(2); # Access array member 2.
$s = $obj->a_size; # Return size of array.
$value = $obj->last_a; # Return last element of array.
# (Class) Hash type accessor:
$obj->h({ k_1=>v1, ..., k_n=>v_n }) # Assign whole hash to member.
$obj->h($key, $value); # Assign $value to hash member $key.
%hash = $obj->h; # Access whole hash.
$hash_member_value = $obj->h($key); # Access hash member value $key.
$obj->delete_h($key); # Delete slot occupied by $key.
@keys = $obj->h_keys; # Access keys of member h.
@values = $obj->h_values; # Access values of member h.
$another = $obj->copy; # Copy an object.
if ( $obj->equals($another) ) { ... } # Test equality.
subclass s => [ ], -parent => class_name;
The Class::Generate package exports functions that take as arguments a class specification and create from these specifications a Perl 5 class. The specification language allows many object-oriented constructs: typed members, inheritance, private members, required members, default values, object methods, class methods, class variables, and more.
CPAN contains similar packages. Why another? Because object-oriented programming, especially in a dynamic language like Perl, is a complicated endeavor. I wanted a package that would work very hard to catch the errors you (well, I anyway) commonly make. I wanted a package that could help me enforce the contract of object-oriented programming. I also wanted it to get out of my way when I asked.
<<lessSYNOPSIS
use Class::Generate qw(class subclass delete_class);
# Declare class Class_Name, with the following types of members:
class
Class_Name => [
s => $, # scalar
a => @, # array
h => %, # hash
c => Class, # Class
c_a => @Class, # array of Class
c_h => %Class, # hash of Class
&m => body, # method
];
# Allocate an instance of class_name, with members initialized to the
# given values (pass arrays and hashes using references).
$obj = Class_Name->new ( s => scalar,
a => [ values ],
h => { key1 => v1, ... },
c => Class->new,
c_a => [ Class->new, ... ],
c_h => [ key1 => Class->new, ... ] );
# Scalar type accessor:
$obj->s($value); # Assign $value to member s.
$member_value = $obj->s; # Access members value.
# (Class) Array type accessor:
$obj->a([value1, value2, ...]); # Assign whole array to member.
$obj->a(2, $value); # Assign $value to array member 2.
$obj->add_a($value); # Append $value to end of array.
@a = $obj->a; # Access whole array.
$ary_member_value = $obj->a(2); # Access array member 2.
$s = $obj->a_size; # Return size of array.
$value = $obj->last_a; # Return last element of array.
# (Class) Hash type accessor:
$obj->h({ k_1=>v1, ..., k_n=>v_n }) # Assign whole hash to member.
$obj->h($key, $value); # Assign $value to hash member $key.
%hash = $obj->h; # Access whole hash.
$hash_member_value = $obj->h($key); # Access hash member value $key.
$obj->delete_h($key); # Delete slot occupied by $key.
@keys = $obj->h_keys; # Access keys of member h.
@values = $obj->h_values; # Access values of member h.
$another = $obj->copy; # Copy an object.
if ( $obj->equals($another) ) { ... } # Test equality.
subclass s => [ ], -parent => class_name;
The Class::Generate package exports functions that take as arguments a class specification and create from these specifications a Perl 5 class. The specification language allows many object-oriented constructs: typed members, inheritance, private members, required members, default values, object methods, class methods, class variables, and more.
CPAN contains similar packages. Why another? Because object-oriented programming, especially in a dynamic language like Perl, is a complicated endeavor. I wanted a package that would work very hard to catch the errors you (well, I anyway) commonly make. I wanted a package that could help me enforce the contract of object-oriented programming. I also wanted it to get out of my way when I asked.
Download (0.052MB)
Added: 2007-07-31 License: Perl Artistic License Price:
815 downloads
genext2fs 1.4.1
genext2fs it generates an ext2 filesystem as a normal (i.e. non-root) user. more>>
genext2fs it generates an ext2 filesystem as a normal (i.e. non-root) user. It doesnt require you to mount the image file to copy files on it. It doesnt even require you to be the superuser to make device nodes or set group/user ids.
Enhancements:
- Cygwin and Mac OS X platforms are supported.
<<lessEnhancements:
- Cygwin and Mac OS X platforms are supported.
Download (0.10MB)
Added: 2007-04-20 License: GPL (GNU General Public License) Price:
919 downloads
QOF Generator 0.0.2
QOF Generator is a project that generates C object source code from HTML/PHP or Perl/XML. more>>
QOF Generator is a project that generates C object source code from HTML/PHP or Perl/XML.
Generating new objects for the Query Object Framework is repetitive, tedious, and time consuming.
Qof Generator automates this process in PHP to build a working test program linked against QOF.
Objects are created from an HTML form using a temporary MySQL cache and exported with Makefile, ./autogen.sh, ChangeLog, README, C source code, and doxygen mark-up comments in a tarball built by the PHP code.
<<lessGenerating new objects for the Query Object Framework is repetitive, tedious, and time consuming.
Qof Generator automates this process in PHP to build a working test program linked against QOF.
Objects are created from an HTML form using a temporary MySQL cache and exported with Makefile, ./autogen.sh, ChangeLog, README, C source code, and doxygen mark-up comments in a tarball built by the PHP code.
Download (0.017MB)
Added: 2007-02-16 License: GPL (GNU General Public License) Price:
983 downloads
phpCodeGenerator 0.2.1
phpCodeGenerator is a free database driven website code generator. more>>
phpCodeGenerator is a free database driven website code generator. This application reads the database and generates a website with the ability to Create, List, Edit, Update, Delete and Search Records.
<<less Download (MB)
Added: 2007-07-12 License: GPL (GNU General Public License) Price:
835 downloads
Firewall Generator 3.0
Firewall Generator is a CGI script that generates a firewall. more>>
Firewall Generator is a CGI script that generates a bash shell script that contains a list of commands for configuring a set of firewall rules.
It is the best solution to know something about system security.
<<lessIt is the best solution to know something about system security.
Download (0.002MB)
Added: 2006-07-13 License: GPL (GNU General Public License) Price:
1206 downloads
Generate Numly Copyright 1.3
Generate Numly Copyright is a Firefox extension that registers documents and blogs for Numly copyright. more>>
Generate Numly Copyright is a Firefox extension that registers documents and blogs for Numly copyright. Numly Numbers are unique identifiers of electronic media and recognized worldwide by electronic publishing companies and electronic content providers. Numly Numbers are simple and quick to generate and serve as branded identifier for individuals or companies authoring or distributing electronic content and media.
<<less Download (0.006MB)
Added: 2007-06-06 License: MPL (Mozilla Public License) Price:
878 downloads
NetMap Generator 0.1.2b
NetMap Generator is a project used to generate a graphical map of your connection with the Internet. more>>
NetMap Generator is a project used to generate a graphical map of your connection with the Internet.
It first uses traceroute to make a list of all routers and their interconnections, after which it generates a .dot file.
You need the Dotty program to view the graphical representation of you network.
<<lessIt first uses traceroute to make a list of all routers and their interconnections, after which it generates a .dot file.
You need the Dotty program to view the graphical representation of you network.
Download (0.33MB)
Added: 2007-02-22 License: GPL (GNU General Public License) Price:
983 downloads
PeerProtect 0.5
PeerProtect is an addon for Jays firewall that generates a file which contains all IP addresses from the RIAA and MPAA. more>>
PeerProtect is an addon for Jays firewall that generates a file which contains all IP addresses from the RIAA and MPAA, etc. and will protect peer-to-peer programs from them. The Database can be copied from PEERGUARDIAN or IPPREFIX.
<<less Download (0.040MB)
Added: 2006-07-11 License: GPL (GNU General Public License) Price:
1200 downloads
logindpostgres 1
logindpostgres is a script that reads SQL select statements from PostgreSQL logs. more>>
logindpostgres is a script that reads SQL select statements from PostgreSQL logs and generates all the indices to optimize the database for each request.
logindpostgres has been tested on 1.2 GB of logs.
<<lesslogindpostgres has been tested on 1.2 GB of logs.
Download (0.008MB)
Added: 2006-09-05 License: GPL (GNU General Public License) Price:
1144 downloads
Fear Stats 1.1.8
Fear Stats generates player stats from F.E.A.R. server log files, and stores them in a MySQL database. more>>
Fear Stats project generates player stats from F.E.A.R. server log files, and stores them in a MySQL database.
Enhancements:
- Improved Scoring Calculations for all game modes
- Created new Sub to handle checking for existing records.
- Transactoins now fully supported for InnoDB
- Corrected Players Objective Score not calculating into total session score.
<<lessEnhancements:
- Improved Scoring Calculations for all game modes
- Created new Sub to handle checking for existing records.
- Transactoins now fully supported for InnoDB
- Corrected Players Objective Score not calculating into total session score.
Download (0.085MB)
Added: 2007-03-02 License: GPL (GNU General Public License) Price:
971 downloads
Fraqtive 0.3.1
Fraqtive is a program for drawing Mandelbrot and Julia fractals. more>>
Fraqtive is a program for drawing Mandelbrot and Julia fractals. It uses a very fast algorithm and generates high quality, smooth images.
It is fully interactive, allowing for real-time mouse navigation and dynamic generation of the Julia fractal preview. OpenGL-rendered 3D view of the fractals is also supported.
<<lessIt is fully interactive, allowing for real-time mouse navigation and dynamic generation of the Julia fractal preview. OpenGL-rendered 3D view of the fractals is also supported.
Download (0.69MB)
Added: 2005-09-08 License: GPL (GNU General Public License) Price:
1511 downloads
JSCoverage 0.2
JSCoverage is a tool that generates code coverage statistics for JavaScript programs. more>>
JSCoverage is a tool that generates code coverage statistics for JavaScript programs.
JSCoverage works by instrumenting the JavaScript code used in web pages. Code coverage statistics are collected while the instrumented JavaScript code is executed in a web browser.
JSCoverage works with any modern standards-compliant web browser - Internet Explorer, Firefox, or Opera, on Windows or Linux.
This project is free software, distributed under the GNU General Public License.
Enhancements:
- This release features a new tabbed user interface.
<<lessJSCoverage works by instrumenting the JavaScript code used in web pages. Code coverage statistics are collected while the instrumented JavaScript code is executed in a web browser.
JSCoverage works with any modern standards-compliant web browser - Internet Explorer, Firefox, or Opera, on Windows or Linux.
This project is free software, distributed under the GNU General Public License.
Enhancements:
- This release features a new tabbed user interface.
Download (1.1MB)
Added: 2007-07-09 License: GPL (GNU General Public License) Price:
837 downloads
The Ming Server 0.7.5
The Ming Server generates Web pages statically or dynamically. more>>
The Ming Server generates Web pages statically or dynamically. As a local executable, it generates a static site from a directory tree of simple text files.
Installed in cgi-bin, it creates those same pages on demand in response to browser requests. Parsing of different source types, the creation, and the writing of pages are separated, making it easy to extend The Ming Server to new data types or delivery methods.
Enhancements:
- A bug in Logger was fixed along with a problem in ming.cgi.
<<lessInstalled in cgi-bin, it creates those same pages on demand in response to browser requests. Parsing of different source types, the creation, and the writing of pages are separated, making it easy to extend The Ming Server to new data types or delivery methods.
Enhancements:
- A bug in Logger was fixed along with a problem in ming.cgi.
Download (0.029MB)
Added: 2005-11-12 License: GPL (GNU General Public License) Price:
1441 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 generates 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