All pastes #876874 Raw Edit

Untitled

public text v1 · immutable
#876874 ·published 2008-01-29 03:46 UTC
rendered paste body
using System;
using Nemerle;
using Nemerle.Compiler;

namespace Sever.MIPS.Recompiler {
	macro test (body)
	syntax ("test", body)
	{
		System.Console.WriteLine(body.ToString());
		<[ () ]>;
	}
	
	class Recompiler {
		private mutable reg[UInt32] = array(32);
		private mutable PC : UInt32;
		
		Main() : void {
			test "foo";
		}
		
		Process() : void {
			//print ("test?"), "blah";
		}
	}
}