Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Clipper (programming language)

From Wikipedia, the free encyclopedia
(Redirected fromClipper programming language)
Compiler for xBase
Clipper
FamilyxBase
DevelopersNantucket Corporation
Computer Associates
First appeared1985; 40 years ago (1985)
Final release
CA Clipper 5.3b / May 20, 1997; 28 years ago (1997-05-20)
OSDOS
Licenseproprietary
WebsiteLast known Websitewww.grafxsoft.com/clipper.htm still exists, but relevant content has been removed, even for the main webpage. Looking back in time at this URL in Wayback Machine, real content appears last available on June 16, 2018. This archived content still available at:web.archive.org/web/20180616231447/http://www.grafxsoft.com/clipper.htm. Trying to place an order at the page bottom will fall.
Influenced by
dBase
Influenced
Harbour

Clipper is anxBasecompiler that implements a variant of thexBase computerprogramming language. It is used to create or extend software programs that originally ran usually onDOS. Although it is a powerful general-purpose programming language, it was used mainly to createdatabase business programs.

One majordBase feature not implemented in Clipper is thedot-prompt (. prompt) interactive command set,[1] which was an important part of the original dBase implementation.

Clipper, from Nantucket Corp and laterComputer Associates, started out as a native code compiler for dBase III databases, and later evolved.[2]

History

[edit]

Clipper was created by Nantucket Corporation, a company that was started in 1984 by Barry ReBell (management) and Brian Russell (technical). Larry Heimendinger was Nantucket's president.[3] In 1992, the company was sold toComputer Associates for 190 million dollars and the product was renamed to CA-Clipper.[4][5]

Clipper was created as a replacementprogramming language forAshton Tate'sdBASE III, a very populardatabase language at the time. The advantage of Clipper over dBASE was that it could becompiled[6] andexecuted onDOS as astandalone application. In the years between 1985 and 1992, millions of Clipper applications were built, typically for small businesses dealing with databases concerning many aspects ofclient management andinventory management. For many smaller businesses, having a Clipper application designed to their specific needs was their first experience with software development. Also many applications forbanking andinsurance companies were developed, here especially in those cases where the application was considered too small to be developed and run on traditionalmainframes. In these environments Clipper also served as afront end for existing mainframe applications.[7]

As the product matured, it added elements of the programming languagesC andPascal, andobject-oriented programming (OOP), and the code-blockdata-type (hybridizing the concepts of dBasemacros, orstring-evaluation, andfunction pointers), to become far more powerful than the original. Nantucket's Aspen project later matured into theWindows native-code CA-Visual Objects compiler.[8]

Market penetration

[edit]

Nantucket sold well in Western markets. Also, in November 1991, theNew York Times reported the company's success in "painstakingly convincing Soviet software developers that buying is preferable to pirating". According to the article, Clipper had sold 2,000 copies in the Soviet Union[3] (compared to 250,000 worldwide).

Decline

[edit]

In the early 1990s, under new ownership,[8] Clipper failed to transition fromDOS toWindows. As a result, almost no new commercial applications were written in Clipper after 1995.

By then, the "classically trained programmer" commonly usedstrong typing, in contrast to the original dBASE language. An evolution of Clipper, named VO, added strong typing but made it optional, to remain compatible with existing code.[8] Four of the more important languages that took over from Clipper wereVisual Basic,Microsoft Access,Delphi, andPowerbuilder. All provided strong typing.

Revival by third-parties

[edit]

The Clipper language is being actively implemented and extended by multiple organizations/vendors, likeXBase++ from Alaska Software andFlagShip, andfree (GPL-licensed) projects likeHarbour andxHarbour.[9]

Many of the current implementations are portable (DOS,Windows,Linux (32- and64-bit),Unix (32- and 64-bit), andmacOS), supporting many language extensions,[10] with much extendedruntime libraries, and various Replaceable Database Drivers (RDD) supporting many popular database formats, likeDBF, DBTNTX, DBFCDX (FoxPro, Apollo, Comix, and Advantage Database Server), MachSix (SIx Driver and Apollo),SQL, and more. These newer implementations all strive for full compatibility with the standarddBase/xBase syntax, while also offering OOP approaches and target-based syntax such asSQLExecute().

Usenet

[edit]

The ClipperUsenetnewsgroups arecomp.lang.clipper andcomp.lang.clipper.visual-objects.

Compiling and running hello world program in clipper

Programming in Clipper

[edit]

A simplehello world - application:

? "Hello World!"

A simple data base input mask:

USE Customer SHARED NEWclear@  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->AddressREAD

Version history

[edit]

The various Clipper versions, and release dates, were:

From Nantucket Corporation; the "seasonal versions", billed as "dBasecompilers":

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

From Nantucket Corporation; Clipper 5:

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

and fromComputer Associates; CA-Clipper 5:

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

Clipper Tools

[edit]

After buying Nantucket, along with the standard Clipperlibrary, CA developed another, namedClipper Tools. Three versions of this library were released, alongside Clipper versions. This library became a de facto standard among Clipper clones, such as xHarbour. It was also cloned by several of Clipper's clones.

References

[edit]
  1. ^Warren M. Littlefield (1983).DBASE - From the Dot Prompt: An Introduction to Structured Programming using dBase IV.ISBN 0791417808.
  2. ^"Clipper".a native code compiler for dBase ... later evolved ...
  3. ^abRifkin, Glenn (3 November 1991)."Selling Software, Soviet-Style".The New York Times.
  4. ^"CA-Clipper".Viva Clipper!. 14 September 2013.
  5. ^GrafX Software licensed CA-Clipper in 2002 from CA for ongoing marketing and distribution.
  6. ^Compiling dBASE code changes it frominterpreted code, which must be interpreted every time each line of code is executed, top-code, which uses avirtual machine to process the compiled p-code. p-code is considerably faster, but still not as fast as themachine 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.
  7. ^"Clipper".thocp.net. The History Of Computing Project. 20 June 2007. Archived fromthe original on 12 May 2008. Retrieved24 August 2016.
  8. ^abcda Silva, Rod (October 1, 1995)."Examining CA-Visual Objects".Dr. Dobb's Journal.
  9. ^fbizzell (January 31, 2006)."Converting Clipper applications to windows".
  10. ^"xHarbour.org".www.xharbour.org.

External links

[edit]
Implementations
IDE
Authority control databases: NationalEdit this at Wikidata
Retrieved from "https://en.wikipedia.org/w/index.php?title=Clipper_(programming_language)&oldid=1289539209"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp