binhex basic
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1506
JBinHex 0.5
JBinHex is both a library and a command-line tool, written in Java, to decode files in the Apple Macintosh BinHex 4.0 format. more>>
JBinHex is both a library and a command-line tool, written in Java, to decode files in the Apple Macintosh BinHex 4.0 format.
It accepts the following command line parameters:
Either -u < url > or -f < file > to specify the source BinHexed file. If neither of those options is present, DeBinHex reads stdin.
-d to decode the data fork. It will be put in the file with the name that came from the BinHex header.
-df < filename > to decode the data fork to the named file instead of the name that came from the BinHex header.
-r to decode the resource fork. It will be put in the file with the name that came from the BinHex header, with the extension ".resource" appended to it.
-rf < filename > to decode the resource fork to the named file instead of the name that came from the BinHex header.
Both -d/-df options and -r/-rf may be present at the same time. If none of these options is present, DeBinHex will decode the data fork as if the -d options was specified.
-h to only show the header of the BinHex file on stdout. The decoding options are ignored.
<<lessIt accepts the following command line parameters:
Either -u < url > or -f < file > to specify the source BinHexed file. If neither of those options is present, DeBinHex reads stdin.
-d to decode the data fork. It will be put in the file with the name that came from the BinHex header.
-df < filename > to decode the data fork to the named file instead of the name that came from the BinHex header.
-r to decode the resource fork. It will be put in the file with the name that came from the BinHex header, with the extension ".resource" appended to it.
-rf < filename > to decode the resource fork to the named file instead of the name that came from the BinHex header.
Both -d/-df options and -r/-rf may be present at the same time. If none of these options is present, DeBinHex will decode the data fork as if the -d options was specified.
-h to only show the header of the BinHex file on stdout. The decoding options are ignored.
Download (0.035MB)
Added: 2006-08-22 License: GPL (GNU General Public License) Price:
1164 downloads
Vista Basic 2
Vista Basic provides a theme similar to Microsoft Vista. more>>
Vista Basic provides a theme similar to Microsoft Vista.
window borders similar to those of Microsoft Vista when using non Aero compatible software (such as JRE 6 or Photoshop CS 2)
<<lesswindow borders similar to those of Microsoft Vista when using non Aero compatible software (such as JRE 6 or Photoshop CS 2)
Download (0.015MB)
Added: 2007-04-17 License: Public Domain Price:
678 downloads
MWChat Basic 7.0
MWChat Basic is the free version of our online chat system. more>>
MWChat Basic (My Web based Chat) is the free version of our online chat system.
Licenses are IP based, one license per IP.
It has support for multiple rooms and languages, a large number of IRC-like commands, private messages and rooms, message encryption, buddy lists, logging, registered users, chat profiles, file sharing, and more. It is a very lightweight, full-featured, and secure chat room.
<<lessLicenses are IP based, one license per IP.
It has support for multiple rooms and languages, a large number of IRC-like commands, private messages and rooms, message encryption, buddy lists, logging, registered users, chat profiles, file sharing, and more. It is a very lightweight, full-featured, and secure chat room.
Download (0.081MB)
Added: 2006-05-26 License: Other/Proprietary License Price:
1250 downloads
Agora BASIC 0.1
Agora BASIC is a BASIC compiler for POSIX systems. more>>
Agora BASIC is a BASIC compiler for POSIX systems. Agora BASIC aims to implement all of Standard Full BASIC (ANSI INCITS 113-1987), with useful but compatible extensions. It does not do that quite yet. What it does is implement a small subset of the language, enough that simple programs can be written in it. A lot of work expanding the support of the language is still required.
Agora BASIC specifically does not aim to be a "modern" BASIC dialect. There are enough of those already, even as free software. The only way for Agora BASIC to acquire classes or other similar things is if the standard is thus updated. Minor extensions, mainly lifting senseless restrictions in the standard and enabling writing useful programs in the Unix environment are possible.
Agora BASIC is a compiler, not an interpreter, and there is no interactive mode. Furthermore, the compiler uses C as an intermediate language and the system C compiler as the backend (note that the intermediate C code is not intended for human consumption or manual editing).
Enhancements:
- This initial release supports enough of the language to write simple programs.
<<lessAgora BASIC specifically does not aim to be a "modern" BASIC dialect. There are enough of those already, even as free software. The only way for Agora BASIC to acquire classes or other similar things is if the standard is thus updated. Minor extensions, mainly lifting senseless restrictions in the standard and enabling writing useful programs in the Unix environment are possible.
Agora BASIC is a compiler, not an interpreter, and there is no interactive mode. Furthermore, the compiler uses C as an intermediate language and the system C compiler as the backend (note that the intermediate C code is not intended for human consumption or manual editing).
Enhancements:
- This initial release supports enough of the language to write simple programs.
Download (0.065MB)
Added: 2006-05-29 License: GPL (GNU General Public License) Price:
1245 downloads
HBasic 2007-02a
HBasic is an integrated development environment used to create, execute and debug programs with an BASIC style language. more>>
HBasic project is an integrated development environment used to create, execute and debug programs with an BASIC style language.
HBasic has object oriented features either in combination with precompiled C++ components (shared libraries) or class definitions (HBasic sourcecode). This also includes a version of inheritance.
HBasic runs on Linux and uses the Trolltech Qt library (>= 3.2). The syntax of the BASIC language and parts of the IDE are similar to existing BASIC IDEs to simplify using this new language.
<<lessHBasic has object oriented features either in combination with precompiled C++ components (shared libraries) or class definitions (HBasic sourcecode). This also includes a version of inheritance.
HBasic runs on Linux and uses the Trolltech Qt library (>= 3.2). The syntax of the BASIC language and parts of the IDE are similar to existing BASIC IDEs to simplify using this new language.
Download (8.1MB)
Added: 2007-03-21 License: GPL (GNU General Public License) Price:
953 downloads
Set::Infinite::Basic 0.61
Set::Infinite::Basic is a Perl module with sets of intervals. more>>
Set::Infinite::Basic is a Perl module with sets of intervals.
SYNOPSIS
use Set::Infinite::Basic;
$set = Set::Infinite::Basic->new(1,2); # [1..2]
print $set->union(5,6); # [1..2],[5..6]
Set::Infinite::Basic is a Set Theory module for infinite sets.
It works on reals, integers, and objects.
This module does not support recurrences. Recurrences are implemented in Set::Infinite.
METHODS
empty_set
Creates an empty_set.
If called from an existing set, the empty set inherits the "type" and "density" characteristics.
universal_set
Creates a set containing "all" possible elements.
If called from an existing set, the universal set inherits the "type" and "density" characteristics.
until
Extends a set until another:
0,5,7 -> until 2,6,10
gives
[0..2), [5..6), [7..10)
Note: this function is still experimental.
copy
clone
Makes a new object from the objects data.
Mode functions:
$set = $set->real;
$set = $set->integer;
Logic functions:
$logic = $set->intersects($b);
$logic = $set->contains($b);
$logic = $set->is_null; # also called "is_empty"
Set functions:
$set = $set->union($b);
$set = $set->intersection($b);
$set = $set->complement;
$set = $set->complement($b); # can also be called "minus" or "difference"
$set = $set->simmetric_difference( $b );
$set = $set->span;
result is (min .. max)
Scalar functions:
$i = $set->min;
$i = $set->max;
$i = $set->size;
$i = $set->count; # number of spans
Overloaded Perl functions:
print
sort,
Global functions:
separators(@i)
chooses the interval separators.
default are [ ] ( ) .. ,.
INFINITY
returns an Infinity number.
NEG_INFINITY
returns a -Infinity number.
iterate ( sub { } )
Iterates over a subroutine.
Returns the union of partial results.
first
In scalar context returns the first interval of a set.
In list context returns the first interval of a set, and the
tail.
Works in unbounded sets
type($i)
chooses an object data type.
default is none (a normal perl SCALAR).
examples:
type(Math::BigFloat);
type(Math::BigInt);
type(Set::Infinite::Date);
See notes on Set::Infinite::Date below.
tolerance(0) defaults to real sets (default)
tolerance(1) defaults to integer sets
real defaults to real sets (default)
integer defaults to integer sets
Internal functions:
$set->fixtype;
$set->numeric;
<<lessSYNOPSIS
use Set::Infinite::Basic;
$set = Set::Infinite::Basic->new(1,2); # [1..2]
print $set->union(5,6); # [1..2],[5..6]
Set::Infinite::Basic is a Set Theory module for infinite sets.
It works on reals, integers, and objects.
This module does not support recurrences. Recurrences are implemented in Set::Infinite.
METHODS
empty_set
Creates an empty_set.
If called from an existing set, the empty set inherits the "type" and "density" characteristics.
universal_set
Creates a set containing "all" possible elements.
If called from an existing set, the universal set inherits the "type" and "density" characteristics.
until
Extends a set until another:
0,5,7 -> until 2,6,10
gives
[0..2), [5..6), [7..10)
Note: this function is still experimental.
copy
clone
Makes a new object from the objects data.
Mode functions:
$set = $set->real;
$set = $set->integer;
Logic functions:
$logic = $set->intersects($b);
$logic = $set->contains($b);
$logic = $set->is_null; # also called "is_empty"
Set functions:
$set = $set->union($b);
$set = $set->intersection($b);
$set = $set->complement;
$set = $set->complement($b); # can also be called "minus" or "difference"
$set = $set->simmetric_difference( $b );
$set = $set->span;
result is (min .. max)
Scalar functions:
$i = $set->min;
$i = $set->max;
$i = $set->size;
$i = $set->count; # number of spans
Overloaded Perl functions:
sort,
Global functions:
separators(@i)
chooses the interval separators.
default are [ ] ( ) .. ,.
INFINITY
returns an Infinity number.
NEG_INFINITY
returns a -Infinity number.
iterate ( sub { } )
Iterates over a subroutine.
Returns the union of partial results.
first
In scalar context returns the first interval of a set.
In list context returns the first interval of a set, and the
tail.
Works in unbounded sets
type($i)
chooses an object data type.
default is none (a normal perl SCALAR).
examples:
type(Math::BigFloat);
type(Math::BigInt);
type(Set::Infinite::Date);
See notes on Set::Infinite::Date below.
tolerance(0) defaults to real sets (default)
tolerance(1) defaults to integer sets
real defaults to real sets (default)
integer defaults to integer sets
Internal functions:
$set->fixtype;
$set->numeric;
Download (0.048MB)
Added: 2007-07-06 License: Perl Artistic License Price:
840 downloads
Convert::BinHex 1.119
Convert::BinHex can extract data from Macintosh BinHex files. more>>
Convert::BinHex can extract data from Macintosh BinHex files.
ALPHA WARNING: this code is currently in its Alpha release. Things may change drastically until the interface is hammered out: if you have suggestions or objections, please speak up now!
SYNOPSIS
Simple functions:
use Convert::BinHex qw(binhex_crc macbinary_crc);
# Compute HQX7-style CRC for data, pumping in old CRC if desired:
$crc = binhex_crc($data, $crc);
# Compute the MacBinary-II-style CRC for the data:
$crc = macbinary_crc($data, $crc);
Hex to bin, low-level interface. Conversion is actually done via an object ("Convert::BinHex::Hex2Bin") which keeps internal conversion state:
# Create and use a "translator" object:
my $H2B = Convert::BinHex->hex2bin; # get a converter object
while (< STDIN >) {
print $STDOUT $H2B->next($_); # convert some more input
}
print $STDOUT $H2B->done; # no more input: finish up
Hex to bin, OO interface. The following operations must be done in the order shown!
# Read data in piecemeal:
$HQX = Convert::BinHex->open(FH=>*STDIN) || die "open: $!";
$HQX->read_header; # read header info
@data = $HQX->read_data; # read in all the data
@rsrc = $HQX->read_resource; # read in all the resource
Bin to hex, low-level interface. Conversion is actually done via an object ("Convert::BinHex::Bin2Hex") which keeps internal conversion state:
# Create and use a "translator" object:
my $B2H = Convert::BinHex->bin2hex; # get a converter object
while (< STDIN >) {
print $STDOUT $B2H->next($_); # convert some more input
}
print $STDOUT $B2H->done; # no more input: finish up
Bin to hex, file interface. Yes, you can convert to BinHex as well as from it!
# Create new, empty object:
my $HQX = Convert::BinHex->new;
# Set header attributes:
$HQX->filename("logo.gif");
$HQX->type("GIFA");
$HQX->creator("CNVS");
# Give it the data and resource forks (either can be absent):
$HQX->data(Path => "/path/to/data"); # here, data is on disk
$HQX->resource(Data => $resourcefork); # here, resource is in core
# Output as a BinHex stream, complete with leading comment:
$HQX->encode(*STDOUT);
PLANNED!!!! Bin to hex, "CAP" interface. Thanks to Ken Lunde for suggesting this.
# Create new, empty object from CAP tree:
my $HQX = Convert::BinHex->from_cap("/path/to/root/file");
$HQX->encode(*STDOUT);
BinHex is a format used by Macintosh for transporting Mac files safely through electronic mail, as short-lined, 7-bit, semi-compressed data streams. Ths module provides a means of converting those data streams back into into binary data.
<<lessALPHA WARNING: this code is currently in its Alpha release. Things may change drastically until the interface is hammered out: if you have suggestions or objections, please speak up now!
SYNOPSIS
Simple functions:
use Convert::BinHex qw(binhex_crc macbinary_crc);
# Compute HQX7-style CRC for data, pumping in old CRC if desired:
$crc = binhex_crc($data, $crc);
# Compute the MacBinary-II-style CRC for the data:
$crc = macbinary_crc($data, $crc);
Hex to bin, low-level interface. Conversion is actually done via an object ("Convert::BinHex::Hex2Bin") which keeps internal conversion state:
# Create and use a "translator" object:
my $H2B = Convert::BinHex->hex2bin; # get a converter object
while (< STDIN >) {
print $STDOUT $H2B->next($_); # convert some more input
}
print $STDOUT $H2B->done; # no more input: finish up
Hex to bin, OO interface. The following operations must be done in the order shown!
# Read data in piecemeal:
$HQX = Convert::BinHex->open(FH=>*STDIN) || die "open: $!";
$HQX->read_header; # read header info
@data = $HQX->read_data; # read in all the data
@rsrc = $HQX->read_resource; # read in all the resource
Bin to hex, low-level interface. Conversion is actually done via an object ("Convert::BinHex::Bin2Hex") which keeps internal conversion state:
# Create and use a "translator" object:
my $B2H = Convert::BinHex->bin2hex; # get a converter object
while (< STDIN >) {
print $STDOUT $B2H->next($_); # convert some more input
}
print $STDOUT $B2H->done; # no more input: finish up
Bin to hex, file interface. Yes, you can convert to BinHex as well as from it!
# Create new, empty object:
my $HQX = Convert::BinHex->new;
# Set header attributes:
$HQX->filename("logo.gif");
$HQX->type("GIFA");
$HQX->creator("CNVS");
# Give it the data and resource forks (either can be absent):
$HQX->data(Path => "/path/to/data"); # here, data is on disk
$HQX->resource(Data => $resourcefork); # here, resource is in core
# Output as a BinHex stream, complete with leading comment:
$HQX->encode(*STDOUT);
PLANNED!!!! Bin to hex, "CAP" interface. Thanks to Ken Lunde for suggesting this.
# Create new, empty object from CAP tree:
my $HQX = Convert::BinHex->from_cap("/path/to/root/file");
$HQX->encode(*STDOUT);
BinHex is a format used by Macintosh for transporting Mac files safely through electronic mail, as short-lined, 7-bit, semi-compressed data streams. Ths module provides a means of converting those data streams back into into binary data.
Download (0.083MB)
Added: 2006-08-04 License: Perl Artistic License Price:
1234 downloads
BASIC-256 0.9.2
BASIC-256 is an easy to use version of BASIC designed to teach young children the basics of computer programming. more>>
BASIC-256 is an easy to use version of BASIC designed to teach young children the basics of computer programming. The BASIC-256 project uses traditional control structures like gosub, for/next, and goto, which helps kids easily see how program flow-control works.
It has a built-in graphics mode which lets them draw pictures on screen in minutes, and a set of detailed, easy-to-follow tutorials that introduce programming concepts through fun exercises.
BASIC-256 is licensed under the GNU public license, which means that its free to download, modify, and share.
Enhancements:
- Version 0.9.2 fixes some minor bugs, adds anonymous arrays and a sound command for Windows versions.
- Translations have been updated, and a command line option -l lets users select the language at run time.
<<lessIt has a built-in graphics mode which lets them draw pictures on screen in minutes, and a set of detailed, easy-to-follow tutorials that introduce programming concepts through fun exercises.
BASIC-256 is licensed under the GNU public license, which means that its free to download, modify, and share.
Enhancements:
- Version 0.9.2 fixes some minor bugs, adds anonymous arrays and a sound command for Windows versions.
- Translations have been updated, and a command line option -l lets users select the language at run time.
Download (0.031MB)
Added: 2007-03-01 License: GPL (GNU General Public License) Price:
971 downloads
CBM BASIC Lister 2.02 Beta
CBM BASIC Lister is a Commodore related application to convert BASIC programs from their binary form to text. more>>
CBM BASIC Lister is a Commodore related application to convert BASIC programs from their binary form to text.
CBM BASIC Lister (formerly C64 BASIC Lister) is a tool to generate an easily readable and printable BASIC listing of any CBM BASIC program (C64/VIC20, etc.) saved as "prg" file.
It is not a BASIC interpreter, its not a debugger and neither a development tool. Its just a LISTer and, by default, it acts just as the C64 native "LIST" command does.
Extra flow-control options were introduced to automatically correct the aspect of each listing and format it before introducing any part of it in your own electronic documents.
Of course, it can be used to study a BASIC program listing from your PC too.
Main features:
- Optional indent-ation of cycle (and procedure with Extended sets) body, with nested cycles processing
- Optional right alignment of BASIC line numbers
- Optional blank line insertion after a RETURN/END command (and End of procedures with Extended sets)
- Simons BASIC, Ultra BASIC (ABACUS), and Special BASIC support (with detection)
<<lessCBM BASIC Lister (formerly C64 BASIC Lister) is a tool to generate an easily readable and printable BASIC listing of any CBM BASIC program (C64/VIC20, etc.) saved as "prg" file.
It is not a BASIC interpreter, its not a debugger and neither a development tool. Its just a LISTer and, by default, it acts just as the C64 native "LIST" command does.
Extra flow-control options were introduced to automatically correct the aspect of each listing and format it before introducing any part of it in your own electronic documents.
Of course, it can be used to study a BASIC program listing from your PC too.
Main features:
- Optional indent-ation of cycle (and procedure with Extended sets) body, with nested cycles processing
- Optional right alignment of BASIC line numbers
- Optional blank line insertion after a RETURN/END command (and End of procedures with Extended sets)
- Simons BASIC, Ultra BASIC (ABACUS), and Special BASIC support (with detection)
Download (0.044MB)
Added: 2006-08-18 License: GPL (GNU General Public License) Price:
1165 downloads
PerlPoint::Tags::Basic 0.45
PerlPoint::Tags::Basic is a Perl module that declares basic PerlPoint tags. more>>
PerlPoint::Tags::Basic is a Perl module that declares basic PerlPoint tags.
SYNOPSIS
# declare basic tags
use PerlPoint::Tags::Basic;
This module declares several basic PerlPoint tags. Tag declarations are used by the parser to determine if a used tag is valid, if it needs options, if it needs a body and so on. Please see PerlPoint::Tags for a detailed description of tag declaration.
Every PerlPoint translator willing to handle the tags of this module can declare this by using the module in the scope where it built the parser object.
# declare basic tags
use PerlPoint::Tags::Basic;
# load parser module
use PerlPoint::Parser;
...
# build parser
my $parser=new PerlPoint::Parser(...);
...
It is also possible to select certain declarations.
# declare basic tags
use PerlPoint::Tags::Basic qw(I C);
A set name is provided as well to declare all the flags at once.
# declare basic tags
use PerlPoint::Tags::Basic qw(:basic);
<<lessSYNOPSIS
# declare basic tags
use PerlPoint::Tags::Basic;
This module declares several basic PerlPoint tags. Tag declarations are used by the parser to determine if a used tag is valid, if it needs options, if it needs a body and so on. Please see PerlPoint::Tags for a detailed description of tag declaration.
Every PerlPoint translator willing to handle the tags of this module can declare this by using the module in the scope where it built the parser object.
# declare basic tags
use PerlPoint::Tags::Basic;
# load parser module
use PerlPoint::Parser;
...
# build parser
my $parser=new PerlPoint::Parser(...);
...
It is also possible to select certain declarations.
# declare basic tags
use PerlPoint::Tags::Basic qw(I C);
A set name is provided as well to declare all the flags at once.
# declare basic tags
use PerlPoint::Tags::Basic qw(:basic);
Download (0.41MB)
Added: 2007-02-15 License: Perl Artistic License Price:
982 downloads
Chrootbin 3.0 RC2
Chrootbin is a tool which will help you make basic chroot environment. more>>
Chrootbin is a tool which will help you make basic chroot environment. The project will also help skipping the boring parts of making a chroot from scratch.
Since version 2.0.0, rpm based systems and slackware packages are supported.
Main features:
- Creating basic chroot env
- Installing relevant files from rpm, slackware packages
NOTE: Its tested on Linux Slackware,SuSE,RedHat,Gentoo,Fedora. Probably works on others too.
Enhancements:
- Installation fixup
- Minor process fixes
<<lessSince version 2.0.0, rpm based systems and slackware packages are supported.
Main features:
- Creating basic chroot env
- Installing relevant files from rpm, slackware packages
NOTE: Its tested on Linux Slackware,SuSE,RedHat,Gentoo,Fedora. Probably works on others too.
Enhancements:
- Installation fixup
- Minor process fixes
Download (0.005MB)
Added: 2007-02-23 License: GPL (GNU General Public License) Price:
975 downloads
CGI::WeT::Modules::Basic 0.71
CGI::WeT::Modules::Basic is a basic rendering engine extensions. more>>
CGI::WeT::Modules::Basic is a basic rendering engine extensions.
SYNOPSIS
use CGI::WeT::Modules::Basic ();
This module provides basic rendering constructs for the engine. Please be aware that the code supersedes the documentation. While I have tried to be accurate there are times that words fail me and a look at the code is far more enlightening than anything I could cobble together. This is especially true when trying to write a theme. Download a theme and see how someone else did it. Then try making modifications and see what happens.
<<lessSYNOPSIS
use CGI::WeT::Modules::Basic ();
This module provides basic rendering constructs for the engine. Please be aware that the code supersedes the documentation. While I have tried to be accurate there are times that words fail me and a look at the code is far more enlightening than anything I could cobble together. This is especially true when trying to write a theme. Download a theme and see how someone else did it. Then try making modifications and see what happens.
Download (0.040MB)
Added: 2006-08-01 License: Perl Artistic License Price:
1179 downloads
Language::Basic::Variable 1.44
Language::Basic::Variable is a Perl module to handle parsing and implementing BASIC variables. more>>
Language::Basic::Variable is a Perl module to handle parsing and implementing BASIC variables.
SYNOPSIS
See Language::Basic for the overview of how the Language::Basic module works. This pod page is more technical.
There are two sorts of variables: Arrays and Scalars. Each of those classes has a subclass for Numeric or String variables.
An Array needs to have full LBV::Scalar objects in it, rather than just having an array of values. The reason is that, for example, you might use ARR(3) as the variable in a FOR loop. Also, the "set" and "value" methods apply to a LBV::Scalar (since you cant set an array to a value (in BASIC) so in order to be handle A(3)=3, A(3) needs to be an LBV::Scalar.
The lookup method looks up a variable in the Array or Scalar lookup table (depending on whether there were parentheses after the variable name). BASIC allows undeclared variables, so if the variable name hasnt been seen before, a new variable is created.
Language::Basic::Variable::Scalar class
This class handles a variable or one cell in an array.
Methods include "value", which gets the variables value, and "set", which sets it.
Language::Basic::Variable::Array class
This class handles a BASIC array. Each cell in the array is a LBV::Scalar object.
Methods include "dimension", which dimensions the array to a given size (or a default size) and get_cell, which returns the LBV::Scalar object in a given array location.
Note that BASIC arrays start from 0!
<<lessSYNOPSIS
See Language::Basic for the overview of how the Language::Basic module works. This pod page is more technical.
There are two sorts of variables: Arrays and Scalars. Each of those classes has a subclass for Numeric or String variables.
An Array needs to have full LBV::Scalar objects in it, rather than just having an array of values. The reason is that, for example, you might use ARR(3) as the variable in a FOR loop. Also, the "set" and "value" methods apply to a LBV::Scalar (since you cant set an array to a value (in BASIC) so in order to be handle A(3)=3, A(3) needs to be an LBV::Scalar.
The lookup method looks up a variable in the Array or Scalar lookup table (depending on whether there were parentheses after the variable name). BASIC allows undeclared variables, so if the variable name hasnt been seen before, a new variable is created.
Language::Basic::Variable::Scalar class
This class handles a variable or one cell in an array.
Methods include "value", which gets the variables value, and "set", which sets it.
Language::Basic::Variable::Array class
This class handles a BASIC array. Each cell in the array is a LBV::Scalar object.
Methods include "dimension", which dimensions the array to a given size (or a default size) and get_cell, which returns the LBV::Scalar object in a given array location.
Note that BASIC arrays start from 0!
Download (0.051MB)
Added: 2006-09-29 License: Perl Artistic License Price:
1121 downloads
Perl::Metric::Basic 0.31
Perl::Metric::Basic is a Perl module that can provide basic software metrics. more>>
Perl::Metric::Basic is a Perl module that can provide basic software metrics.
SYNOPSIS
# first construct a PPI::Document object to pass in
my $document = PPI::Document->load("t/lib/Acme.pm");
# then retrieve metrics on the document
my $m = Perl::Metric::Basic->new;
my $metric = $m->measure($document);
# $metric will consist of something like:
# Acme => {
# new => {
# blank_lines => 1,
# comments => 1,
# lines => 7,
# lines_of_code => 6,
# numbers => 0,
# numbers_unique => 0,
# operators => 3,
# operators_unique => 2,
# symbols => 5,
# symbols_unique => 2,
# words => 7,
# words_unique => 6
# },
# ...
When constructing software one often produces code of vastly differing quality. The Perl::Metric::Basic module leverages the PPI module to provide some interesting software metrics for Perl code, mostly measuring size and maintainability.
A metric is some sort of measurement which is intended to help you make a decision about a piece of code. There arent any hard rules about metrics, but the ones provided should allow you to make decisions about modules or subroutines which are outliers. Abnormal measurements in a subroutine are a warning sign that you should reexamine that routine, checking for unusually low quality.
This module uses the PPI module, and thus can parse Perl code without evaluating it.
If youre interested in software metrics, I highly recommend "Code Complete" (Second Edition) by Steve McConnel (Microsoft Press).
METHODS
new()
The new() method is the constructor:
my $m = Perl::Metric::Basic->new;
measure()
The measure() method measures some metrics and returns a hash reference. Files in Perl can contain more than one package, and it is interesting to seperate metrics by package. The key for the hash reference is the name of the package, and the value is another hash reference.
Perl packages are seperated into subroutines, and it is interesting to seperate metrics by subroutine. The key for the second hash reference is the name of the subroutine, and the value is another hash reference containing metrics.
There are various metrics applied to the subroutine. The key for the third hash reference is the name of the metric, and the value is the value of the metric. The metrics are:
blank_lines
The number of blank code lines.
comments
The number of lines containing comments.
lines
The total number of lines.
lines_of_code
The number of lines of code.
numbers
The total number of numbers used (eg "$z = 42 * 3" would have 2 numbers).
numbers_unique
The number of unique numbers used (eg "$z = 2*$x + 2*$y" would have 1 unique number).
operators
The total number of operators used.
operators_unique
The number of unique operators used.
symbols
The total number of symbols used (eg "$z = $x*$x + $y*$y" would have 5 symbols).
symbols_unique
The number of unique symbols used (eg "$z = $x*$x + $y*$y" would have 3 unique symbols).
words
The total number of words (operators) used.
words_unique
The number of unique words used.
<<lessSYNOPSIS
# first construct a PPI::Document object to pass in
my $document = PPI::Document->load("t/lib/Acme.pm");
# then retrieve metrics on the document
my $m = Perl::Metric::Basic->new;
my $metric = $m->measure($document);
# $metric will consist of something like:
# Acme => {
# new => {
# blank_lines => 1,
# comments => 1,
# lines => 7,
# lines_of_code => 6,
# numbers => 0,
# numbers_unique => 0,
# operators => 3,
# operators_unique => 2,
# symbols => 5,
# symbols_unique => 2,
# words => 7,
# words_unique => 6
# },
# ...
When constructing software one often produces code of vastly differing quality. The Perl::Metric::Basic module leverages the PPI module to provide some interesting software metrics for Perl code, mostly measuring size and maintainability.
A metric is some sort of measurement which is intended to help you make a decision about a piece of code. There arent any hard rules about metrics, but the ones provided should allow you to make decisions about modules or subroutines which are outliers. Abnormal measurements in a subroutine are a warning sign that you should reexamine that routine, checking for unusually low quality.
This module uses the PPI module, and thus can parse Perl code without evaluating it.
If youre interested in software metrics, I highly recommend "Code Complete" (Second Edition) by Steve McConnel (Microsoft Press).
METHODS
new()
The new() method is the constructor:
my $m = Perl::Metric::Basic->new;
measure()
The measure() method measures some metrics and returns a hash reference. Files in Perl can contain more than one package, and it is interesting to seperate metrics by package. The key for the hash reference is the name of the package, and the value is another hash reference.
Perl packages are seperated into subroutines, and it is interesting to seperate metrics by subroutine. The key for the second hash reference is the name of the subroutine, and the value is another hash reference containing metrics.
There are various metrics applied to the subroutine. The key for the third hash reference is the name of the metric, and the value is the value of the metric. The metrics are:
blank_lines
The number of blank code lines.
comments
The number of lines containing comments.
lines
The total number of lines.
lines_of_code
The number of lines of code.
numbers
The total number of numbers used (eg "$z = 42 * 3" would have 2 numbers).
numbers_unique
The number of unique numbers used (eg "$z = 2*$x + 2*$y" would have 1 unique number).
operators
The total number of operators used.
operators_unique
The number of unique operators used.
symbols
The total number of symbols used (eg "$z = $x*$x + $y*$y" would have 5 symbols).
symbols_unique
The number of unique symbols used (eg "$z = $x*$x + $y*$y" would have 3 unique symbols).
words
The total number of words (operators) used.
words_unique
The number of unique words used.
Download (0.005MB)
Added: 2007-01-09 License: Perl Artistic License Price:
1019 downloads
C++ base 1.0
C++ base is a base class suite contains several powerful c++ base classes for basic encapsulation. more>>
C++ base is a base class suite contains several powerful c++ base classes for basic encapsulation of low level operating system calls and basic library functions.
Further packages you may access from this page require the installation of this base package
<<lessFurther packages you may access from this page require the installation of this base package
Download (0.10MB)
Added: 2006-10-23 License: GPL (GNU General Public License) Price:
1097 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 binhex basic 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