F-script Programming Language

F-Script is an object oriented scripting language developed by Philippe Mougin at TechMetrix Research in France. In a nutshell, F-Script is Smalltalk with support for Array programming.

Overview

F-Script is based on a pure object paradigm (every entity manipulated within the language is an object), its base syntax and concepts being identical to those of Smalltalk (the canonical example of the category) with specific extensions to support Array programming la APL programming language. F-Script provides an interpreted, interactive environment with support for workspaces, which provide a rich set of functionality including object persistence, distributed objects, GUI framework, database access, among other things.

Syntax

Just as Smalltalk's, F-Script's syntax is very simple, without requiring specific notation for control structures which are provided in a unified manner by the message send operation. Unlike Smalltalk, F-Script provides specific notational extensionsto support the Array class, using curly brackets to describe literal arrays, which may contain any F-Script expressions. For example, {1+3, 'name', true} is a valid array literal. The empty array is denoted by {}. Arrays of arrays are transparently supported since an array itselh is just another object.

Message sending

Message expressions in F-Script are similar to those in Smalltalk: they specify which object is the receiver of the message, which operation is called by the message, and any argument objects needed by the operation. F-Script supports unary, binary, and keyword messages. F-Script message semantics are extended to support Array Programming by recognizing that an array operation, such as adding to numerical vectors, must be viewed as the generation of a number of messages relating the elements of the vectors involved. Thus, if A={1,2,3} and B={10,20,30}, then in F-Script you can have:
  A + B = {11,22,33} 

See also

* Object-oriented programming

 

<< PreviousWord BrowserNext >>
elsa benitez
roots canada ltd.
sonata no. 10 (scriabin)
oregon coast aquarium
lakers versus celtics
colonial heads of so joo baptista de ajud
zenith electronics corporation
maeatae
taiwan beer
sonata no. 2 (scriabin)
silicon spin
keri hulme
street fighter ex
mourning cloak
jibjab
louis fraser
rickenbacker (car)
softnyx
warsaw uprising facts, figures and statistics
silver washed fritillary
euclid of megara
watch tuning
fyrisvellir
barbodhan
people's olympiad
hugo claus
sea surface temperature
implicate and explicate order according to david bohm
afridi
baron montagu of boughton
arthur christie
phelsuma kely
bbc wales
gregor kiczales
ocean turbidity
maroa
shinhwa
chess piece point value
marple
interpreting
amy acuff
mars hill
marsh creek
marshallville