Forth - PowerPoint PPT Presentation

1 / 10
About This Presentation
Title:

Forth

Description:

Uses keywords and a dictionary to determine actions: . HEX .' : :hi .'hello world! ... http://en.wikipedia.org/wiki/Forth_(programming_language). http: ... – PowerPoint PPT presentation

Number of Views:66
Avg rating:3.0/5.0
Slides: 11
Provided by: Aar762
Category:

less

Transcript and Presenter's Notes

Title: Forth


1
Forth
  • By Aaron Shaw

2
Overview of Forth
  • History
  • Basic Syntax and Semantics
  • Source Code
  • Language Use
  • Advantages and Disadvantages
  • Likes and dislikes

3
History of Forth
  • Created by Charles H. Moore in 1968
  • First started being used in early 1970s
  • Standards were established in 1979 and 1984
  • ANSI unified standards in 1994 (ANSI FORTH)
  • Named because IBM 1130 system only allowed 5
    characters in a filename

4
Forth Basic Syntax and Semantics
  • Uses prefix notation
  • 3 2 4 is 3 2 4 .
  • Entirely based on a stack
  • 2 6 4 10
  • 3 6
  • Uses keywords and a dictionary to determine
    actions
  • . HEX .

5
Forth Source Code
  • hi .hello world!
  • hi hello world
  • DECIMAL 5 6 7 . 47
  • SEE

6
Use of Forth
  • Was used heavily in the 70s and 80s
  • Built into its own chipset once
  • Was the basis of MacFORTH and the home computer
    Jupiter ACE
  • Currently has been used with .NET

7
Advantages and Disadvantages
  • Very useful for stack related programs
  • Very powerful
  • Difficult to learn
  • Hard to write long, more useful programs

8
Likes and Dislikes
  • Easy to pick up the basics
  • Could be very powerful
  • Anything more then basic math becomes complicated
  • Difficult to make useful programs

9
Conclusion
  • Its interesting, useful if taken time to learn
  • Can be used well, but takes a lot of work

10
Bibliography
  • http//en.wikipedia.org/wiki/Forth_28programming_
    language29
  • http//www.ultratechnology.com/
  • http//www.dataman.ro/?page_id37
  • http//galileo.phys.virginia.edu/classes/551.jvn.f
    all01/primer.htm
Write a Comment
User Comments (0)
About PowerShow.com