Subject: Questions about DSSSL evaluation order. From: KAZUMI Saito <ksaito@xxxxxxxxxxxxxxxxxx> Date: Wed, 04 Feb 1998 13:08:40 +0900 |
I have some questions about DSSSL procedure-definition and evaluation order. The DocBook Style Sheet has following an element-construction rule and two procedure-definitions. (element (SEGMENTEDLIST TITLE) ($lowtitle$ 2)) (define ($lowtitlewithsosofo$ tlevel sosofo) (let ((hs (HSIZE (- 3 tlevel)))) (make paragraph font-family-name: %title-font-family% font-weight: 'bold font-size: hs line-spacing: (* hs %line-spacing-factor%) space-before: (* hs %head-before-factor%) space-after: (* hs %head-after-factor%) start-indent: %body-start-indent% quadding: 'start keep-with-next?: #t sosofo))) (define ($lowtitle$ tlevel) ($lowtitlewithsosofo$ tlevel (process-children))) Before the element-construction rule (for SEGMENTEDLIST TITLE) is evaluated, Must be this construct-expression expanded as following? (element (SEGMENTEDLIST TITLE) (let ((hs (HSIZE (- 3 2)))) (make paragraph font-family-name: %title-font-family% font-weight: 'bold font-size: hs line-spacing: (* hs %line-spacing-factor%) space-before: (* hs %head-before-factor%) space-after: (* hs %head-after-factor%) start-indent: %body-start-indent% quadding: 'start keep-with-next?: #t (process-children))))) And, Where can I found such definition (i.e. after all of nested closures are expanded construct-expression is evaluated) in DSSSL standard ? ---- KAZUMI Saito ksaito@xxxxxxxxxxxxxxxxxx DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
lambda, Paul Prescod | Thread | RE: Questions about DSSSL evaluatio, Frank A. Christoph |
Re: Detecting Infinite Looping, Paul Prescod | Date | RE: Detecting Infinite Looping, Frank A. Christoph |
Month |