forth
play

FORTH A slightly different Programming System Carsten Strotmann, - PowerPoint PPT Presentation

Forth in Time An Overview on Forth Why learning/using Forth Summary 21C3 - Forth Crossover FORTH A slightly different Programming System Carsten Strotmann, Forth Gesellschaft e.V. 21st Chaos Communication Congress Carsten Strotmann FORTH


  1. Forth in Time An Overview on Forth Why learning/using Forth Summary 21C3 - Forth Crossover FORTH A slightly different Programming System Carsten Strotmann, Forth Gesellschaft e.V. 21st Chaos Communication Congress Carsten Strotmann FORTH

  2. Forth in Time An Overview on Forth Why learning/using Forth Summary 21C3 - Forth Crossover Outline Forth in Time 1 Birth of Forth and the roaring 80s Forth Today An Overview on Forth 2 Forth Basics Examples (Forth vs. C) Forth is easily extensible Why learning/using Forth 3 Broaden your horizon Create lean and fast Programs Forth, the good and the bad 21C3 - Forth Crossover 4 institution-logo Carsten Strotmann FORTH

  3. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover Outline Forth in Time 1 Birth of Forth and the roaring 80s Forth Today An Overview on Forth 2 Forth Basics Examples (Forth vs. C) Forth is easily extensible Why learning/using Forth 3 Broaden your horizon Create lean and fast Programs Forth, the good and the bad 21C3 - Forth Crossover 4 institution-logo Carsten Strotmann FORTH

  4. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover BIRTH OF FORTH The early years the first program to be called Forth was written in about 1970 by Charles Moore. An Open Source Forth called FIG-FORTH made Forth known on many computer enthusiasts on may architectures. In the late 70s and during the 80s, Forth was often used on Mirco- and Home-Computer Systems. institution-logo Carsten Strotmann FORTH

  5. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover BIRTH OF FORTH The early years the first program to be called Forth was written in about 1970 by Charles Moore. An Open Source Forth called FIG-FORTH made Forth known on many computer enthusiasts on may architectures. In the late 70s and during the 80s, Forth was often used on Mirco- and Home-Computer Systems. institution-logo Carsten Strotmann FORTH

  6. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover BIRTH OF FORTH The early years the first program to be called Forth was written in about 1970 by Charles Moore. An Open Source Forth called FIG-FORTH made Forth known on many computer enthusiasts on may architectures. In the late 70s and during the 80s, Forth was often used on Mirco- and Home-Computer Systems. institution-logo Carsten Strotmann FORTH

  7. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover The Name How did Forth get its name? Charles Moore: The first time I combined the ideas I had been developing into a single entity, I was working on an IBM 1130, a "third-generation" computer. The result seemed so powerful that I considered it a "fourth generation computer language." I would have called it Fourth, except that the 1130 permitted only five-character identifiers. So Fourth became Forth, a nicer play on words anyway. institution-logo Carsten Strotmann FORTH

  8. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover Outline Forth in Time 1 Birth of Forth and the roaring 80s Forth Today An Overview on Forth 2 Forth Basics Examples (Forth vs. C) Forth is easily extensible Why learning/using Forth 3 Broaden your horizon Create lean and fast Programs Forth, the good and the bad 21C3 - Forth Crossover 4 institution-logo Carsten Strotmann FORTH

  9. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover Forth today Forth is available for a wide range of architectures native on bare hardware (i386-ia64, amd64, ppc, sparc ...) hosted on Operating Systems (Linux/Unix, Dos, embedded OS, even Windows ...) or embedded in other Systems (Java, .NET, JavaScript, BASH ...) or as a Machine Language in Hardware ( µ Core, b16 ... ) institution-logo Carsten Strotmann FORTH

  10. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover Forth today Forth is available for a wide range of architectures native on bare hardware (i386-ia64, amd64, ppc, sparc ...) hosted on Operating Systems (Linux/Unix, Dos, embedded OS, even Windows ...) or embedded in other Systems (Java, .NET, JavaScript, BASH ...) or as a Machine Language in Hardware ( µ Core, b16 ... ) institution-logo Carsten Strotmann FORTH

  11. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover Forth today Forth is available for a wide range of architectures native on bare hardware (i386-ia64, amd64, ppc, sparc ...) hosted on Operating Systems (Linux/Unix, Dos, embedded OS, even Windows ...) or embedded in other Systems (Java, .NET, JavaScript, BASH ...) or as a Machine Language in Hardware ( µ Core, b16 ... ) institution-logo Carsten Strotmann FORTH

  12. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover Forth today Forth is available for a wide range of architectures native on bare hardware (i386-ia64, amd64, ppc, sparc ...) hosted on Operating Systems (Linux/Unix, Dos, embedded OS, even Windows ...) or embedded in other Systems (Java, .NET, JavaScript, BASH ...) or as a Machine Language in Hardware ( µ Core, b16 ... ) institution-logo Carsten Strotmann FORTH

  13. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover Forth today (2nd) Forth is often used “invisible” as the Firmware (or BIOS) of all Apple and SUN Sparc Machines as a Bootloader in FreeBSD as embedded Software, e.g. in Vending Machines or F1 Race Cars or Satellites institution-logo Carsten Strotmann FORTH

  14. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover Forth today (2nd) Forth is often used “invisible” as the Firmware (or BIOS) of all Apple and SUN Sparc Machines as a Bootloader in FreeBSD as embedded Software, e.g. in Vending Machines or F1 Race Cars or Satellites institution-logo Carsten Strotmann FORTH

  15. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover Forth today (2nd) Forth is often used “invisible” as the Firmware (or BIOS) of all Apple and SUN Sparc Machines as a Bootloader in FreeBSD as embedded Software, e.g. in Vending Machines or F1 Race Cars or Satellites institution-logo Carsten Strotmann FORTH

  16. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover Forth today (2nd) Forth is often used “invisible” as the Firmware (or BIOS) of all Apple and SUN Sparc Machines as a Bootloader in FreeBSD as embedded Software, e.g. in Vending Machines or F1 Race Cars or Satellites institution-logo Carsten Strotmann FORTH

  17. Forth in Time An Overview on Forth Birth of Forth Why learning/using Forth Forth Today Summary 21C3 - Forth Crossover Forth today (2nd) Forth is often used “invisible” as the Firmware (or BIOS) of all Apple and SUN Sparc Machines as a Bootloader in FreeBSD as embedded Software, e.g. in Vending Machines or F1 Race Cars or Satellites institution-logo Carsten Strotmann FORTH

  18. Forth in Time An Overview on Forth Forth Basics Why learning/using Forth Examples (Forth vs. C) Summary Forth is easily extensible 21C3 - Forth Crossover Outline Forth in Time 1 Birth of Forth and the roaring 80s Forth Today An Overview on Forth 2 Forth Basics Examples (Forth vs. C) Forth is easily extensible Why learning/using Forth 3 Broaden your horizon Create lean and fast Programs Forth, the good and the bad 21C3 - Forth Crossover 4 institution-logo Carsten Strotmann FORTH

  19. Forth in Time An Overview on Forth Forth Basics Why learning/using Forth Examples (Forth vs. C) Summary Forth is easily extensible 21C3 - Forth Crossover Forth Simplicity Forth has just two rules: You have NUMBERS (in any numeric base you could 1 imagine). They are pushed on to the DATA STACK or compiled on to the DICTIONARY. You have SYMBOLS. They are searched through the 2 DICTIONARY and, if found, EXECUTED or compiled on to the DICTIONARY too. Forth has two main modes: EXECUTE and COMPILE. Depending what mode you are in, the behavior of numbers and symbols changes accordingly. That’s it. Everything else is about WORDS, that means, what one of the SYMBOLS does when EXECUTED. institution-logo Carsten Strotmann FORTH

Recommend


More recommend