An Introduction to the Forth Language and Operating System for Beginners and Professionals
Leo Brodie

#Forth
#Operating_System
📘 این کتاب محبوب و کامل برای یادگیری Syntax زبان FORTH، هم برای مبتدیها و هم حرفهایها طراحی شده و حالا با استاندارد جدید FORTH-83 گسترش پیدا کرده است.
🔥 ویژگیهای کلیدی
📖 توضیحات کتاب
💻 به Starting FORTH خوش اومدی؛ کتابی برای ورود به دنیای یک زبان برنامهنویسی قدرتمند و متفاوت به اسم FORTH.
🧠 اگر تازهکاری و میخوای بیشتر درباره کامپیوترها یاد بگیری، FORTH یکی از بهترین انتخابهاست. برنامهنویسی با FORTH از دید نویسنده، از هر زبان دیگهای جذابتر و لذتبخشتره.
(بخش Introduction for Beginners مخصوص همین گروه نوشته شده.)
👨💻 اگر هم برنامهنویس حرفهای هستی و میخوای FORTH یاد بگیری، این کتاب دقیقاً برای تو طراحی شده. FORTH رویکرد کاملاً متفاوتی نسبت به کامپیوترها داره؛ اونقدر متفاوت که حتی برنامهنویسهای باتجربه هم بهتره یادگیریش رو از پایه شروع کنن.
🧩 نویسنده پیشنهاد میکنه اگر به زبانهای دیگه مسلط هستی، فعلاً اونها رو کنار بذاری و فقط دانستههات درباره کامپیوترها رو نگه داری.
(بخش Introduction for Professionals برای این دسته از خوانندههاست.)
📚 چون مخاطبهای FORTH پیشزمینههای مختلفی دارن، ساختار کتاب طوری طراحی شده که فقط مطالب موردنیاز خودت رو بخونی. برای همین، Footnoteهایی مخصوص انواع مختلف خوانندهها داخل متن قرار داده شده.
🔢 نیمه اول فصل ۷ هم فقط برای مبتدیها نوشته شده و مفاهیم مربوط به Arithmetic کامپیوتری رو توضیح میده.
⚙️ کتاب نحوه نوشتن Applicationهای ساده با FORTH رو آموزش میده و تمام Wordهای استاندارد FORTH که برای ساخت Applicationهای High-Level و Single-Task لازم هستن رو پوشش میده.
🚀 مجموعه Wordهای استاندارد FORTH بسیار قدرتمنده و از عملگرهای ساده ریاضی گرفته تا Wordهای کنترلکننده Compiler رو شامل میشه.
(برای جزئیات بیشتر به Appendix 3 — FORTH-79 Standard مراجعه کن.)
🛠️ بعضی قابلیتها عمداً از کتاب حذف شدن؛ مثل Commandهای مربوط به Assembler، MultiProgramming، ابزارهای Printing و Disk Utilityها یا Target Compiler. این قابلیتها در برخی نسخههای FORTH مثل polyFORTH وجود دارن.
(توضیحات بیشتر در Appendix 2 — Further Features of polyFORTH)
💾 مثالهای کتاب روی سیستمهای واقعی FORTH که Terminal و Disk دارن قابل اجرا هستن. البته این به معنی محدود بودن FORTH به پردازش Batch یا String نیست؛ چون کاربردهای FORTH تقریباً محدودیتی ندارن.
✨ ویژگیهایی که استفاده از کتاب رو راحتتر میکنن
💬 یادداشت شخصی نویسنده
🧠 FORTH زبان بسیار غیرمعمولیه و خیلی از قوانین رایج برنامهنویسی رو نقض میکنه. واکنش اولیه نویسنده نسبت به FORTH کاملاً شکاکانه بوده، اما وقتی شروع به ساخت Applicationهای پیچیده کرده، کمکم زیبایی و قدرت واقعی FORTH رو درک کرده است.
🚀 نویسنده توصیه میکنه هنگام مطالعه کتاب ذهن باز داشته باشی، چون بسیاری از ویژگیهای FORTH در نگاه اول عجیب به نظر میرسن.
😄 و یک هشدار دوستانه هم میده:
«بیشتر برنامهنویسهایی که FORTH یاد میگیرن، دیگه به زبانهای دیگه برنمیگردن.»
🎯 موفق باشی و از یادگیری لذت ببر!
— لئو برودی
از FORTH, Inc.
📑 فهرست مطالب
👨🏫 درباره نویسنده
🎼 لئو برودی نویسنده کتابهای معروف Starting Forth و Thinking Forth است.
💼 او در حال حاضر بهعنوان Director of Technical Services در NetSpeed Learning Solutions در شهر Seattle فعالیت میکند.
👨👩👧👦 لئو متأهل و پدر سه فرزند است.
🎵 او همچنین یک آلبوم موسیقی شخصی با نام Across The Years منتشر کرده که در Amazon در دسترس است.
For beginners and professionals, this popular and complete introduction to FORTH syntax has been expanded to include the new FORTH-83 Standard. It is suitable for all FORTH-83 Standard systems and is a complete guide to learning FORTH with special footnotes that address FORTH-79, MVP-FORTH and FIG-FORTH versions.
Welcome to Starting FORTH, your introduction to an exciting and powerful computer language called FORTH.
If you're a beginner who wants to learn more about computers, FORTH is a great way to learn. FORTH is more fun to write programs with than any language that I know of. (See the "Introduction for Beginners.")
If you are a seasoned professional who wants to learn FORTH, this book is just what you need. FORTH is a very different approach to computers, so different that everyone, from newcomers to old hands, learns FORTH best from the ground up. If you're adept at other computer languages, put them out of your mind, and remember only what you know about computers. (See the "Introduction for Professionals.")
Since many people with different backgrounds are interested in FORTH, I've arranged this book so that you'll only have to read what you need to know, with footnotes addressed to different kinds of readers. The first half of Chap. 7 provides a background in computer arithmetic for beginners only.
This book explains how to write simple applications in FORTH. It includes all standard FORTH words that you need to write a high-level, single-task application. This word set is an extremely powerful one, including everything from simple math operators to compiler-controlling words. (See Appendix 3, "FORTH-79 Standard.")
Excluded from this book are all commands that are related to the assembler, multiprogrammer, printing and disking utilities, and target compiler. These commands are available on some versions of FORTH such as polyFORTH. (See Appendix 2, "Further Features of polyFORTH.")
I've chosen examples that will actually work at a FORTH system with a terminal and disk. Don't infer from this that FORTH is limited to batch or string-handling tasks, since there is really no limit to FORTH's usefulness.
Here are some features of this book that will make it easy to use:
A personal note: FORTH is a very unusual language. It violates many cardinal rules of programming. My first reaction to FORTH was extremely skeptical, but as I tried to develop complicated applications I began to see its beauty and power. You owe it to yourself to keep an open mind while reading about some of its peculiarities. I'll warn you now: few programmers who learn FORTH ever go back to other languages.
Good luck, and enjoy learning!
Leo Brodie
FORTH, Inc.
Table of Contents
1 Fundamental Forth
2 How to Get Results
3 The Editor (And Staff)
4 Decisions, Decisions...
5 The Philosophy of Fixed Point
6 Throw It for a Loop
7 A Number of Kinds of Numbers
8 Variables, Constants, and Arrays
9 Under the Hood
10 I/O and You
11 Extending the Compiler
12 Three Examples
Appendix 1 — Answers to Problems
Appendix 2 — Further Features of polyFORTH
Appendix 3 — Forth-79 Standard
Appendix 4 — Summary of Forth Words
About the Author
Leo Brodie is the author of Starting Forth and Thinking Forth. He is currently employed as Director of Technical Services for NetSpeed Learning Solutions in Seattle. He is married and the father of three children. He has released a CD of his own music called "Across The Years", available here on Amazon.









