enhanced the compiler and the interface structure to allow an interface as a name space.

enhanced formatted output of namespace, interface, class to include the hierarchy.
changed the pooldic item terminator from a period to a comma
This commit is contained in:
hyunghwan.chung
2019-09-30 08:46:50 +00:00
parent 5bb0fb70b8
commit e145c4742e
16 changed files with 322 additions and 102 deletions

View File

@ -203,10 +203,10 @@ extend Context
pooldic MethodContext.Preamble
{
// this must follow MOO_METHOD_PREAMBLE_EXCEPTION in moo.h
EXCEPTION := 13.
EXCEPTION := 13,
// this must follow MOO_METHOD_PREAMBLE_ENSURE in moo.h
ENSURE := 14.
ENSURE := 14
}
pooldic MethodContext.Index
@ -217,10 +217,10 @@ pooldic MethodContext.Index
// instance variables of the method context. As MethodContex has
// instance variables, the ensure block must be at the 9th position
// which translates to index 8
ENSURE := 8.
ENSURE := 8,
// [ ... ] on: Exception: do: [:ex | ... ]
FIRST_ON := 8.
FIRST_ON := 8
}
extend MethodContext