implemented until and do..until loop

This commit is contained in:
hyunghwan.chung
2017-04-26 15:31:07 +00:00
parent 04864659a8
commit 6fe65f66fc
7 changed files with 257 additions and 350 deletions

View File

@ -3,10 +3,16 @@ class(#pointer) Process(Object)
{
var initial_context, current_context, state, sp, prev, next, sem, perr.
method new
method(#class) basicNew
{
"instantiation is not allowed"
^nil. "TODO: raise an exception or return an error"
(* instantiation is not allowed. a process is strictly a VM managed object *)
self cannotInstantiate
}
method(#class) basicNew: size
{
(* instantiation is not allowed. a process is strictly a VM managed object *)
self cannotInstantiate
}
method prev { ^self.prev }