reworked build files

This commit is contained in:
hyunghwan.chung
2016-12-31 15:20:52 +00:00
parent 2bf8b591cf
commit d85a49e1e1
9 changed files with 139 additions and 101 deletions

View File

@ -24,22 +24,21 @@
{
^(self new) open: name for: mode
}
(* ---------------------
#method(#class) input
#method(#class) stdin
{
self.in isNil ifTrue: [ self.in := ^(super new) open: 0 for: 'r' ].
^self.in.
}
#method(#class) output
#method(#class) stdout
{
self.out isNil ifTrue: [ self.out := ^(super new) open: 1 for: 'w' ].
^self.out.
}
#method(#class) error
#method(#class) stderr
{
self.err isNil ifTrue: [ self.err := ^(super new) open: 2 for: 'w' ].
^self.err.
@ -53,13 +52,17 @@
}
*)
#method format (fmt, args)
#method format (fmt)
{
| a b c |
| a b c ubound |
'THIS IS FORMAT' dump.
fmt dump.
args dump.
thisContext temporaryCount dump.
ubound := thisContext vargCount - 1.
0 to: ubound do: [:k |
(thisContext vargAt: k) dump.
].
}
}