FazBrowse Wikipedia Viewer | Main Page |
Search Wikipedia:
|
Viewing: https://en.wikipedia.org/wiki/Programming_language_implementation

Programming language design and implementation

Contents
        Virtual machine
Process
References

Programming languages are typically created by designing a form of representation of a computer program, and writing an implementation for the developed concept, usually an interpreter or compiler. Interpreters are designed to read programs, usually in some variation of a text format, and perform actions based on what it reads, whereas compilers convert code to a lower level form, such as object code.

An interpreter is a program that reads another program, typically as text, as seen in languages like Python. Interpreters read code, and produce the result directly. Interpreters typically read code line by line, and parse it to convert and execute the code as operations and actions.

An interpreter is composed of two parts: a parser and an evaluator. After a program is read as input by an interpreter, it is processed by the parser. The parser breaks the program into language components to form a parse tree. The evaluator then uses the parse tree to execute the program.

Virtual machine

edit
 

Process

edit

Processes of making a programming language may differ from developer to developer; however, here is a general process of how one might create a programming language, which includes common concepts:

References

edit
"Programming Languages and Learning". Washington EDU. University of Washington. Retrieved 2 March 2023.
  • 1 2 3 "Hints on Programming Language Design" (PDF). 1973. Retrieved 7 March 2023.
  • ↑ Baker, Greg. "Language Implementations". Computing Science - Simon Fraser University. Archived from the original on Mar 8, 2019. Retrieved 22 March 2020.
  • ↑ KernelTrap. "More Efficient Bytecode Interpreters Instead of Just-in-Time Compilation".
  • ↑ Larry Fish. "The Story Behind Apex/XPL0 and the 6502 Group".
  • ↑ Evans, David (19 August 2011). Introduction to Computing (PDF). University of Virginia. p. 211. Retrieved 22 March 2020.
  • 1 2 Ali, Mirza Farrukh (Oct 12, 2017). "Common Language Runtime(CLR) DotNet". Medium. Retrieved 22 March 2020.
  • ↑ "Alternative Python Implementations". Python.org. Retrieved 23 March 2020.
  • ↑ Ferguson, Andrew. "A History of Computer Programming Languages". Brown University. Retrieved 2 March 2023.
  • ↑ Media related to Compiling and linking at Wikimedia Commons

  • View original on Wikipedia | Back | FazBrowse Home