Main > Free Download Search >

Free conditional statements software for linux

conditional statements

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 418
Regular Statement String 2.5.7

Regular Statement String 2.5.7


Regular Statement String (RSS) provides several libraries in C, Java, and COM. more>>
Regular Statement String (RSS) provides several libraries in C, Java, and COM to implement and demonstrate the key-value development method using well-designed "strings" (RSS) as the media. Regular Statement String also shows a way to write "Process Oriented" applications.
Enhancements:
- This release adds an implementation for SUN Solaris (SPARC).
<<less
Download (0.33MB)
Added: 2007-04-12 License: Freeware Price:
926 downloads
Undisposable Clients 0.3

Undisposable Clients 0.3


Undisposable Clients provides easy-to-use API kits for using Undisposable.org in various programming languages. more>>
Undisposable Clients project provides easy-to-use API kits for using Undisposable.org in various programming languages.
Main features:
- Protects site owners biggest assets; userbase and emails
- Prevents userbase contamination by fake accounts
- As critical as email validity check
- Stops people registering your services with disposable email accounts like jetable.org, pookmail
- Detects public accounts (spread from sites like bugmenot.com) and bans them
- Working principle is similar to spam blacklists like spamhaus.org; power of masses
- Totally free, your donations are welcome
How to use it
Check if there is an API kit for your programming language, if there isnt, connect to our servers manually.
Add a few extra lines to your email validation function which is called from your member registration page. The following is an example in PHP language:
..
function checkEmail($email) {
include_once("undorg/php/rest/undisposable.inc.php"); // include the API kit
if(!undorg_isDisposableEmail($email)) { // check if disposable email
.. // old procedures remain here
} // add this line to close the conditional statement
}
..
?>
Thats all. Very simple...
API kits:
PHP
Supports XML-RPC, REST and PHP serialiation. Stable
@TODO: make it object oriented, test PHP5
Python
Supports XML-RPC. Stable
@TODO: make it object oriented, more protocols
Perl
Supports XML-RPC. Beta
@TODO: test it, make it object oriented, more protocols
Java
Supports XML-RPC. Alpha
@TODO: test it, make it object oriented, more protocols
We need your support for clients in other languages.
Enhancements:
- The isValidEmail function was added for PHP and Python.
- Valid RFC and TLD checks are made in real time, as well blacklist queries against disposable email addressing and public accounts from sites similar to bugmenot.com.
<<less
Download (0.004MB)
Added: 2007-01-23 License: MIT/X Consortium License Price:
1006 downloads
logindpostgres 1

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.

<<less
Download (0.008MB)
Added: 2006-09-05 License: GPL (GNU General Public License) Price:
1144 downloads
SQL::Statement::Embed 1.15

SQL::Statement::Embed 1.15


SQL::Statement::Embed can embed a SQL engine in a DBD or module. more>>
SQL::Statement::Embed can embed a SQL engine in a DBD or module.

SQL::Statement is designed to be easy to embed in other modules and to be especially easy to embed in DBI drivers. It provides a SQL Engine and the other module needs to then provide a data source and a storage mechanism. For example, the DBD::CSV module uses SQL::Statement as an embedded SQL engine by implementing a file-based data source and by using DBI as the user interface. Similarly DBD::Amazon uses SQL::Statement as its SQL engine, provides its own extensions to the supported SQL syntax, and uses on-the-fly searches of Amazon.com as its data source.

SQL::Statement is the basis for eight existing DBDs (DBI database drivers). If you have a new data source, you too can create a DBD without having to reinvent the SQL wheel. Its fun, its easy, become a DBD author today!

SQL::Statement can be also be embedded without DBI. Well explore that first since developing a DBD uses most of the same methods and techniques.

The role of SQL::Statement subclasses

SQL::Statement provides a SQL parsing and execution engine. It does not provide a data source or storage mechanism other than in-memory tables. The DBD::File module is a subclass of SQL::Statement that provides access to file-based storage mechanisms. Its quite possible to use things other than files as data souces, in which case we wouldnt use DBD::File, instead wed replace DBD::Files methods with our own. In the examples below, well use DBD::File, replacing only a few methods.

SQL::Statement provides SQL parsing and evaluation and DBD::File provides file-based storage. The only thing missing is a data source - what we actually want to store and query. As an example suppose we are going to create a subclass called Foo that will provide as a data source a simple file similar to a passwd file - one record per line, fields separated by colons, with only three fields "username, uid, gid".

Consider what needs to happen to perform a SELECT query on our Foo data:

* recieve a SQL string
* parse the SQL string into a request structure
* open the table(s) specified in the request
* define column names and postions for the table
* read rows from the table
* convert the rows from colon-separated format into perl arrays
* match the columns and rows against the requested selection criteria
* return requested rows and columns to the user

To perform operations like INSERT and DELETE, we also need to:

* convert rows from perl arrays into colon-separated format
* write rows
* delete rows

SQL::Statement takes care of all of the SQL parsing and evaluation. DBD::File takes care of file opening, reading, writing, and deleting. So the only things Foo is really responsible for are:

* define column names and postions for the table
* convert rows from colon-separated format into perl arrays
* convert rows from perl arrays into colon-separated format

In SQL::Statement subclasses these responsibilities are assigned to two objects, a ::Statement object is responsible for opening the table, defining the column names and positions, and for creating new ::Table objects. A ::Table object is responsible for reading, converting, writing, and deleting data.

<<less
Download (0.085MB)
Added: 2006-06-13 License: Perl Artistic License Price:
1230 downloads
makepp_statements 1.50-cvs-070506

makepp_statements 1.50-cvs-070506


makepp_statements Perl package contains various statements in a makefile. more>>
makepp_statements Perl package contains various statements in a makefile.

and, build_cache, "build_check", define, else, enddef, endef, endif, "export", global, ifdef, "ifeq", "ifmakeperl", ifndef, ifneq, ifnsys, "ifperl", "ifsys", "include", "_include", load_makefile, make, perl, "makesub", no_implicit_load, or, perl, "perl_begin", perl_end, "prebuild", register_scanner, "register_command_parser", "register_input_suffix", repository, "runtime", signature, "sub"

A statement is any line beginning with a word which does not have a : in it. (A colon implies that the line is a rule.) For example, these are statements:

include extra_rules.mk
load_makefile subdir

Makepp has a number of builtin statements which you may occasionally need to use.

Note that wherever you see an underscore, you may also use a dash, because makepp converts dashes to underscores in statement names.

Conditionals

Conditionals are special statements, which control what lines of the Makeppfile are actually seen. The simplest form (where ifxxx stands for any of the conditional statements documented below) is:

ifxxx ...
lines seen if the statement evaluates as true
endif

or:

ifxxx ...
lines seen if the statement evaluates as true
else
lines seen if the statement evaluates as false
endif

There is also the possibility to do complex combinations like this:

ifxxx ...
and ifxxx ...
and ifxxx ...
or ifxxx ...
and ifxxx ...
lines seen if the combined statements evaluate as true
else ifxxx ...
or ifxxx ...
and ifxxx ...
lines seen if the first combination evaluates as false
and these combined statements evaluate as true
else
lines seen if the statements above evaluate as false
endif

As is suggested by the indentation, and has higher precedence than or. In other words an or elects between two groups of and`s. There may be any number of and ifxxx`s, or ifxxx`s and else ifxxx`s.

<<less
Download (0.58MB)
Added: 2007-05-30 License: Perl Artistic License Price:
877 downloads
Pontoon 1.0

Pontoon 1.0


Pontoon is a PHP CMS framework. more>>
Pontoon is a PHP CMS framework. Pontoon supports you, when you develop in PHP.
Enhancements:
- A minor fix was made to html/classes/textpage.class.
- Error handling was made tighter.
- Error handling was added to Web pages.
- "die" statements were removed from MySQL function calls.
- html/libs/.htaccess and html/styles/blue.css were added.
- The default slogan in html/classes/config.class was changed.
- The nodename variable was fixed for the case where Pontoon isnt installed in document root.
<<less
Download (0.009MB)
Added: 2007-01-23 License: GPL (GNU General Public License) Price:
1622 downloads
Jifty::DBI::SchemaGenerator 0.29

Jifty::DBI::SchemaGenerator 0.29


Jifty::DBI::SchemaGenerator is a Perl module to generate table schemas from Jifty::DBI records. more>>
Jifty::DBI::SchemaGenerator is a Perl module to generate table schemas from Jifty::DBI records.

This module turns a Jifty::Record object into an SQL schema for your chosen database. At the moment, your choices are MySQL, SQLite, or PostgreSQL. Oracle might also work right, though its untested.

SYNOPSIS

The Short Answer

See below for where we get the $handle and $model variables.

use Jifty::DBI::SchemaGenerator;
...
my $s_gen = Jifty::DBI::SchemaGenerator->new( $handle );
$s_gen->add_model($model);

my @statements = $s_gen->create_table_sql_statements;
print join("n", @statements, );
...
The Long Version
See Jifty::DBI for details about the first two parts.
MyModel
package MyModel;
# lib/MyModel.pm

use warnings;
use strict;

use base qw(Jifty::DBI::Record);
# your custom code goes here.
1;
MyModel::Schema
package MyModel::Schema;
# lib/MyModel/Schema.pm

use warnings;
use strict;

use Jifty::DBI::Schema;

column foo => type is text;
column bar => type is text;

1;
myscript.pl
#!/usr/bin/env perl
# myscript.pl

use strict;
use warnings;

use Jifty::DBI::SchemaGenerator;

use Jifty::DBI::Handle;
use MyModel;
use MyModel::Schema;

my $handle = Jifty::DBI::Handle->new();
$handle->connect(
driver => SQLite,
database => testdb,
);

my $model = MyModel->new($handle);
my $s_gen = Jifty::DBI::SchemaGenerator->new( $handle );
$s_gen->add_model($model);

# heres the basic point of this module:
my @statements = $s_gen->create_table_sql_statements;
print join("n", @statements, );

# this part is directly from Jifty::Script::Schema::create_all_tables()
$handle->begin_transaction;
for my $statement (@statements) {
my $ret = $handle->simple_query($statement);
$ret or die "error creating a table: " . $ret->error_message;
}
$handle->commit;

<<less
Download (0.097MB)
Added: 2007-01-17 License: Perl Artistic License Price:
1010 downloads
File Selection Language 0.5.1

File Selection Language 0.5.1


File Selection Language is a descriptive language for file selection. more>>
File Selection Language (FSL) is a descriptive language for file selection. File Selection Language is used to selectively pick files from a directory structure.
FSL is useful for selective backups, for instance. FSL uses glob patterns as the basic building block.
For fine-tuning the selection, inclusion/exclusion rule combinations and conditional expressions are available. File size and modification date can be used in expressions.
Main features:
- FSL can be used with a command line tool (fsltool) or, for Python programmers, with a programmable interface. For the Python interface, see the documentation of Interpreter.py.
- Several FSL rule files can be combined in a cascading manner similar to CSS. The effect is the same as if the rule files were pasted into a single file.
- Support for both Windows-like and Unix-like paths.
- Strict parse-time type checking to catch as many errors as possible before run-time. For example, you cant say EACH f IF size(5) > 1000 because function size expects filename argument.
<<less
Download (0.071MB)
Added: 2005-12-07 License: BSD License Price:
1416 downloads
JdbcTool 1.0

JdbcTool 1.0


JdbcTool project is a collection of command line utilities for making your life easy when working with Java JDBC databases. more>>
JdbcTool project is a collection of command line utilities for making your life easy when working with Java JDBC databases. Included are:

jdbctool:

An interactive command line tool for executing SQL statements.

jdbcdump:

Dump the contents of a database as SQL statements into a file, like mysqldump.

jdbcload

Execute SQL statements from a file (the opposite of jdbcdump)

Currently, only HSQLDB is supported.
<<less
Download (0.088MB)
Added: 2007-04-24 License: GPL (GNU General Public License) Price:
914 downloads
SPindent 1.1

SPindent 1.1


SPindent is a JSP/PHP template structural validator and indenter. more>>
SPindent (Server Page Indenter) is a JSP/PHP structural validator and indenter. It performs structural compatibility check of inner HTML generated from "parallel" branches of process flow statements such as if/else.

It allows for those HTML branches to have different entry and exit HTML stack points, as far as the branches are compatible.

This allows for verification and proper indentation of handy workarounds, as well as rusty pyramids. It is based on MixedCC (Mixed Compiler Compiler).
<<less
Download (0.085MB)
Added: 2005-05-05 License: The Apache License 2.0 Price:
1633 downloads
Text::MetaText 0.22

Text::MetaText 0.22


Text::MetaText is a Perl extension implementing meta-language for processing template text files. more>>
Text::MetaText is a Perl extension implementing meta-language for processing "template" text files.

SYNOPSIS

use Text::MetaText;

my $mt = Text::MetaText->new();

# process file content or text string
print $mt->process_file($filename, %vardefs);
print $mt->process_text($textstring, %vardefs);

# pre-declare a BLOCK for subsequent INCLUDE
$mt->declare($textstring, $blockname);
$mt->declare(@content, $blockname);

SUMMARY OF METATEXT DIRECTIVES

%% DEFINE
variable1 = value # define variable(s)
variable2 = "quoted value"
%%

%% SUBST variable %% # insert variable value
%% variable %% # short form of above

%% BLOCK blockname %% # define a block blockname
block text...
%% ENDBLOCK %%

%% INCLUDE blockname %% # include blockname block text
%% INCLUDE filename %% # include external file filename

%% INCLUDE file_or_block # a more complete example...
variable = value # additional variable definition(s)
if = condition # conditional inclusion
unless = condition # conditional exclusion
format = format_string # printf-like format string with %s
filter = fltname(params) # post-process filter
%%

%% TIME # current system time, as per time(2)
format = format_string # display format, as per strftime(3C)
%%

<<less
Download (0.085MB)
Added: 2007-08-06 License: Perl Artistic License Price:
810 downloads
Guido van Robot 1.9.1

Guido van Robot 1.9.1


Guido van Robot, or GvR for short, is a minimalistic programming language that provides just enough syntax to help students. more>>
Guido van Robot, or GvR for short, is a minimalistic programming language that provides just enough syntax to help students learn the concepts of sequencing, conditional branching, looping, and procedural abstraction.

Guido van Robots biggest strength is that it permits this learning in an environment that combines the thrill of problem-solving with instant visual feedback.

<<less
Download (0.20MB)
Added: 2006-07-14 License: GPL (GNU General Public License) Price:
1200 downloads
CsvToSql 3.1.0

CsvToSql 3.1.0


CsvToSql a java based highly configurable and expandible conversion tool and library. more>>
CsvToSql a java based highly configurable and expandable conversion tool and library. You can define the structure of data how render and where write it through a descriptor. CsvToSql project is compatible with the most common rdbms.

csvToSql mission:

- convert csv files to sql statements.

input:

- can read data from comma separated value file
- can read data from excel files

multiple output:

- can write list of sql statements to console
- can create text file with the list of sql statements
- can store data to jdbc resource (database)

How it Works ?

Can be used as library or as standalone program, using csvtosql as a library is very simple, documentation can be found in tutorial section.

Csvtosql provide two frontends for using it as program, executing jar or class net.sf.csv2sql.frontends.gui.simple.SimpleGui a gui will appear. Or you can also use net.sf.csv2sql.frontends.console.ConsoleMain for console version.

<<less
Download (1.7MB)
Added: 2006-10-24 License: LGPL (GNU Lesser General Public License) Price:
1100 downloads
yadia2sql 0.9.5

yadia2sql 0.9.5


Yet Another dia2sql is a tool that generates SQL statements from Dia XML files. more>>
Yet Another dia2sql is a tool that generates SQL statements from Dia XML files.

yadia2sql is intended to process diagrams that are compatible with dia2sql.php to some point, and provide features that would allow generation of SQL code for different database systems from single Dia source.

Usage:

yadia2sql.py [OPTIONS...]

Options:

-h | --help | -?
Prints short usage and copyright information.
-i filename | --input filename
Specify input file (must be an uncompressed Dia XML file).
-o filename | --output filename
Specify output file.
-p "text" | --pk-append "text"
Append text text to primary key definitions.
-f "text" | --fk-append "text"
Append text text to foreign key definitions.
-t "text" | --tbl-append "text"
Append text text to table definitions.
-m filename | --map-file filename
Specify substitution map file.
-d database | --database database
Specify database system (currently only mysql is supported).
If no input/output file is specified, stdin/stdout is used.

<<less
Download (0.011MB)
Added: 2006-12-24 License: GPL (GNU General Public License) Price:
1034 downloads
LocalCaml 0.2.0

LocalCaml 0.2.0


LocalCaml is a library for producing localized text from message catalogs. more>>
LocalCaml is an Objective Caml library that facilitates software internationalisation by producing localised text from message catalogs.
Main features:
- Translations are written using CamlTemplate, a general-purpose templating language; they can therefore use conditional logic to adapt sentence structure and morphology to the parameters they are given.
Translators can write template macros to simplify the handling of grammatical agreement.
- Since parameters passed to templates are named, the order of parameters in a translation can be different from the order used in the original text.
- Since message text is stored in XML files instead of in source code, it can contain the full range of Unicode characters, rather than the subset allowed in OCaml source code (ISO-8859-1). It should also be easy to make catalog editing tools for translators.
<<less
Download (0.060MB)
Added: 2005-10-07 License: GPL (GNU General Public License) Price:
1478 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5