Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Interpreter (computing)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== {{anchor|Compreter}}Bytecode interpreters === {{main|Bytecode}} There is a spectrum of possibilities between interpreting and compiling, depending on the amount of analysis performed before the program is executed. For example, [[Emacs Lisp]] is compiled to [[bytecode]], which is a highly compressed and optimized representation of the Lisp source, but is not machine code (and therefore not tied to any particular hardware). This "compiled" code is then interpreted by a bytecode interpreter (itself written in [[C (programming language)|C]]). The compiled code in this case is machine code for a [[virtual machine]], which is implemented not in hardware, but in the bytecode interpreter. Such compiling interpreters are sometimes also called ''compreters''.<ref name="Kühnel_1987_Kleincomputer">{{cite book |editor-first1=Rainer |editor-last1=Erlekampf |editor-first2=Hans-Joachim |editor-last2=Mönk |author-first=Claus |author-last=Kühnel |page=222 |title=Mikroelektronik in der Amateurpraxis |trans-title=Micro-electronics for the practical amateur |chapter=4. Kleincomputer - Eigenschaften und Möglichkeiten |trans-chapter=4. Microcomputer - Properties and possibilities |publisher={{ill|Militärverlag der Deutschen Demokratischen Republik|de}}, Leipzig |location=Berlin |date=1987 |orig-year=1986 |edition=3 |language=de |isbn=3-327-00357-2 |id=7469332}}</ref><ref name="Heyne_1984_Compreter">{{cite journal |title=Basic-Compreter für U880 |trans-title=BASIC compreter for U880 (Z80) |author-first=R. |author-last=Heyne |journal={{ill|radio-fernsehn-elektronik|de|Radio Fernsehen Elektronik}} |language=de |date=1984 |volume=1984 |issue=3 |pages=150–152}}</ref> In a bytecode interpreter each instruction starts with a byte, and therefore bytecode interpreters have up to 256 instructions, although not all may be used. Some bytecodes may take multiple bytes, and may be arbitrarily complicated. [[Control table]]s - that do not necessarily ever need to pass through a compiling phase - dictate appropriate algorithmic [[control flow]] via customized interpreters in similar fashion to bytecode interpreters.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)