If very few humans can (or want) to speak the machine language of the computers’ processors and software
is expressed in this language, how has so much software been developed over the years?
Software can be represented by printed words and symbols that are easier for humans to manage than
binary sequences. Tools exist that automatically convert a higher-level description of what is to be done
into the required lower-level code. Higher-level programming languages like C++ allow programmers to
express solutions to programming problems in terms that are much closer to a natural language like English.
Some examples of the more popular of the hundreds of higher-level programming languages that have been
devised over the past 60 years include FORTRAN, COBOL, Lisp, Haskell, C, Perl, Python, Java, and C#.
Most programmers today, especially those concerned with high-level applications, usually do not worry
about the details of underlying hardware platform and its machine language.
One might think that ideally such a conversion tool would accept a description in a natural language,
such as English, and produce the desired executable code. This is not possible today because natural
languages are quite complex compared to computer programming languages. Programs called compilers
that translate one computer language into another have been around for over 60 years, but natural language
ถ้ามนุษย์น้อยมากที่สามารถ (หรือต้องการ) ที่จะพูดภาษาเครื่องของตัวประมวลผลคอมพิวเตอร์
'และซอฟแวร์จะแสดงในภาษานี้วิธีการที่มีซอฟแวร์มากได้รับการพัฒนาขึ้นกว่าปีที่ผ่านมา?
ซอฟแวร์สามารถแสดงด้วยคำพูดการพิมพ์และสัญลักษณ์ที่ง่าย
สำหรับมนุษย์ในการจัดการกว่าลำดับไบนารี เครื่องมือที่มีอยู่ที่จะแปลงคำอธิบายระดับสูงของสิ่งที่จะทำได้เป็นรหัสในระดับต่ำกว่าที่จำเป็น
การเขียนโปรแกรมภาษาระดับสูงเช่น C ++
ช่วยให้การเขียนโปรแกรมเพื่อแสดงการแก้ปัญหาการเขียนโปรแกรมในแง่ที่มีมากใกล้ชิดกับภาษาธรรมชาติเช่นภาษาอังกฤษ.
ตัวอย่างบางส่วนของความนิยมมากขึ้นของหลายร้อยภาษาโปรแกรมระดับสูงที่ได้รับการคิดค้นที่ผ่านมา
60 ปีรวมถึง FORTRAN, COBOL, ชัด, Haskell, C, Perl, Python, Java, และ C #.
โปรแกรมเมอร์ส่วนใหญ่ในปัจจุบันโดยเฉพาะอย่างยิ่งผู้ที่เกี่ยวข้องกับการใช้งานระดับสูงมักจะไม่ต้องกังวลเกี่ยวกับรายละเอียดของแพลตฟอร์มฮาร์ดแวร์พื้นฐานและภาษาเครื่องของตน
.
หนึ่งอาจจะคิดว่านึกคิดเช่นเครื่องมือแปลงจะยอมรับคำอธิบายในภาษาธรรมชาติเช่นภาษาอังกฤษและผลิตรหัสปฏิบัติการที่ต้องการ
นี้เป็นไปไม่ได้ในวันนี้เพราะธรรมชาติภาษาที่มีความซับซ้อนมากเมื่อเทียบกับการเขียนโปรแกรมภาษาคอมพิวเตอร์
โปรแกรมที่เรียกว่าคอมไพเลอร์ที่แปลภาษาคอมพิวเตอร์หนึ่งไปยังอีกได้รับรอบนานกว่า 60 ปี แต่ภาษาธรรมชาติ
การแปล กรุณารอสักครู่..
