generating
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2633
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
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
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
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
Genealogy Graph Generator 1.0
Genealogy Graph Generator (GGG) is a set of programs for automatically generating academic genealogy graphs. more>>
Genealogy Graph Generator (GGG) is a set of programs for automatically generating academic genealogy graphs. It tells you who your advisor and your advisors advisor and her advisor and so on are.
<<less Download (0.046MB)
Added: 2005-11-03 License: GPL (GNU General Public License) Price:
1454 downloads
Python Web Graph Generator 2.40
Python Web Graph Generator is a threaded Web graph (Power law random graph) generator. more>>
Python Web Graph Generator is a threaded Web graph (Power law random graph) generator. It can generate a synthetic Web graph of about one million nodes in a few minutes on a desktop machine.
This software implements a threaded variant of the RMAT algorithm. A little tweak can produce graphs representing social networks or community networks.
Examples:
Getting help
$./genwebgraph.py --help
Generating graph using default settings
$ ./genwebgraph.py --threads=1
Generating a 1000-vertex and 1000-egde graph using 5 threads and storing it in ~/mygraph.pyg
$ ./genwebgraph.py --threads=5 --max-vertices=1000 --max-edges=1000 --output=~/mygraph.pyg
Storing in dot compatible output and making a postscript file
$ ./genwebgraph.py --output=~/mygraph.pyg --format=dot
$ dot -Tps ~/mygraph.pyg -o mygraph.ps
Enhancements:
- The base library PyGEL is available as an independent Python module.
<<lessThis software implements a threaded variant of the RMAT algorithm. A little tweak can produce graphs representing social networks or community networks.
Examples:
Getting help
$./genwebgraph.py --help
Generating graph using default settings
$ ./genwebgraph.py --threads=1
Generating a 1000-vertex and 1000-egde graph using 5 threads and storing it in ~/mygraph.pyg
$ ./genwebgraph.py --threads=5 --max-vertices=1000 --max-edges=1000 --output=~/mygraph.pyg
Storing in dot compatible output and making a postscript file
$ ./genwebgraph.py --output=~/mygraph.pyg --format=dot
$ dot -Tps ~/mygraph.pyg -o mygraph.ps
Enhancements:
- The base library PyGEL is available as an independent Python module.
Download (0.60MB)
Added: 2007-08-03 License: The Apache License 2.0 Price:
818 downloads
Grammidity 1.0
Grammidity project is a Java-based framework for evolutionary programming. more>>
Grammidity project is a Java-based framework for evolutionary programming.
It can be used to evolve solutions to problems, or to evolve "objects" under user control.
It has a limitless range of possible applications.
This program has been tested on sample projects generating 3D objects and imitation plants.
<<lessIt can be used to evolve solutions to problems, or to evolve "objects" under user control.
It has a limitless range of possible applications.
This program has been tested on sample projects generating 3D objects and imitation plants.
Download (0.81MB)
Added: 2006-10-12 License: GPL (GNU General Public License) Price:
1109 downloads
Agenda Displayer 1.4
Agenda is a Web-based application that let you manage your appointments. more>>
Agenda is a Web-based application that let you manage your appointments.
It can display information by day, week, month, and year. Agenda Displayer supports official holidays.
Enhancements:
- This release added a world clock, an astrological calendar, a todo handler, a login system, a countdown function, support for generating iCal files with a .ics extension, a new way to handle your annual days off, sunrise and sunset times, and moon phase classes.
<<lessIt can display information by day, week, month, and year. Agenda Displayer supports official holidays.
Enhancements:
- This release added a world clock, an astrological calendar, a todo handler, a login system, a countdown function, support for generating iCal files with a .ics extension, a new way to handle your annual days off, sunrise and sunset times, and moon phase classes.
Download (0.18MB)
Added: 2006-05-09 License: GPL (GNU General Public License) Price:
1270 downloads
Zence 0.75
Zence is a small program written in Postscript that generates random text. more>>
Zence is a small program written in Postscript that generates random text.
Word morphology and the occurrence of certain letters or letter combinations are configurable.
It may be used for generating words to be used in artificial languages, but with the correct set of parameters can also generate text that resembles existing languages.
Usage:
cat zence-params- .ps zence- .ps | gv -
cat zence-params- .ps zence- .ps | gs -
cat zence-params- .ps zence- .ps | lp -d $PRINTER
<<lessWord morphology and the occurrence of certain letters or letter combinations are configurable.
It may be used for generating words to be used in artificial languages, but with the correct set of parameters can also generate text that resembles existing languages.
Usage:
cat zence-params- .ps zence- .ps | gv -
cat zence-params- .ps zence- .ps | gs -
cat zence-params- .ps zence- .ps | lp -d $PRINTER
Download (0.01MB)
Added: 2006-09-04 License: GPL (GNU General Public License) Price:
1147 downloads
pacgen 1.0
PacGen is an Ethernet IP TCP/UDP packet generating tool for Linux. more>>
PacGen is an Ethernet IP TCP/UDP packet generating tool for Linux. Experimental ARP generation is included. Experimental ARP generation is included. This tool enables custom packets with configurable Ethernet, IP, TCP, and UDP layers as well as custom payloads. As an added feature there are configurations for packet count and a programmable time interval between packet sends. Plaintext config files control all the functions and represent all layers used to build packets. Included in the archive is the source code and a recompiled binary along with example configs.
Since I didnt write a smart interface routine, pacgen will only work with eth0. If you need to use a different interface the source code is pretty obvious on where this would be changed.
<<lessSince I didnt write a smart interface routine, pacgen will only work with eth0. If you need to use a different interface the source code is pretty obvious on where this would be changed.
Download (0.023MB)
Added: 2006-07-04 License: GPL (GNU General Public License) Price:
1211 downloads
KeyFrog 0.8
KeyFrog is a tool for generating keyboard usage statistics. more>>
KeyFrog is a tool for generating keyboard usage statistics. User obtains many informations about his activity: how intensive was his keyboard usage, how was it distributed in time, etc.
This project can be very useful to developers. The project is under fast development, first releases comming soon.
<<lessThis project can be very useful to developers. The project is under fast development, first releases comming soon.
Download (MB)
Added: 2007-03-08 License: BSD License Price:
962 downloads
Games::Bingo::Column 0.13
Games::Bingo::Column is a Perl module with a column class used for generating bingo cards. more>>
Games::Bingo::Column is a Perl module with a column class used for generating bingo cards.
SYNOPSIS
my $c = Games::Bingo::Column-E< gt >new();
foreach my $number(@numbers) {
$c-E< gt >populate($number);
}
my @numbers = qw(1 2 3 4 5 6 7 8 9);
my $c = Games::Bingo::Column-E< gt >new(@numbers);
my $number = $c-E< gt >get_highest_number();
The Column is used when building the bingo cards and is a temporary data structure.
The class has two attributes:
_array
_array is a list of numbers for containment in the class, since the class actually is nothing but an array with a status flag.
label
The label being the group to which the numbers in the array belong.
<<lessSYNOPSIS
my $c = Games::Bingo::Column-E< gt >new();
foreach my $number(@numbers) {
$c-E< gt >populate($number);
}
my @numbers = qw(1 2 3 4 5 6 7 8 9);
my $c = Games::Bingo::Column-E< gt >new(@numbers);
my $number = $c-E< gt >get_highest_number();
The Column is used when building the bingo cards and is a temporary data structure.
The class has two attributes:
_array
_array is a list of numbers for containment in the class, since the class actually is nothing but an array with a status flag.
label
The label being the group to which the numbers in the array belong.
Download (0.020MB)
Added: 2006-10-02 License: Perl Artistic License Price:
1119 downloads
Funiter 2.3.4
Funiter is an application developed for educational purposes as a laboratory. more>>
Funiter (short for function iteration) is an application developed for educational purposes as a laboratory, generating graphs of several types for iteration of real and complex functions, with comfortable switching between related types of graphs.
Funiter was originally developed in the context of courses at the University of Nijmegen (Netherlands) for highschool students with a special interest in beta-studies.
<<lessFuniter was originally developed in the context of courses at the University of Nijmegen (Netherlands) for highschool students with a special interest in beta-studies.
Download (0.083MB)
Added: 2007-04-20 License: GPL (GNU General Public License) Price:
918 downloads
Polygen 1.0.6
Polygen is a random sentence generator according to a grammar definition (BNF). more>>
PolyGen project is a program for generating random sentences according to a grammar definition, that is following custom syntactical and lexical rules.
Formally, it is an interpreter of a language itself designed to define languages, where to interpret means executing a source program in real time and eventually outputting its result. Here, a source program is a grammar definition.
The execution consists of the exploration of such grammar by selecting a random path, and the result is the sentence built on the way.
<<lessFormally, it is an interpreter of a language itself designed to define languages, where to interpret means executing a source program in real time and eventually outputting its result. Here, a source program is a grammar definition.
The execution consists of the exploration of such grammar by selecting a random path, and the result is the sentence built on the way.
Download (0.41MB)
Added: 2005-04-14 License: GPL (GNU General Public License) Price:
1659 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 generating 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