Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Metaprogramming/PostScript/metaprogramming-1.ps
Normal file
11
Task/Metaprogramming/PostScript/metaprogramming-1.ps
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/ift {
|
||||
4 dict begin
|
||||
[/.if /.then] let*
|
||||
count array astore /.stack exch def
|
||||
/_restore {clear .stack aload pop}.
|
||||
.stack aload pop .if {
|
||||
_restore .then
|
||||
} {
|
||||
_restore
|
||||
} ifelse
|
||||
end}.
|
||||
2
Task/Metaprogramming/PostScript/metaprogramming-2.ps
Normal file
2
Task/Metaprogramming/PostScript/metaprogramming-2.ps
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
>| 2 {1 gt} {=} ift
|
||||
2
|
||||
2
Task/Metaprogramming/PostScript/metaprogramming-3.ps
Normal file
2
Task/Metaprogramming/PostScript/metaprogramming-3.ps
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
>| 2 dup 1 gt {=} ift
|
||||
2
|
||||
1
Task/Metaprogramming/PostScript/metaprogramming-4.ps
Normal file
1
Task/Metaprogramming/PostScript/metaprogramming-4.ps
Normal file
|
|
@ -0,0 +1 @@
|
|||
/let* {reverse {exch def} forall}.
|
||||
Loading…
Add table
Add a link
Reference in a new issue