Presentation is loading. Please wait.

Presentation is loading. Please wait.

FORTH By Wesley Morefield. History Worked at the Smithsonian Astrophysical Observatory. He used programs to allign satellite stations with astronomical.

Similar presentations


Presentation on theme: "FORTH By Wesley Morefield. History Worked at the Smithsonian Astrophysical Observatory. He used programs to allign satellite stations with astronomical."— Presentation transcript:

1 FORTH By Wesley Morefield

2 History Worked at the Smithsonian Astrophysical Observatory. He used programs to allign satellite stations with astronomical positions. The formula for each satellite station was different, so he had to use different code for each one. In 1950 he created an interpreter so that he could have one main program and change out chunks of code for each satellite without recompiling the whole program.

3 Stack Stack based language. Reverse Polish Notation 1 2 3 4 + * - 4 3 7 2 2 14 1 1 1 13 STACKSTACKSTACK STACK

4 Control Structures

5 Dictionary Compiled list that remains in memory that contains all of the built-in and user created methods.  Example of how methods work and can be linked. ( Large letter F ) : STAR 42 EMIT ; ***** : STARS 0 DO STAR LOOP ;* : MARGIN CR 30 SPACES ;***** : BLIP MARGIN STAR ;* : BAR MARGIN 5 STARS ;* : F BAR BLIP BAR BLIP BLIP CR ;

6

7 Evaluation Readability Writability Reliability Cost

8 Readability

9 Writability

10 Reliability Unsafe Direct editing of memory Reliable when programmed correctly

11 Cost Language is free Not an easy language to learn Formal training would be expensive

12 References http://www.forth.com http://www.intellasys.net http://99-bottles-of-beer.net http://www.greenarraychips.com/index.html http://c2.com/cgi/wiki?ExampleForthCode


Download ppt "FORTH By Wesley Morefield. History Worked at the Smithsonian Astrophysical Observatory. He used programs to allign satellite stations with astronomical."

Similar presentations


Ads by Google