Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Expression (programming)


  
  Expression (programming) - Wikipedia, the free encyclopedia   (Site not responding. Last check: 2007-11-03)
An expression in a programming language is a combination of values, variables, operators, and functions that are interpreted (evaluated) according to the particular rules of precedence and of association for a particular programming language, which computes and then produces (returns, in a stateful environment) another value.
The expression is said to evaluate to that value.
Expressions may or may not have side-effects and lose the referential transparency with them.
en.wikipedia.org /wiki/Expression_(programming)   (135 words)

  
 Learning to Use Regular Expressions   (Site not responding. Last check: 2007-11-03)
A space in a regular expression, by the way, matches a literal space in the target (this is unlike most programming languages or command-line tools, where spaces separate keywords).
Extended regular expressions (which most tools support) add a few other useful numbers to "once exactly" and "zero or more times." The plus-sign ("+") means "one or more times" and the question-mark ("?") means "zero or one times." These quantifiers are by far the most common enumerations you wind up naming.
Simply repeating the same grouped subexpression later in the regular expression does not match the same targets as using a backreference (but you have to decide what it is you actually want to match in either case).
gnosis.cx /publish/programming/regular_expressions.html   (4091 words)

  
 Functional programming in the Java language   (Site not responding. Last check: 2007-11-03)
Expressions are formed by using functions to combine basic values, which is akin to calling a function with arguments.
In lazy evaluation, an expression is not evaluated as soon as it is bound to a variable, but when the evaluator is forced to produce the expression's value.
From a functional programming standpoint, the expression is not yet a general piece of logic; that is, it cannot be passed around and asked to execute whenever you want, without regard to the current position of execution control.
www-106.ibm.com /developerworks/library/j-fp.html?ca=drs-j2904   (4831 words)

  
 Regular Expression...someday : Regular expression as a programming language. Is it possible?
Although the math statements did not closely resembles the regular expression statements that are used in programming language, its foundation is still a 'regular expression' (since regular expression is about stating the regular behaviour of the item that we want to specify).
Just imagine, using regular expression as programming language, a million lines of codes can be turned into just several lines of codes (or symbols).
Programming language was created to bring computer language (machine language) more closer to the natural language, so that it will become easier for people to write codes to be computer programs.
regexadvice.com /blogs/mastering_regex/archive/2006/07/10/19428.aspx   (695 words)

  
 Expression-oriented programming languages - Wikipedia, the free encyclopedia
An expression-oriented programming language is a programming language where (nearly) every construction is an expression and yields a value.
Expression-orientation can be confusing in imperative programming languages, as many commands used normally as statements are in fact expressions.
For example, assignment in the C programming language is an expression, not a statement.
en.wikipedia.org /wiki/Expression-oriented_programming_languages   (209 words)

  
 Programming Concepts - Prof. Holowczak
In an interpreted programming language, the statements that the programmer writes are interpreted as the program is running.
In object oriented programming, data are contained in objects and are accessed using special methods (blocks of code) specific to the type of object.
Understanding how to pose and evaluate Boolean logic expressions is a crucial skill for any programmer or indeed anyone who programs computers in a formal language (such as "C", Pascal, Fortran, SQL, etc.) or in a macro language such as shell scripts or MS Excel formulas and macros.
cisnet.baruch.cuny.edu /holowczak/classes/programming   (5389 words)

  
 What is expression? - A Word Definition From the Webopedia Computer Dictionary
Each programming language and application has its own rules for what is legal and illegal.
Expressions are used in programming languages, database systems, and spreadsheet applications.
Expressions are often classified by the type of value that they represent.
www.webopedia.com /TERM/e/expression.html   (357 words)

  
 Programming Ruby: The Pragmatic Programmer's Guide   (Site not responding. Last check: 2007-11-03)
The value of the expression is the standard output of that command.
In the description of the command output expression, we said that the string in backquotes would ``by default'' be executed as a command.
On page 78 in the section on boolean expressions, we said that a range can be used as a kind of flip-flop, returning true when some event happens and then staying true until a second event occurs.
www.rubycentral.com /book/tut_expressions.html   (3169 words)

  
 Elements of Programming Languages   (Site not responding. Last check: 2007-11-03)
In strongly typed languages, the type of the expression must be compatible with the type of the variable.
Programming languages may have additional syntactic requirements especially when the then or else clauses contain more than a single command.
Determine the correctness of a program or significant code fragement using algebraic semantics.
cs.wwc.edu /~aabyan/FAS/book/node27.html   (844 words)

  
 Expressions
Much of the work in a program is done by evaluating expressions, either for their side effects, such as assignments to variables, or for their values, which can be used as arguments or operands in larger expressions, or to affect the execution sequence in statements, or both.
Each expression occurs in the declaration of some (class or interface) type that is being declared: in a field initializer, in a static initializer, in a constructor declaration, or in the code for a method.
A parenthesized expression is a primary expression whose type is the type of the contained expression and whose value at run time is the value of the contained expression.
java.sun.com /docs/books/jls/second_edition/html/expressions.doc.html   (14699 words)

  
 Expression
The term expression is used differently, however an expression will contain at least one operand.
Expressions are found and used in various programming languages, databases and spreadsheets.
Below are some basic examples of expressions in the Perl programming language.
www.computerhope.com /jargon/e/expressi.htm   (146 words)

  
 Regular Expressions and the Java Programming Language
The simplest form of a regular expression is a literal string, such as "Java" or "programming." Regular expression matching also allows you to test whether a string fits into a specific syntactic form, such as an email address.
Regular expression usage using this new package is Perl-like, so if you are familiar with using regular expressions in Perl, you can use the same expression syntax in the Java programming language.
Regular expressions can be put to use in applications to ensure data is formatted correctly before being entered into a database, or sent to some other part of an application, and they can be used for a wide variety of administrative tasks.
java.sun.com /developer/technicalArticles/releases/1.4regex   (1093 words)

  
 Citebase - Gene Expression Programming: a New Adaptive Algorithm for Solving Problems   (Site not responding. Last check: 2007-11-03)
Gene expression programming, a genotype/phenotype genetic algorithm (linear and ramified), is presented here for the first time as a new technique for the creation of computer programs.
Gene expression programming uses character linear chromosomes composed of genes structurally organized in a head and a tail.
The suite of problems chosen to illustrate the power and versatility of gene expression programming includes symbolic regression, sequence induction with and without constant creation, block stacking, cellular automata rules for the density-classification problem, and two problems of boolean concept learning: the 11-multiplexer and the GP rule problem.
www.citebase.org /abstract?id=oai:arXiv.org:cs/0102027   (233 words)

  
 Gene Expression Programming
The individuals of gene expression programming are encoded in linear chromosomes which are expressed or translated into expression trees (branched entities).
Thus, in GEP, the genotype (the linear chromosomes) and the phenotype (the expression trees) are different entities (both structurally and functionally) that, nevertheless, work together forming an indivisible whole.
The ETs are themselves computer programs evolved to solve a particular problem and are selected according to their capabilities in solving the problem at hand.
www.gene-expression-programming.com   (427 words)

  
 CHARMING PYTHON #13 (20000155) -- Functional Programming in Python --   (Site not responding. Last check: 2007-11-03)
While actually eliminating all flow control commands in a program is probably only useful for entering an "obfuscated Python" contest (with code that will look a lot like Lisp), it is worth understanding how FP expresses flow control with functions and recursion.
What we have accomplished is that we have managed to express a little program that involves I/O, looping, and conditional statments as a pure expression with recursion (in fact, as a function object that can be passed elsewhere if desired).
A very large percentage of program errors--and the problem that drives programmers to debuggers--occur because variables obtain unexpected values during the course of program execution.
gnosis.cx /publish/programming/charming_python_13.html   (2139 words)

  
 GameDev.net - Test Driving Expression Template Programming
And in order to introduce an interesting project to test drive with, you will be exposed to expression objects in the latter part of the article, where each action of an object does not result in a copy of itself, but merely an object representing that expression.
However, expression written with *= and += are not as natural as + and *, resulting in resulting unclear code compare to their * and + counterparts.
However, I would like to stress that expression objects should, as the intention of my previous article, policy-based particle system, be presented as food for thought, and not the means to all ends.
www.gamedev.net /reference/articles/article2114.asp   (5155 words)

  
 Gene Expression Programming
In this first book on gene expression programming the author describes thoroughly the basic gene expression algorithm and numerous modifications to this new algorithm, providing all the implementation details so that anyone with elementary programming skills will be able to implement it themselves.
Indeed, the interplay between genotype (chromosomes) and phenotype (expression trees) is at the core of the tremendous increase in performance observed in gene expression programming.
Furthermore, gene expression programming shares with genetic programming the same kind of tree representation and, therefore, with GEP it is possible, for one thing, to retrace easily the steps undertaken by genetic programming and, for another, to explore easily new frontiers opened up by the crossing of the phenotype threshold.
www.gene-expression-programming.com /News.asp   (4331 words)

  
 expression from FOLDOC   (Site not responding. Last check: 2007-11-03)
In most programming languages, expressions consist of constants, variables, operators, functions, and parentheses.
Languages differ on how expressions of different types may be combined - with some combination of explicit casts and implicit coercions.
The syntax of expressions generally follows conventional mathematical notation, though some languages such as Lisp or Forth have their own idiosyncratic syntax.
ftp.sunet.se /foldoc/foldoc.cgi?expression   (104 words)

  
 More AI...(GEP) Gene Expression Programming in C# and .NET   (Site not responding. Last check: 2007-11-03)
Gene Expression programming (GEP) is also a subset of Genetic Algorithms, except it uses genomes whose strings of numbers represent symbols.
We can use Genetic Expressions for problems such as fitting points to a curve and coming up with the equation of the curve based on some sample values that fit on the curve.
This can be accomplished simply by taking the difference between the resulting value of plugging the sides of the measured triangle into the genetic expression minus the measured hypotenuse, then taking the difference between a constant number (such as 100) and the value computed from the error.
www.c-sharpcorner.com /Code/2002/Nov/GEPAlgorithm.asp   (1482 words)

  
 Amazon.com: The Haskell School of Expression: Learning Functional Programming through Multimedia: Books: Paul Hudak   (Site not responding. Last check: 2007-11-03)
Functional programming is a style of programming that emphasizes the use of functions (in contrast to object-oriented programming, which emphasizes the use of objects).
A functional program is a single expression, which is executed by evaluating the expression.
This book is a unique attempt to teach the reader the Haskell programming language by demonstrating how to write programs that perform interesting tasks such as animation, graphics, robot control, and functional music composition.
www.amazon.com /Haskell-School-Expression-Programming-Multimedia/dp/0521644089   (1694 words)

  
 Charming Python: Functional programming in Python, Part 3   (Site not responding. Last check: 2007-11-03)
This trick of putting an expression inside a single-item tuple in a list comprehension does not provide any way of using expression-level bindings with higher-order functions.
David's previous columns (Part 1 and Part 2) on functional programming in Python serve as an introduction to this topic.
I have found it much easier to get a grasp of functional programming in the language Haskell than in Lisp/Scheme (even though the latter is probably more widely used, if only in Emacs).
www-106.ibm.com /developerworks/linux/library/l-prog3.html   (1786 words)

  
 WHYY'S Terry Gross, Host of Fresh Air, Honored with Prestigious Murrow Award
Latino USA is one of 31 programs distributed by NPR, whose overall audience has grown substantially over the past five years, from 13 to 21 million listeners - a gain of 56 percent.
The tenth anniversary programming is managed by Latino USA founder and executive producer, Maria Martin, and is a collaboration of public radio's leading Hispanic broadcasters.
The host of the program is award-winning journalist, author, and CNN Urban Affairs correspondent Maria Hinojosa.
www.npr.org /about/press/030625.latinousa.html   (695 words)

  
 Amazon.ca: The Haskell School of Expression : Learning Functional Programming through Multimedia: Books: Paul Hudak   (Site not responding. Last check: 2007-11-03)
This book teaches functional programming as a way of thinking and problem solving, using Haskell, the most popular purely functional language.
Rather than using the conventional (boring) mathematical examples commonly found in other programming language textbooks, the author uses examples drawn from multimedia applications, including graphics, animation, and computer music, thus rewarding the reader with working programs for inherently more interesting applications.
However, these examples are not JUST fun, they also serve as nice examples of how to think about and construct functional programs, in domains where functional programs really excel.
www.amazon.ca /Haskell-School-Expression-Programming-Multimedia/dp/0521643384   (942 words)

  
 Don't match a regular expression - LinuxQuestions.org
Given a regular expression that identifies a text pattern and produces a set of results, how do I change the expression so that it that gives me the complement of that set, i.e.
I am actually doing this in BBEdit, which supports regular expressions, hence wondering if this can be done with a single expression.
I guess that Grep is probably the easiest option, from which I can just divert the output to one of the internal buffers (or whatever they call them...) but I will try perl syntax first...
www.linuxquestions.org /questions/showthread.php?p=2431683#post2431683   (472 words)

  
 WSBTV.com - Family - Gay Marriage Threatens Expression, Foes Say
BOSTON -- Conservative religious and political leaders rallied Sunday in opposition of gay marriage, arguing that their rights to religious expression are being threatened.
The event, being broadcast to churches nationally, is part of a larger effort to energize conservative voters before the Nov. 7 congressional elections.
But the issue is less about liberty and more about political posturing, according to the Rev. Barry Lynn, the executive director of Americans United for Separation of Church and State.
www.wsbtv.com /family/10085449/detail.html   (676 words)

  
 Python - need help narrowing a regular expression - LinuxQuestions.org
If you have any problems with the registration process or your account login, please contact us.
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
www.linuxquestions.org /questions/showthread.php?t=377808   (376 words)

  
 The Genetic Programming Software Paradigm
John R. Koza's home page at Genetic Programming Inc., also linked to from his URL at Stanford U. Conor Ryan's home page which provides access to his genetic programming and genetic algorithm publications, including emphasis on niches and speciation.
Author of a very nice genetic programming curve fitting demo (modelled after John Koza's writeup) with a fantastic population histogram widget which provokes lust for the Java simple symbolic regression applet's source code.
The Gene Expression Programming (GEP) home page; this also is a commercial product, but following the guidance of Sean Luke, it is arguably more important to classify it with its predecessors and siblings so that the relationship doesn't get lost (since the GEP authors fail to mention that such a relationship even exists).
www.well.com /~xanthian/link_pages/Programming/Paradigms/GeneticProgramming.html   (610 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.