On creating a new node from an existing node,

Park SungWoo (gladius@compiler.kaist.ac.kr)
Sat, 24 May 1997 17:24:51 +0900 (KST)

Hi,

Consider the following example.

DEF X ...
DEF X1 USE X
DEF X2 USE X

What do you think of 'creating a new node from an existing node' ?
In the above example, nodes X1 and X2 share many common fields.
We may want X1 and X2 to be independent nodes.
Amulet employs this idea, right ??? (I'm not sure.)

Probably, we may write as:

DEF X ...
DEF X1 X { A 1. 1. 1. # overrides A in X
...
}
DEF X2 X { B 0. 0. 0. # overrides B in X
...
}
According to the property of each field, three nodes may be inter-related
or independent.

Thank you.

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 Sungwoo Park, (Castle-Help Naive)
	homepage : http://compiler.kaist.ac.kr/~gladius
 	e-mail : gladius@compiler.kaist.ac.kr
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -