Compiler/AST interpreter: Difference between revisions

Content added Content deleted
(J)
m (J: include an implementation of 'error' (so that an error would display the error message before erroring out))
Line 1,701: Line 1,701:
Implementation:
Implementation:


<lang J>outbuf=: ''
<lang J>error=: {{echo y throw.}}
outbuf=: ''
emit=:{{
emit=:{{
outbuf=: outbuf,y
outbuf=: outbuf,y
Line 1,832: Line 1,833:


</lang>
</lang>

=={{header|Java}}==
=={{header|Java}}==
<lang java>
<lang java>