Self-hosting compiler: Difference between revisions

Moved Wren entry into correct alphabetical order.
(→‎{{header|Quackery}}: typo corrected and {{incorrect}} removed. Thank you to the proofreader.)
(Moved Wren entry into correct alphabetical order.)
Line 103:
 
.NET Mono also has a relatively new VB.NET compiler, which can be found at [https://github.com/mono/mono-basic]. There is also an older Mono C# compiler.
 
=={{header|Wren}}==
Although Wren is an interpreted language, source code is not interpreted directly. Instead a single pass compiler first converts the source code into a simple stack-based bytecode which is then interpreted by the virtual machine (VM).
 
The advantage of this is that syntax errors are flagged before the script even runs and (in unison with several other factors) subsequent interpretation is faster than it would otherwise have been.
 
The VM (which includes the bytecode compiler) and the command line interpreter (which enables Wren scripts to be run independently) are written in C. Most of the core library is also written in C though parts of it are written in Wren itself. Frankly, in the interests of speed and because Wren is primarily intended as an embedded scripting language, self-hosting is never going to happen.
 
=={{header|ZED}}==
Line 1,378 ⟶ 1,385:
#true
(zed->scheme!) "value" nil</lang>
 
=={{header|Wren}}==
Although Wren is an interpreted language, source code is not interpreted directly. Instead a single pass compiler first converts the source code into a simple stack-based bytecode which is then interpreted by the virtual machine (VM).
 
The advantage of this is that syntax errors are flagged before the script even runs and (in unison with several other factors) subsequent interpretation is faster than it would otherwise have been.
 
The VM (which includes the bytecode compiler) and the command line interpreter (which enables Wren scripts to be run independently) are written in C. Most of the core library is also written in C though parts of it are written in Wren itself. Frankly, in the interests of speed and because Wren is primarily intended as an embedded scripting language, self-hosting is never going to happen.
 
=={{header|zkl}}==
9,476

edits