Re: [Factor-talk] x86 register usage

2007-01-20 Thread Samuel Tardieu
Sam == Samuel Tardieu [EMAIL PROTECTED] writes: Sam I have a few questions concerning execute() in vm/cpu-x86.[hS] I also have a question regarding native_stack_pointer(). Would not the following version (in cpu-x86.h) be cleaner and more efficient? INLINE void *native_stack_pointer(void) {

Re: [Factor-talk] libs/xml feedback

2007-01-20 Thread Daniel Ehrenberg
OK, that seems reasonable, but if I'm renaming - get-name-tag -- tag-named - get-name-tags -- tags-named - find-name-tag -- child-named - find-name-tags -- children-named then what should I do with get-tag find-tag get-tags and find-tags? Also, do you have any idea how these names should

Re: [Factor-talk] libs/xml feedback

2007-01-20 Thread Slava Pestov
Hi Dan, Maybe instead of having these words at all, you can implement something like Scheme's SXPath library: http://fawcett.medialab.uwindsor.ca/specs/sxpath/examples.html On 20-Jan-07, at 2:01 PM, Daniel Ehrenberg wrote: OK, that seems reasonable, but if I'm renaming - get-name-tag --

Re: [Factor-talk] libs/xml feedback

2007-01-20 Thread Daniel Ehrenberg
Maybe I'll do that in the future, but that's taking something simple and making it much, much more complicated. I could remove get-* and only have find-*, but get-* simplifies many XML processing tasks. Also, I don't see how that code deals with namespaces; maybe it just ignores them, but I want