On Tuesday 11 July 2006 10:54, Charles O Nutter wrote:
>
> Please keep it going! :) I'm learning this stuff as I go anyway...I've
> never written a compiler or taken a course in same (but it doesn't seem to
> be as hard as it's made out to be).
I took the class, and I think we wrote a teeny-tiny o
On 7/11/06, Charles O Nutter <[EMAIL PROTECTED]> wrote:
Been thinking through compilation a bit more. Here's a little pseudo-bytecode for the fib function.def fib: arity 1 PUSH local var 2 PUSH literal 2 CALL '<' arity 1 JMP_FALSE to XX
PUSH local var 2 RETURNXX: PUSH local var
On 7/11/06, Nick Sieger <[EMAIL PROTECTED]> wrote:
Is FCALL supposed to be "call with self as receiver"? The JVM requires you to push "this" before every invocation -- or are you just doing this for a condensed pseodo-bytecode?
This is really meant as a pseudo-Ruby-bytecode, to help settle my unde
Yeah, I have heard a bit about his wilder ideas. I would be very surprised to see them in Java 7, but they'd sure make Java a perfect platform for languages like Ruby. I think we can come up with some creative workarounds until then, however.
On 7/11/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote:
On Tue, 11 Jul 2006, Charles O Nutter defenestrated me:
>
>Been thinking through compilation a bit more. Here's a little
>pseudo-bytecode for the fib function.
>def fib: arity 1
>PUSH local var 2
>PUSH literal 2
>CALL '<' arity 1
>JMP_FALSE to XX
>