More work on basic infrastructure - types, bindings & compilation.
At this point it actually can compile a simple method returning an integer value.
However, full of hacks here and there and full of #notYetImplemented.
"{ Package: 'jv:tea/compiler' }"
"{ NameSpace: Smalltalk }"
TestCase subclass:#TMethodDefinitionTests
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'Languages-Tea-Compiler-Model-Tests'
!
!TMethodDefinitionTests methodsFor:'tests'!
test_01
| class method |
class := TClassDefinition newClass.
class name: 'iptr'.
method := TMethodDefinition class: class theMetaclass.
method source: 'one <^ iptr> ^ 1'.
self assert: method selector == #one.
"Created: / 29-08-2015 / 11:39:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !