Clipper (programming language)

Clipper (programming language)
Clipper
Appeared in 1985 (1985)
Stable release CA Clipper 5.3b (May 20, 1997)
OS DOS
Website http://www.grafxsoft.com/clipper.htm

Clipper is a computer programming language that is used to create software programs that originally operated primarily under DOS. Although it is a powerful general-purpose programming language, it was primarily used to create database/business programs.

Contents

History

Clipper was originally created in 1985 as a compiler for dBASE III, a very popular database language at the time. Compiling dBASE code changes it from interpreted code, which must be interpreted every time each line of code is executed, to p-code, which uses a Virtual Machine to process the compiled p-code. p-code is considerably faster, but still not as fast as the machine code generated by native compilers. As a technical marketing ploy, the p-code was wrapped into object code (linkable .obj files) which gave the impression that it was compiled to native code. Clipper was created by Nantucket Corporation led by Barry ReBell (political) and Brian Russell (technical), and later sold to Computer Associates. GrafX Software licensed CA-Clipper in 2002 from CA for ongoing marketing and distribution.

As the product matured, it remained a DOS tool for many years, but added elements of the C programming language and Pascal programming language, as well as OOP, and the code-block data-type (hybridizing the concepts of dBase macros, or string-evaluation, and function pointers), to become far more powerful than the original. Nantucket's Aspen project later matured into the Windows native-code Visual Objects compiler.

The Clipper language is being actively implemented and extended by multiple organizations/vendors, like XBase++ from Alaska Software and FlagShip, as well as free (GPL-licensed) projects like Harbour and xHarbour.

Many of the current implementations are portable (DOS, Windows, Linux (32- and 64-bit), Unix (32- and 64-bit), and Mac OS X), supporting many language extensions [1], and have greatly extended runtime libraries, as well as various Replaceable Database Drivers (RDD) supporting many popular database formats, like DBF, DBTNTX, DBFCDX (FoxPro, Apollo and Comix), MachSix (SIx Driver and Apollo), SQL, and more. These newer implementations all strive for full compatibility with the standard dBase/xBase syntax, while also offering OOP approaches and target-based syntax such as SQLExecute().

The Clipper Usenet newsgroups are comp.lang.clipper and comp.lang.clipper.visual-objects.

Programming in Clipper

A simple hello world - application:

? "Hello World!"

A simple data base input mask:

USE Customer SHARED NEW
clear
@  1, 0 SAY "CustNum" GET Customer->CustNum PICT "999999" VALID Customer->CustNum > 0
@  3, 0 SAY "Contact" GET Customer->Contact VALID !empty(Customer->Contact)
@  4, 0 SAY "Address" GET Customer->Address
READ

Version history

The various versions of Clipper were

From Nantucket Corporation; the "seasonal versions", billed as "dBase compilers"

  • Nantucket Clipper Winter'84 - released May 25, 1985
  • Nantucket Clipper Summer'85 - released 1985
  • Nantucket Clipper Winter'85 - released January 29, 1986
  • Nantucket Clipper Autumn'86 - released October 31, 1986
  • Nantucket Clipper Summer'87 - released December 21, 1987

From Nantucket Corporation; Clipper 5

  • Nantucket Clipper 5.00 - released 1990
  • Nantucket Clipper 5.01 - released April 15, 1991
  • Nantucket Clipper 5.01 Rev.129 - released March 31, 1992

and from Computer Associates; CA-Clipper 5

  • CA Clipper 5.01a -
  • CA Clipper 5.20 - released February 15, 1993
  • CA-Clipper 5.2a - released March 15, 1993
  • CA Clipper 5.2b - released June 25, 1993
  • CA-Clipper 5.2c - released August 6, 1993
  • CA Clipper 5.2d - released March 25, 1994
  • CA-Clipper 5.2e - released February 7, 1995
  • CA Clipper 5.30 - released June 26, 1995
  • CA Clipper 5.3a - released May 20, 1996
  • CA Clipper 5.3b - released May 20, 1997

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Clarion (programming language) — For other uses, see Clarion. Clarion Developer(s) JPI, Clarion International, SoftVelocity Stable release 8.0 / August 30, 2011; 2 months ago (2011 08 30) Operating system …   Wikipedia

  • Fourth-generation programming language — A fourth generation programming language (1970s 1990) (abbreviated 4GL) is a programming language or programming environment designed with a specific purpose in mind, such as the development of commercial business software.[1] In the history of… …   Wikipedia

  • Clipper (disambiguation) — A clipper is a fast sailing ship. Clipper may also refer to: In transportation Yankee Clipper (disambiguation) Boeing 314 Clipper, a flying boat Piper PA 16 Clipper, a small aircraft Delta Clipper, a reusable space vehicle Kliper (sometimes… …   Wikipedia

  • List of programming languages by category — Programming language lists Alphabetical Categorical Chronological Generational This is a list of programming languages grouped by category. Some languages are listed in multiple categories. Contents …   Wikipedia

  • List of programming languages — Programming language lists Alphabetical Categorical Chronological Generational The aim of this list of programming languages is to include all notable programming languages in existence, both those in current use and historical ones, in… …   Wikipedia

  • Flagship compiler — FlagShip is both object oriented and procedural programming language, based on the xBase language dialect and conventions. FlagShip is available for and is cross compatible to different computer platforms, such as Linux, Unix and Microsoft… …   Wikipedia

  • Clip (compiler) — clip Developer(s) ITK / Uri Hnykin Stable release 1.2.0 / November 1, 2006; 5 years ago (2006 11 01) Operating system Unix like …   Wikipedia

  • Clip — may refer to: In holding devices: Clip (ammunition), a device for storing multiple rounds together as a unit Sometimes confused with magazine (firearms) Paper clip, a device for holding several sheets of paper together Binder clip, a device used… …   Wikipedia

  • Flagship (disambiguation) — Flagship may refer to:*A Flagship store of a retailer. *The representative or first unit of a fleet or other group, see flagship. *Flagship product, a company s primary moneymaker or originating product. **The flagship car of an automotive marque …   Wikipedia

  • Harbor (disambiguation) — A harbor or harbour (see spelling differences), or haven, is a place where ships may shelter from the weather or are stored. Other uses include:* Harbour Air, Canadian charter airline * Harbour City, shopping mall in Tsim Sha Tsui, Hong Kong,… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”