Re: [Factor-talk] Talk about Factor

2015-01-29 Thread Michael Clagett
Hi Andrea -- I too need to give a talk on Factor here in the Philadelphia area in a couple of months. I am not the old hand that you are looking for, but it occurred to me that it might be valuable for us to collaborate. While we definitely would want to get some of the more seasoned

Re: [Factor-talk] Test Driven Development

2013-05-26 Thread Michael Clagett
I agree with Alexander, that this is a term that has come to represent a number of different things to different people. One core idea is that you attempt to capture in some set of assertions what the correct expected outcome is of a particular unit of code, given a particular set of test

Re: [Factor-talk] Test Driven Development

2013-05-26 Thread Michael Clagett
whether you wish to embrace a narrower or wider meaning of the term. But they do both exist. Sent from my iPad On May 26, 2013, at 11:31 AM, William Tanksley, Jr wtanksle...@gmail.com wrote: Michael Clagett mclag...@hotmail.com wrote: I agree with Alexander, that this is a term that has come

Re: [Factor-talk] embedding factor

2012-11-30 Thread Michael Clagett
Also interested in this. Sent from my iPhone On Nov 30, 2012, at 3:25 PM, Naveen Garg naveen.g...@gmail.com wrote: Hey guys, I am playing around with factor again, and getting some useful work done. I am trying to use factor embedded... Unfortunately, the function init_factor_from_args

Re: [Factor-talk] Comments on 'Your First Program

2012-08-31 Thread Michael Clagett
Just thought I would mention that there is no Ctrl key on the Mac, so this change might not be so good for the Mac folks. Sent from my iPhone On Aug 31, 2012, at 6:47 PM, John Benediktsson mrj...@gmail.com wrote: Hi Mike, Great input, thanks! A few questions - 'Writing some logic in

Re: [Factor-talk] Comments on 'Your First Program

2012-08-31 Thread Michael Clagett
Command. Not a big deal, just thought you might want to make it completely clear to everyone. Date: Fri, 31 Aug 2012 17:39:49 -0700 From: arc...@gmail.com To: factor-talk@lists.sourceforge.net Subject: Re: [Factor-talk] Comments on 'Your First Program On Fri, Aug 31, 2012 at 5:19 PM, Michael

Re: [Factor-talk] Comments on 'Your First Program

2012-08-31 Thread Michael Clagett
. Date: Fri, 31 Aug 2012 18:29:35 -0700 From: arc...@gmail.com To: factor-talk@lists.sourceforge.net Subject: Re: [Factor-talk] Comments on 'Your First Program On Fri, Aug 31, 2012 at 6:25 PM, Michael Clagett mclag...@hotmail.com wrote: I just meant that it's not called control, it's called

[Factor-talk] Quick Question For Chris Double

2012-08-24 Thread Michael Clagett
Chris -- I'm spending some time going back through various key bloggers' contributions and am working through some of yours at the moment. Back in December of 2006 in one of your articles on Parser Combinators you reference a Chapter 5 on Parser Combinators from some larger work. This is a

Re: [Factor-talk] Quick Question For Chris Double

2012-08-24 Thread Michael Clagett
Thanks much. In this age of erroneous credit reports, that never disappearing aspect of the web is definitely a double-edged sword. Sent from my iPhone On Aug 24, 2012, at 9:41 AM, Chris Double chris.dou...@double.co.nz wrote: On Fri, Aug 24, 2012 at 11:29 PM, Michael Clagett mclag

Re: [Factor-talk] Is there a Factor.js ?

2012-08-23 Thread Michael Clagett
John -- Couldn't resist chiming in here. Of course Factor is portable, open source, and reliable. These are three of its strongest attributes. But the DLL version of it nothwithstanding, it is such an attractive language from a language standpoint that it leads one to want to have it where

Re: [Factor-talk] Is there a Factor.js ?

2012-08-23 Thread Michael Clagett
That, I would guess, is a result of its being implemented in C#. But what you lose at that point is the ability for the language to be used outside of the CLR and the extreme portability of something like Factor. What I'm envisioning is something closer to Microsoft's C++, which now has

Re: [Factor-talk] Is there a Factor.js ?

2012-08-23 Thread Michael Clagett
to the community in the way of documentation of what I learn along the way. Sent from my iPhone On Aug 23, 2012, at 1:42 PM, Joe Groff arc...@gmail.com wrote: On Thu, Aug 23, 2012 at 11:46 AM, Michael Clagett mclag...@hotmail.com wrote: That, I would guess, is a result of its being implemented in C

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-17 Thread Michael Clagett
: pic-tail-reg ( -- reg ) EDX ; //stack pointer // ?: stack-reg ( -- reg ) ESP ; // stack frame pointer: frame-reg ( -- reg ) EBP ; // virtual machine object base: vm-reg ( -- reg ) EBX ; : ctx-reg ( -- reg ) EBP ; // non-volatile registers -- these would be registers needing to be preserved

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-17 Thread Michael Clagett
A few more: // ?: shift-arg ( -- reg ) ECX ; // ?: div-arg ( -- reg ) EAX ; // ?: mod-arg ( -- reg ) EDX ; From: mclag...@hotmail.com To: factor-talk@lists.sourceforge.net Date: Fri, 17 Aug 2012 14:03:30 + Subject: Re: [Factor-talk] Any way of making sense of what's in the boot

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-17 Thread Michael Clagett
., https://github.com/slavapestov/factor/blob/master/basis/cpu/x86/bootstrap.factor#L561 That's as much as I can gather from a glance, --Alex Vondrak From: Michael Clagett [mclag...@hotmail.com] Sent: Friday, August 17, 2012 7:08 AM To: Factor-Talk

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-16 Thread Michael Clagett
, 2012 at 8:22 AM, Michael Clagett mclag...@hotmail.com wrote: Thanks. I knew it had to be something like that. And if I want it to be the default every time I load the Listener, I'm sure there must be a way to set that up? Sent from my iPhone On Aug 15, 2012, at 11:01 AM, John

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-16 Thread Michael Clagett
hashtables def [ \ hashtable ]props H{ { help-parent hashtables } { slots ~array~ } { ...pic-def fpic-tail-def fsub-primitive f ``` On Thu, Aug 16, 2012 at 6:01 AM, Michael Clagett mclag...@hotmail.com wrote: Hi -- Okay. I'm going to ask for my first lifeline. :) I'm

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-16 Thread Michael Clagett
Great, thanks. Sent from my iPhone On Aug 16, 2012, at 1:11 PM, John Benediktsson mrj...@gmail.com wrote: So then, John, does that mean that in the [ 4 slot { array} declare ], that I'm getting the slot named array which is at offset 4 (and then declaring that to be an array, so as to

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-15 Thread Michael Clagett
? On Mon, Aug 13, 2012 at 11:52 AM, Michael Clagett mclag...@hotmail.com wrote: Here's an obscure question that is of interest to me in my current quest, but probably not to anyone else. So if there is a better forum for me to ask such things, I would love to be instructed; until I hear

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-15 Thread Michael Clagett
in hex, the easiest way is: ``` IN: scratchpad 16 number-base set-global ``` On Wed, Aug 15, 2012 at 4:04 AM, Michael Clagett mclag...@hotmail.com wrote: Quick question. Any way of having the data and retain stack panes of the Walker display values in hex? Date: Mon, 13 Aug 2012 12

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-15 Thread Michael Clagett
bootstrapping, call 'run-bootstrap-init' and then 'save' your image. Doug On Wed, Aug 15, 2012 at 8:22 AM, Michael Clagett mclag...@hotmail.com wrote: Thanks. I knew it had to be something like that. And if I want it to be the default every time I load the Listener, I'm sure there must

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-14 Thread Michael Clagett
way of making sense of what's in the boot image? On Mon, Aug 13, 2012 at 11:52 AM, Michael Clagett mclag...@hotmail.com wrote: Here's an obscure question that is of interest to me in my current quest, but probably not to anyone else. So if there is a better forum for me to ask

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-14 Thread Michael Clagett
documentation that you write as part of your investigation would be welcome contributions. On Tue, Aug 14, 2012 at 5:27 PM, Michael Clagett mclag...@hotmail.com wrote: One constructive criticism type comment, if you'll permit me. While what I say directly below is absolutely true, it's true

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-13 Thread Michael Clagett
://www.clarkprosecutor.org/html/death/US/clagett651.htm On Mon, Aug 13, 2012 at 9:46 AM, Michael Clagett mclag...@hotmail.com wrote: Thank you, Joe, for the quick response. It was actually the information in the such as clause of your last sentence that I was looking for. I don't mean for you to take the time

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-13 Thread Michael Clagett
at 11:52 AM, Michael Clagett mclag...@hotmail.com wrote: Here's an obscure question that is of interest to me in my current quest, but probably not to anyone else. So if there is a better forum for me to ask such things, I would love to be instructed; until I hear otherwise, however, I

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-10 Thread Michael Clagett
P.S. Incidentally, while I am on the subject, I find myself able to trace through the VM startup code in Visual Studio with no problem at all, until I get to the factor_vm::c_to_factor, which wraps a c-to-factor sub-primitive inside of a callback stub and then invokes that function.

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-10 Thread Michael Clagett
Not a problem any more. WinDbg does the trick just fine. It was just Visual Studio. From: mclag...@hotmail.com To: factor-talk@lists.sourceforge.net Date: Fri, 10 Aug 2012 11:51:00 + Subject: Re: [Factor-talk] Any way of making sense of what's in the boot image? P.S.

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-10 Thread Michael Clagett
sense of what's in the boot image? You might also find it useful to try the Walker which allows you to step through Factor code: http://docs.factorcode.org/content/article-ui-walker.html On Fri, Aug 10, 2012 at 10:29 AM, Michael Clagett mclag...@hotmail.com wrote: Not a problem any

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-10 Thread Michael Clagett
@lists.sourceforge.net Subject: Re: [Factor-talk] Any way of making sense of what's in the boot image? You might also find it useful to try the Walker which allows you to step through Factor code: http://docs.factorcode.org/content/article-ui-walker.html On Fri, Aug 10, 2012 at 10:29 AM, Michael Clagett

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-10 Thread Michael Clagett
: IN: scratchpad my-arch .unix-x86.64 You can use the my-arch word to make an image for your architecture: IN: scratchpad my-arch make-image On Fri, Aug 10, 2012 at 1:56 PM, Michael Clagett mclag...@hotmail.com wrote: Hi -- I've been trying to run the make-image word from

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-10 Thread Michael Clagett
can use the my-arch word to make an image for your architecture: IN: scratchpad my-arch make-image On Fri, Aug 10, 2012 at 1:56 PM, Michael Clagett mclag...@hotmail.com wrote: Hi -- I've been trying to run the make-image word from the Listener and got as far as this trace

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-10 Thread Michael Clagett
in listener. Then type Ctrl-W to walk it. Step across my-arch Into into make-image Rinse, repeat. :) On Fri, Aug 10, 2012 at 2:08 PM, Michael Clagett mclag...@hotmail.com wrote: Quick question, if you're still on the horn. How do I trace into myarch make-image from the Listener. If I

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-10 Thread Michael Clagett
of what's in the boot image? Write my-arch make-image in listener. Then type Ctrl-W to walk it. Step across my-arch Into into make-image Rinse, repeat. :) On Fri, Aug 10, 2012 at 2:08 PM, Michael Clagett mclag...@hotmail.com wrote: Quick question, if you're still on the horn. How

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-10 Thread Michael Clagett
: IN: scratchpad my-arch .unix-x86.64 You can use the my-arch word to make an image for your architecture: IN: scratchpad my-arch make-image On Fri, Aug 10, 2012 at 1:56 PM, Michael Clagett mclag...@hotmail.com wrote: Hi -- I've been trying to run the make-image word from the Listener

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-10 Thread Michael Clagett
sense of what's in the boot image? You can do this: ./factor in the repl: die then in the shell: words It dumps a list of word addresses in Factor. This works for words, but not quotations. Hope this helps. Doug On Fri, Aug 10, 2012 at 2:55 PM, Michael Clagett mclag

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-09 Thread Michael Clagett
Thank you, Joe, once again for your help. I have settled into a nice rythym of virtually tracing through the code by looking at the source (both vm and factor files), augmented by the Help system in the listener. That should keep me busy and out of your hair for a couple months (or couple

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-09 Thread Michael Clagett
stuff. Date: Thu, 9 Aug 2012 06:26:54 -0700 From: arc...@gmail.com To: factor-talk@lists.sourceforge.net Subject: Re: [Factor-talk] Any way of making sense of what's in the boot image? On Wed, Aug 8, 2012 at 9:56 PM, Michael Clagett mclag...@hotmail.com wrote: Hi Joe -- Thank you

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-09 Thread Michael Clagett
Quick question about parse-file.Is the quotation that is returned on the stack as a result of this word a parse tree, as discussed in the documentation's article on parsing? This would be a parse tree as in Tokens are appended to the parse tree, the top level of which is a quotation

[Factor-talk] Any way of making sense of what's in the boot image?

2012-08-08 Thread Michael Clagett
Hi -- I've been tracing through the initial vm initialization code trying to get a picture of how Factor bootstraps itself. Does anyone know if there is a way to resolve code in the initial boot image that is being jit-compiled by factor_vm::prepare_boot_image to a set of symbolic names that

Re: [Factor-talk] Any way of making sense of what's in the boot image?

2012-08-08 Thread Michael Clagett
encountered this and any idea how to get around it? Thanks. Date: Wed, 8 Aug 2012 20:23:04 -0700 From: arc...@gmail.com To: factor-talk@lists.sourceforge.net Subject: Re: [Factor-talk] Any way of making sense of what's in the boot image? On Wed, Aug 8, 2012 at 3:24 PM, Michael Clagett mclag

Re: [Factor-talk] Shared libraries considered harmful

2011-11-22 Thread Michael Clagett
-0800 From: arc...@gmail.com To: factor-talk@lists.sourceforge.net Subject: Re: [Factor-talk] Shared libraries considered harmful On Mon, Nov 21, 2011 at 5:09 PM, Michael Clagett mclag...@hotmail.com wrote: As for integration, I can see from your description of Factor's host integration that we

Re: [Factor-talk] Shared libraries considered harmful

2011-11-21 Thread Michael Clagett
to address. Hope this clarifies. Mike Date: Thu, 17 Nov 2011 09:03:53 -0800 From: arc...@gmail.com To: factor-talk@lists.sourceforge.net Subject: Re: [Factor-talk] Shared libraries considered harmful On Thu, Nov 17, 2011 at 6:36 AM, Michael Clagett mclag...@hotmail.com wrote: That brings

Re: [Factor-talk] Shared libraries considered harmful

2011-11-17 Thread Michael Clagett
A couple thoughts -- First of all, as far as I can tell Factor is one big shared library; so much of even the core language is implemented in library code that this is truer for Factor than it is for many languages one encounters. That brings a cost, however, as I've seen up to this point.

[Factor-talk] Using combinators as a substitute for loops

2011-10-09 Thread Michael Clagett
Hi --- Finally getting around to developing my first serious Factor code and I have a quick question. I'm a Forth programmer (although of late it has been mostly my own bastardized version of Forth). I'm thinking of one immediate use of Combinators as a way of eliminating some of the

[Factor-talk] Work done already on graph processing

2011-10-07 Thread Michael Clagett
Hi -- Just want to know what libraries might already be out there with graph processing stuff in them. Don't want to reinvent the wheel. Thanks. Mike -- All of the data

Re: [Factor-talk] Brute Force Ignorance!

2011-09-30 Thread Michael Clagett
Wow! Patrick, thank you very much. This will be extremely helpful to me, since the internet-less two hours on the train back and forth to work everyday is a significant piece of the time I have available to absorb Factor. Date: Fri, 30 Sep 2011 00:58:12 -0400 From:

Re: [Factor-talk] TryRuby, etc.

2011-08-23 Thread Michael Clagett
Sorry. Misunderstood what you were asking. From: mclag...@hotmail.com To: factor-talk@lists.sourceforge.net Date: Wed, 24 Aug 2011 03:15:58 + Subject: Re: [Factor-talk] TryRuby, etc. Hi Andrew -- Not a video tutorial, but I found this useful:

[Factor-talk] Can anyone point me to a library for manipulating Windows

2011-01-02 Thread Michael Clagett
I'm hunting for a library that can be used to help me do quick and dirty Windows/GDI programming with Factor. Has anyone created such an animal yet? Thanks. -- Learn how

Re: [Factor-talk] Can anyone point me to a library for manipulating Windows

2011-01-02 Thread Michael Clagett
Thanks, Joe. From: arc...@gmail.com Date: Sun, 2 Jan 2011 21:38:34 +0530 To: factor-talk@lists.sourceforge.net Subject: Re: [Factor-talk] Can anyone point me to a library for manipulating Windows On Jan 2, 2011, at 8:35 PM, Michael Clagett wrote:I'm hunting for a library that can be used

Re: [Factor-talk] aspects and querying factor code

2010-12-29 Thread Michael Clagett
I haven't used AspectJ, but Attributes in .NET can be used for the same purpose and I have done that. I don't know how the Attribute syntax compares with Aspect J, but I have found it to be very clean and you may want to look at it as food for thought in what you are trying to do. I don't

Re: [Factor-talk] Integrating Browser functionality into Listener: John Benediktsson's Syntax Highlighting

2010-11-15 Thread Michael Clagett
Shaping -- If you do embark on the effort you propose below, I would be happy to work on it with you (although I would think you would want to find at least one old hand to participate as well). What you describe is very close to what I intend for my own factor-like environment that I

Re: [Factor-talk] Building Factor in Visual Studio

2010-10-10 Thread Michael Clagett
Never mind. I was reminded of the Visual Studio command prompt and am just building with the NMakefile from there. Seems to be working ok. Sorry for the noise. From: mclag...@hotmail.com To: factor-talk@lists.sourceforge.net Date: Sun, 10 Oct 2010 18:04:06 + Subject: [Factor-talk]