Merge branch 'master' of git://factorcode.org/git/factor
commit
0deb4af4a5
|
@ -8,7 +8,7 @@ vectors words quotations assocs system layouts splitting
|
||||||
grouping growable classes classes.builtin classes.tuple
|
grouping growable classes classes.builtin classes.tuple
|
||||||
classes.tuple.private words.private vocabs
|
classes.tuple.private words.private vocabs
|
||||||
vocabs.loader source-files definitions debugger
|
vocabs.loader source-files definitions debugger
|
||||||
quotations.private sequences.private combinators combinators.smart
|
quotations.private sequences.private combinators
|
||||||
math.order math.private accessors
|
math.order math.private accessors
|
||||||
slots.private compiler.units fry ;
|
slots.private compiler.units fry ;
|
||||||
IN: bootstrap.image
|
IN: bootstrap.image
|
||||||
|
@ -95,7 +95,7 @@ SYMBOL: objects
|
||||||
SYMBOL: sub-primitives
|
SYMBOL: sub-primitives
|
||||||
|
|
||||||
: make-jit ( quot rc rt offset -- quad )
|
: make-jit ( quot rc rt offset -- quad )
|
||||||
[ [ { } make ] 3dip ] output>array ; inline
|
[ { } make ] 3dip 4array ; inline
|
||||||
|
|
||||||
: jit-define ( quot rc rt offset name -- )
|
: jit-define ( quot rc rt offset name -- )
|
||||||
[ make-jit ] dip set ; inline
|
[ make-jit ] dip set ; inline
|
||||||
|
|
|
@ -30,14 +30,14 @@ TUPLE: interpolate-var name ;
|
||||||
if
|
if
|
||||||
] map [ ] join ; inline
|
] map [ ] join ; inline
|
||||||
|
|
||||||
: interpolate-locals ( string -- quot )
|
|
||||||
[ search [ ] ] (interpolate) ;
|
|
||||||
|
|
||||||
PRIVATE>
|
PRIVATE>
|
||||||
|
|
||||||
MACRO: interpolate ( string -- )
|
MACRO: interpolate ( string -- )
|
||||||
[ [ get ] ] (interpolate) ;
|
[ [ get ] ] (interpolate) ;
|
||||||
|
|
||||||
|
: interpolate-locals ( string -- quot )
|
||||||
|
[ search [ ] ] (interpolate) ;
|
||||||
|
|
||||||
: I[
|
: I[
|
||||||
"]I" parse-multiline-string
|
"]I" parse-multiline-string
|
||||||
interpolate-locals over push-all ; parsing
|
interpolate-locals over push-all ; parsing
|
||||||
|
|
|
@ -43,4 +43,4 @@ IN: syndication.tests
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} ] [ "resource:basis/syndication/test/atom.xml" load-news-file ] unit-test
|
} ] [ "resource:basis/syndication/test/atom.xml" load-news-file ] unit-test
|
||||||
[ ] [ "resource:basis/syndication/test/atom.xml" load-news-file xml>string drop ] unit-test
|
[ ] [ "resource:basis/syndication/test/atom.xml" load-news-file feed>xml xml>string drop ] unit-test
|
||||||
|
|
Loading…
Reference in New Issue