renamed stix to moo
This commit is contained in:
@ -365,8 +365,8 @@ class Apex(nil)
|
||||
|
||||
method(#class) error: msgText
|
||||
{
|
||||
## TODO: implement this
|
||||
## Error signal: msgText.
|
||||
(* TODO: implement this
|
||||
Error signal: msgText. *)
|
||||
msgText dump.
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ class(#pointer) Class(Apex)
|
||||
method specNumInstVars
|
||||
{
|
||||
## shift right by 7 bits.
|
||||
## see stix-prv.h for details.
|
||||
## see moo-prv.h for details.
|
||||
^self.spec bitShift: -7
|
||||
}
|
||||
|
||||
|
@ -385,7 +385,7 @@ pooldic Log
|
||||
{
|
||||
## -----------------------------------------------------------
|
||||
## defines log levels
|
||||
## these items must follow defintions in stix.h
|
||||
## these items must follow defintions in moo.h
|
||||
## -----------------------------------------------------------
|
||||
|
||||
#DEBUG := 1.
|
||||
@ -399,7 +399,7 @@ class SystemDictionary(Dictionary)
|
||||
{
|
||||
## the following methods may not look suitable to be placed
|
||||
## inside a system dictionary. but they are here for quick and dirty
|
||||
## output production from the stix code.
|
||||
## output production from the moo code.
|
||||
## System logNl: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'.
|
||||
##
|
||||
|
||||
|
@ -187,7 +187,7 @@ class Console(Object)
|
||||
}
|
||||
|
||||
"
|
||||
Stix define: 'console_write'
|
||||
Moo define: 'console_write'
|
||||
forClass: Console
|
||||
method: 'write: aString upto: length'
|
||||
returns: 'size_t'
|
||||
|
@ -187,19 +187,19 @@ extend MethodContext
|
||||
{
|
||||
method isExceptionContext
|
||||
{
|
||||
## 10 - STIX_METHOD_PREAMBLE_EXCEPTION in VM.
|
||||
## 10 - MOO_METHOD_PREAMBLE_EXCEPTION in VM.
|
||||
^self.method preambleCode == 10.
|
||||
}
|
||||
|
||||
method isEnsureContext
|
||||
{
|
||||
## 10 - STIX_METHOD_PREAMBLE_ENSURE in VM.
|
||||
## 10 - MOO_METHOD_PREAMBLE_ENSURE in VM.
|
||||
^self.method preambleCode == 11
|
||||
}
|
||||
|
||||
method ensureBlock
|
||||
{
|
||||
## TODO: change 8 to a constant when stix is enhanced to support constant definition
|
||||
## TODO: change 8 to a constant when moo is enhanced to support constant definition
|
||||
|
||||
(* [ value-block ] ensure: [ ensure-block ]
|
||||
* assuming ensure block is a parameter the ensure: method to a
|
||||
@ -223,7 +223,7 @@ extend MethodContext
|
||||
* basicAt: 8 must be the on: argument.
|
||||
* basicAt: 9 must be the do: argument *)
|
||||
|
||||
## TODO: change 8 to a constant when stix is enhanced to support constant definition
|
||||
## TODO: change 8 to a constant when moo is enhanced to support constant definition
|
||||
## or calcuate the minimum size using the class information.
|
||||
|
||||
(self isExceptionContext) ifTrue: [
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
class MyObject(Object)
|
||||
{
|
||||
@ -121,7 +121,7 @@ class MyObject(Object)
|
||||
].
|
||||
|
||||
|
||||
f puts: S'static stix_ooch_t* '.
|
||||
f puts: S'static moo_ooch_t* '.
|
||||
f puts: name.
|
||||
f puts: S'[] =\n{\n'.
|
||||
0 to: c do: [:i |
|
||||
@ -140,7 +140,7 @@ class MyObject(Object)
|
||||
| c |
|
||||
c := s size - 1.
|
||||
|
||||
f puts: 'static stix_ooch_t '.
|
||||
f puts: 'static moo_ooch_t '.
|
||||
f puts: prefix.
|
||||
f puts: index asString.
|
||||
f puts: '[] = {'.
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
#################################################################
|
||||
## MAIN
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
#################################################################
|
||||
## MAIN
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
#################################################################
|
||||
## MAIN
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
#################################################################
|
||||
## MAIN
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
#################################################################
|
||||
## MAIN
|
||||
@ -59,7 +59,7 @@ class MyObject(TestObject)
|
||||
^a + 99.
|
||||
|
||||
|
||||
##a := Stix.MyCOM.HashTable new.
|
||||
##a := Moo.MyCOM.HashTable new.
|
||||
}
|
||||
|
||||
method xxx: aBlock
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
#################################################################
|
||||
## MAIN
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
#################################################################
|
||||
## MAIN
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
#################################################################
|
||||
## MAIN
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
#################################################################
|
||||
## MAIN
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
#################################################################
|
||||
## MAIN
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
#################################################################
|
||||
## MAIN
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
#################################################################
|
||||
## MAIN
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include 'Stix.st'.
|
||||
#include 'Moo.st'.
|
||||
|
||||
#################################################################
|
||||
## MAIN
|
||||
|
Reference in New Issue
Block a user