Part of the Programming glossary:

Forth is a high-level programming language that works like reverse Polish notation (RPN) on a calculator. It differs from typical programming languages, like C and FORTRAN , because it is interactive. Using Forth, a user doesn't need to recompile a program to add new functionality; the user defines a new command and it is available right away.

Forth has one of the simplest syntaxes of any computer language. The syntax can be stated as: Forth code is a bunch of words with spaces between them. Each word is equivalent to a function or subroutine in a language like C. Functions are executed in the order they appear in the code. The following statement is an example that could appear in a Forth program: WAKE.UP EAT.BREAKFAST WORK EAT.DINNER PLAY SLEEP. The dots between WAKE and UP and the other words simply connect the two words to make one. Forth word names can have any combination of letters, numbers or punctuation.

This was last updated in April 2005
Posted by: Margaret Rouse

Related Terms

Definitions

  • COBOL (Common Business Oriented Language)

    - COBOL (Common Business Oriented Language) was the first widely-used high-level programming language for business applications. Many payroll, accounting, and other business application programs wr... (SearchDataCenter.com)

  • use case diagram

    - A use case diagram is a graphic depiction of the interactions among the elements of a system. A use case is a methodology used in system analysis to identify, clarify, and organize system requireme... (WhatIs.com)

  • domain specific language (DSL)

    - A domain specific language (DSL) is a programming language developed to address an aspect within a specific domain. (SearchSOA.com)

Glossaries

  • Programming

    - Terms related to software programming, including definitions about programming languages and words and phrases about software design, coding, testing and debugging.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Ask a Question. Find an Answer.Powered by ITKnowledgeExchange.com

Ask An IT Question

Get answers from your peers on your most technical challenges

Ask Question

Tech TalkComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.