view runtime/integer.h @ 30:914ad38f9b59

Compiler now works for some simple programs
author Mike Pavone <pavone@retrodev.com>
date Mon, 28 Sep 2009 19:42:33 -0400
parents 31f8182f3433
children 640f541e9116
line wrap: on
line source

#ifndef _INTEGER_H_
#define _INTEGER_H_

#include "object.h"
#include "func.h"

OBegin
	int32_t num;
Object(Int32)

MethodDef(_PL_,Int32)
MethodDef(_MN_,Int32)
MethodDef(_LT_,Int32)
MethodDef(_GT_,Int32)

object * make_Int32(int32_t val);

#endif //_INTEGER_H_