Changeset 415 for branches/thune/thread_safe/doc/UserManual
- Timestamp:
- 06/16/07 22:57:20 (17 months ago)
- Files:
-
- 1 modified
-
branches/thune/thread_safe/doc/UserManual (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/thune/thread_safe/doc/UserManual
r414 r415 75 75 block! [] [a b c] 76 76 paren! () (a b c) 77 macro! <size 2 mul> 77 78 vector! #[1 2 3] #[-85.33 2 44.8] 78 79 function! [2 add] proc :inc2 … … 91 92 context! 92 93 =========== ========== 94 95 96 Macros 97 ------ 98 99 Reader macros are simply blocks of code evaluated by the tokenizer. 100 Any reduced values created by the evaluation are appended to the block 101 currently being read. 102 103 Macros can be used wherever a constant is needed to improve evaluation 104 speed. 105 106 Example:: 107 108 <34 2 mul :border> 109 110 box-width <border> add 111 112 113 Currently, macro! values cannot be created by the user. 114 A literal macro syntax may be added in the future. 93 115 94 116
