Re: [Factor-talk] Stack Depth

2012-07-06 Thread Adam
Expressed in Factor: : depth ( -- n ) datastack length ; : package-stack ( -- seq ) datastack [ depth narray ] with-datastack ; ...but just the datastack word itself will result in the same sequence ;-) On Tue, Jun 19, 2012 at 8:52 PM, Graham Telfer wrote: > Doug Coleman writes: > >> >> H

Re: [Factor-talk] exe deploy files

2011-09-07 Thread Adam
I wrote this wiki article a long time ago for single file deployment... It does involve 7-zip though, so it's not a native solution: http://concatenative.org/wiki/view/Factor/Deployment/Single%20file%20Deployment%20on%20Windows On Tue, Sep 6, 2011 at 2:06 PM, Joe Groff wrote: > On Sep 6, 2011,

Re: [Factor-talk] factorcode.org migration

2010-10-21 Thread Adam
Slava, Windows x86 and x86-64 clean build download links are still down and the 'Latest clean build' list a build from October but the front page/download link still references a build from September . On Wed, Oct 6, 2010 at 9:47 PM, Slava Pestov wrote: > On Wed, Oct 6, 2010 at

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

2010-10-12 Thread Adam
Check out the following command: build-support\factor.cmd update On Oct 10, 2010 11:51 AM, "Michael Clagett" wrote: > > 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...

Re: [Factor-talk] factorcode.org migration

2010-10-06 Thread Adam
The builds pages are pointing to non-existent links such as: http://builds.factorcode.org/package?os=winnt&cpu=x86.32 Has a 404 link to: http://downloads.factorcode.org/winnt-x86-32/factor-winnt-x86-32-2010-09-20-18-57.zip Also, the build pages have the old clean images link of: http://factorcod

Re: [Factor-talk] factorcode.org migration

2010-10-04 Thread Adam
Clicking a link for a clean build or .94 shows a page that has the text 'Logo' where the normal factorcode logo should be. On Sun, Oct 3, 2010 at 3:08 AM, Jon Harper wrote: > Hi, > . searches in docs.factorcode.org return 500 Internal server error > . Most article return a 404 error, for exampl

[Factor-talk] Fresh Windows 7 x64 bootstrap error.

2010-09-02 Thread Adam
On fresh installs of Windows 7 x64, the following error (including :c :r :s) will occur on the first bootstrap of Factor. This error has also shown up on a Rackspace Win7 x64 Xen hosted VM, GigeNET Win7 x64 Xen hosted VM, VMware Player 3.1.1, and a fresh Win7 x64 installation on my netbook. Once

Re: [Factor-talk] Factor as an embedded language?

2010-08-25 Thread Adam
the embedding API doesn't work right now. I know this >> has been an outstanding bug for a while, so I'll probably try and fix >> it this weekend. >> >> Slava >> >> On Wed, Aug 25, 2010 at 11:28 AM, Adam wrote: >> > There is a Factor embedding

Re: [Factor-talk] Factor as an embedded language?

2010-08-25 Thread Adam
-languages-in.html -Adam On Wed, Aug 25, 2010 at 12:20 PM, Thomas Fee wrote: > Very nice! I'm now torn between Io and Factor. :-) > In my mind, being able to write a DSL is very important, along with the > naturalness and power of such a DSL. > > On Wed, Aug 25, 2010 at 1

Re: [Factor-talk] Factor as an embedded language?

2010-08-25 Thread Adam
and the full FFI rather than evaluating strings: http://docs.factorcode.org/content/article-embedding.html http://docs.factorcode.org/content/article-alien.html -Adam On Wed, Aug 25, 2010 at 11:00 AM, Thomas Fee wrote: > newbie question... Can Factor be used as an embedded language, e.g. for g

Re: [Factor-talk] newbie: cannot follow a tutorial

2010-07-28 Thread Adam
Inputs and outputs seq a byte-array, a string, or f Fails with a byte-array as well. 2010/7/28 Philipp Brüschweiler : > On Wed, 28 Jul 2010 22:23:21 +0200 > Jon Harper wrote: >> Hi, >> Like they said in the comments, you need to set the "message" slot of >> the response. >> >> USING: http http.s

Re: [Factor-talk] Factor websites are down.

2010-07-22 Thread Adam
Perhaps there was a downtime between ISPs as both connections I tested were ISPs in the Midwest. On Jul 22, 2010 1:20 AM, "Slava Pestov" wrote: Hi Adam, Both factorcode.org and concatenative.org are responding fine for me. Also I'm ssh'd into factorcode.org right now with

[Factor-talk] Factor websites are down.

2010-07-22 Thread Adam
Main site, docs, concatenative, etc. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _

Re: [Factor-talk] Monotonic counters and Virtualbox on 64 bits Linux host

2010-03-02 Thread Adam
obviously just copying the VM elsewhere. I've had no problems running Factor under VMware in similar Host/Guest configurations to yours. -Adam On Tue, Mar 2, 2010 at 5:51 PM, Samuel Tardieu wrote: > Jon and I have encountered a strange issue when using VirtualBox with 64 > bits Linux hosts

Re: [Factor-talk] Embedding factor in C results in seg fault; all I want is to have call factor_eval_string() work

2010-02-12 Thread Adam
f this will fix your situation but it's worth a try. -Adam On Fri, Feb 12, 2010 at 10:20 AM, Zack Brannigan wrote: > Hi, everyone: > > All I want to do is to do a simple string eval against an embedded VM. I > always get a seg fault calling factor_eval_string(). The example from

Re: [Factor-talk] playing audio files on factor

2009-11-16 Thread Adam
Try the dlls at http://factorcode.org/dlls or http://factorcode.org/dlls/64 if you have x64. On Mon, Nov 16, 2009 at 7:51 AM, Kobi Lurie wrote: >  Hi all, is there a way to play a wav file from within factor? > the OpenAL dlls never worked for me on Windows pcs. > I know we can hook to the window

[Factor-talk] Bug Report

2009-10-29 Thread Adam
Windows: - Strings >= 4680 characters in the Listener throw the following error: 4679 [ CHAR: # ] "" replicate-as . 4680 [ CHAR: # ] "" replicate-as . ole32-error code-2147024888 message "Not enough storage is available to process this command." Linux: - Strings >= 4680 characters in the L

Re: [Factor-talk] Simplified locals: [let ] for scoping, :> for binding (NEW! with multiple bindings)

2009-10-29 Thread Adam
ing else. The alternatives > you propose don't have any inherent readability advantage. > > Slava > > On Wed, Oct 28, 2009 at 11:18 PM, Adam wrote: >> This makes perfect sense. >> >> What do you think of >: or >>: rather than :> to align with the way >

Re: [Factor-talk] Simplified locals: [let ] for scoping, :> for binding (NEW! with multiple bindings)

2009-10-28 Thread Adam
This makes perfect sense. What do you think of >: or >>: rather than :> to align with the way accessors/converters have the convention of? The current :> just seems jarring but that's just my opinion. Thanks again for the clarification. -Adam On Wed, Oct 28, 2009 at 8:09

Re: [Factor-talk] Simplified locals: [let ] for scoping, :> for binding (NEW! with multiple bindings)

2009-10-28 Thread Adam
Reading the older docs for [let and [let* I see that the [let* form evaluates the bindings sequentially rather than in parallel. What order are the :> bindings evaluated? I'm just curious as I haven't used the :> form yet. On Wed, Oct 28, 2009 at 2:34 PM, Joe Groff wrote: > As I threatened to a

Re: [Factor-talk] What does "the recursive word loop digs arbitrarily deep into the stack" mean?

2009-10-16 Thread Adam
I reported this to Doug awhile back, it probably got lost in the IRC bug report system. ;-) On Fri, Oct 16, 2009 at 10:41 AM, Paul Moore wrote: > 2009/10/16 Slava Pestov : >> On Fri, Oct 16, 2009 at 7:56 AM, Paul Moore wrote: >>> Blast, I missed that. Thanks. That's probably because this code wa

Re: [Factor-talk] Eval within environment

2009-10-16 Thread Adam
ad that in factor while the limited OS was running though. In order to maintain a persistent connection to IRC and isolate the connection I had planed on using ZNC as an IRC frontend to reduce join/quit messages upon bot reload and nickserv identification. -Adam On Fri, Oct 16, 2009 at 8:03 AM,

[Factor-talk] Bootstrap and Build time - 6 month view

2009-10-13 Thread Adam
o see everything stabilize and load-all times go way down. -Adam -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills,

Re: [Factor-talk] "Factor Versus Forth" --- the book

2009-10-11 Thread Adam
Somewhere in extra is an 8080 emulator written by Chris Double that can even play simple game ROMs like Space Invaders. If it has fallen out of maintenance it will be in the unmaintained folder in the main source tree. On 10/11/09, Samuel Tardieu wrote: >> "Hugh" == Hugh Aguilar writes: > >

Re: [Factor-talk] disassembler patch and blog post

2009-10-07 Thread Adam
Phil, Your entry didn't show up on planet.factorcode.org for some reason. -Adam On Wed, Oct 7, 2009 at 12:47 PM, Slava Pestov wrote: > Phil, > > One more typo: > > "Factor aligns all its heap data to the nearest 16bit address" > > Perhaps you meant "n

Re: [Factor-talk] "refresh" behavior for non-default vocab roots

2009-09-30 Thread Adam
There's also the `reload' word. On Wed, Sep 30, 2009 at 12:47 PM, Hugo Schmitt wrote: > Hello, > > I noticed that using this, which used to work for a vocab under > c:/factor/extra: > > "vocab" dup refresh run > > stopped working when I moved the vocab to c:/home/factor, which I add > as a vocab

Re: [Factor-talk] returning a variable number of values

2009-09-23 Thread Adam
Also, > :: ( root target -- node new-root | 0 ) > ... ; > > : find-key ( key root -- node new-root | 0 ) The stack effect is being interpreted as `|' being an object on the stack according to the stack checker. ( ) do not denote comments as in forth. Try [ foo bar ] infer. in the listener to

Re: [Factor-talk] abort" and coerce

2009-09-18 Thread Adam
http://docs.factorcode.org/content/article-errors.html ( scratchpad ) 1 >float . 1.0 On Fri, Sep 18, 2009 at 9:20 PM, Hugh Aguilar wrote: > In Forth we have abort" that terminates execution with an error message. > Does Factor have this? Can this be wrapped in conditional-compilation code > so t

Re: [Factor-talk] compile-time code

2009-09-15 Thread Adam
Hugh, If you go directly to http://docs.factorcode.org there is a search function (same as the apropos word on a load-all image) in the frame to the left. Perhaps there should always be a frame when linking directly to the articles? -Adam On Tue, Sep 15, 2009 at 2:25 PM, Slava Pestov wrote

[Factor-talk] Bug Report: Input >= 4680 characters in the UI listener cause Windows builds to crash.

2009-09-01 Thread Adam
Tested on git-id "5221eee11ef76c425bcc051b419992f661161d9b" * Paste or enter >= 4680 characters into the UI listener * UI thread crashes with the output below from factor.com Error in thread 18 (UI update, [ self ui-thread set-global update-ui-loop ]): ole32-error instance code-21470

Re: [Factor-talk] [Vocab: effects] String as slot value for effect boa, it saved as an ascii code.

2009-08-23 Thread Adam
takes arrays of tokens: > { "x" } { "y" } (( x -- y )) On Sun, Aug 23, 2009 at 8:34 PM, Linnet wrote: > Hi,List! > > I try to make a defining word with certain stack effect, like this: > > > SYNTAX: FOO: scan 1quotation CREATE-WORD swap "" "x" > define-declared ; > > But I check the word I

Re: [Factor-talk] LaTeX

2009-08-23 Thread Adam
I don't think any one has worked on LaTeX support at this point. Nothing in the library that I can see anyway. On Sun, Aug 23, 2009 at 6:24 PM, Hugh Aguilar wrote: > Does Factor offer any support for LaTeX? I'm working on building a > slide-rule and want to use Factor to generate the LaTeX code

Re: [Factor-talk] can somebody test a factor branch on macosx for me please?

2009-08-22 Thread Adam
I can setup my macbook for VNC or ssh today. I'll be at work between 2pm-10pm PDT. Email me directly if you're interested. On 8/22/09, Phil Dawes wrote: > Ah yeah, looks like I need some time with an osx box and git-bisect. > Thanks v much anyway, > > - Phil > > Joe Groff wrote: >> On Aug 22, 2

Re: [Factor-talk] A "loupe" tool for Factor

2009-08-21 Thread Adam
t 5:39 PM, Keith Lazuka wrote: > On Fri, Aug 21, 2009 at 7:16 PM, Adam wrote: > > It'd be great in the future to add this to the Factor context > > menus to be able to right click gadgets on the UI for inspection; that > might > > remove your requirement to use the c

Re: [Factor-talk] A "loupe" tool for Factor

2009-08-21 Thread Adam
a git patch request. Glad to see you join the community. -Adam On Fri, Aug 21, 2009 at 12:40 PM, Keith Lazuka wrote: > I'm working on a little tool ("Loupe") which helps you inspect > on-screen gadgets. Right now it is Mac OS X only (because the tool > changes the mouse cur

Re: [Factor-talk] OOP tutorial

2009-05-26 Thread Adam
help.lint system; keeping the examples fresh with language or library changes: "help" help "help.lint" help -Adam On Tue, May 26, 2009 at 7:25 PM, Chris Double wrote: > On 5/27/09, Hugh Aguilar wrote: > > I have experience with LaTeX. When you guys are r

Re: [Factor-talk] OOP tutorial

2009-05-18 Thread Adam
Hugh, This slot used to be for the tuple delegate before delegation was removed after inheritance was added. http://factor-language.blogspot.com/2008/08/three-language-changes.html http://factor-language.blogspot.com/2008/09/improved-tuple-literal-syntax.html -Adam On Mon, May 18, 2009 at 5

Re: [Factor-talk] Nice ARM device, could run Factor

2009-05-04 Thread Adam
Nice! Another nice platform is the http://BeagleBoard.org device but it has a quarter to half the memory of the plug computer but you get video out. On Mon, May 4, 2009 at 4:58 AM, Samuel Tardieu wrote: > For whoever wants to attempt an ARM port ressurection, look at > > http://plugcomputer.or

Re: [Factor-talk] SwiftForth vs. Factor

2009-04-28 Thread Adam
ll probably run well in memory constrained environments. On Tue, Apr 28, 2009 at 7:43 PM, Adam wrote: > Hugh, > > In the unmaintained repository in the git master branch (unmaintained > folder) you will find the old ARM port. This needs some work but would > probably help you

Re: [Factor-talk] SwiftForth vs. Factor

2009-04-28 Thread Adam
Factor project. I hope you are enjoying you experiences so far! -Adam On Sun, Feb 8, 2009 at 12:46 PM, Hugh Aguilar wrote: > I had previously used SwiftForth ver. 2 from Forth Inc. under Windows XP, > which cost me $500. Now it doesn't work properly under Windows Vista (the >

Re: [Factor-talk] The great Computer language shooutout

2009-04-17 Thread Adam
Johann, Expanding on what Slava said, you could download the shootout benchmarks of the languages you are interested in comparing and then in the Factor listener run: "benchmark" run ...to compare. -Adam On Fri, Apr 17, 2009 at 1:11 PM, Slava Pestov wrote: > On Fri, Apr 17, 20

Re: [Factor-talk] CAMF

2009-04-16 Thread Adam
USING: ui ui.gadgets.editors ; [ "Edit me!\n\"ui.gadgets.editors\" about" swap set-editor-string ] [ "Editor Test" open-window ] bi Try that out remeber Factor's reflection capabilities: \ word see \ word help "vocabulary" about On Sun, Mar 15, 2009 at 8:39 AM, Hugh Aguilar wrote:

[Factor-talk] IRC logs

2009-04-14 Thread Adam
Looks like clog has left the building and I'm feeling withdrawals from the lack of factor musings I'm used to receiving daily. Are there any alternatives to tunes/bespin for #concatenative logs out there? http://bespin.org/~nef/logs/concatenative/?C=M;O=D lists a partial file for the 11th as the

Re: [Factor-talk] FUEL on Windows with new_ui

2009-04-07 Thread Adam
e factor window open and just debug there. The rest > of fuel seems to work fine. Hopefully the maintainers of fuel can > look at it sometime soon. > > > > On Mon, Apr 6, 2009 at 10:59 PM, Adam wrote: > > FUEL seems to be broken on Windows XP 32-bit with the latest GIT head

[Factor-talk] FUEL on Windows with new_ui

2009-04-06 Thread Adam
FUEL seems to be broken on Windows XP 32-bit with the latest GIT head and any call to ui code. 1) "fuel" run 2) M-x connect-to-factor 3) USE: ui "UI Test" open-window ...after the third step the process errors and closes the connection to FUEL in emacs and must be restarted with M-x connect-to-fa

Re: [Factor-talk] Mnemonic for cleave/spread/etc?

2009-03-31 Thread Adam
Chris, Which way do you prefer to think about it: values to quotations or quotations to values? I tend to thing about where the data is going and prefer the former. On Tue, Mar 31, 2009 at 5:47 PM, Chris Double wrote: > On Wed, Apr 1, 2009 at 1:43 PM, Adam wrote: > > Slava's

Re: [Factor-talk] Mnemonic for cleave/spread/etc?

2009-03-31 Thread Adam
Slava's talk graphics help: http://content.screencast.com/users/hiatoms/folders/Default/media/efc4c78d-f263-45e2-8648-9c37420e4f03/cleave-spread-apply.PNG One-to-many, many-to-many, many-to-one. On Tue, Mar 31, 2009 at 1:42 PM, William Tanksley wrote: > How do you people remember cleave versus

Re: [Factor-talk] Windows font clip glitch

2009-03-31 Thread Adam
ready in a few > days. In the meantime, you can disable ClearType, or use an older > Factor release. > > Slava > > On Mon, Mar 30, 2009 at 3:08 PM, Adam wrote: > > You can enable clear type through the Effects button on the Appearance > tab > > of the Display Pr

Re: [Factor-talk] Windows font clip glitch

2009-03-30 Thread Adam
You can enable clear type through the Effects button on the Appearance tab of the Display Properties. Right click the desktop and click properties or use the Control Panel applet named Display. Here's what the Effects dialogue looks like: http://screencast.com/t/cTkcKHFm3cr On Sun, Mar 29, 2009

[Factor-talk] new_ui bug report

2009-02-20 Thread Adam
\ ui help in the listener, then in the error dialouge click Help, then scroll down in the Error Description window. An error occurred while drawing the world An error occurred while drawing the world T{ world f ~array~ ~array~ f f ~vector~ ~array~ This world has been deactivated to prevent ca

Re: [Factor-talk] git-tool

2009-02-09 Thread Adam
Ed, Can this morph into the cross-platform functional equivalent of: http://gitx.frim.nl/ ??!! (And include a nifty 'Author Review' function when changing other people's code? Mailing the git-diff basically.) -Adam On Wed, Jan 21, 2009 at 11:57 AM, Eduardo Cavazos

Re: [Factor-talk] FUEL broken?

2009-02-08 Thread Adam
PM, Doug Coleman wrote: > That's the plan, but we might have to change a line or two of code in > the deployment tool. > > Doug > > > On Feb 8, 2009, at 4:55 PM, Adam wrote: > >> Doug, can the console app be deployed as *.exe though? >> >> On Sun,

Re: [Factor-talk] FUEL broken?

2009-02-08 Thread Adam
e factor.image filename to figure out which to > load. Only the developer will ever need to deal with the two > executables anyway -- a binary package will have one or the other. > > Doug > > > On Feb 8, 2009, at 3:56 PM, Jose A. Ortega Ruiz wrote: > >> Adam writes:

Re: [Factor-talk] FUEL broken?

2009-02-08 Thread Adam
Could you add this note to: http://concatenative.org/wiki/view/Emacs%20Integration including the appropriate file? On Sat, Feb 7, 2009 at 3:15 AM, Jong-Hyouk Yun wrote: > Hi, > > (setq fuel-listener-factor-binary "c:/tools/factor/factor.com") > > this fixes. > > Thanks. > > > 2009/2/7 Jong-Hyouk

Re: [Factor-talk] FUEL: request

2009-01-27 Thread Adam
Perhaps the README could also be updated to suggest adding "fuel" require to the .factor-boot-rc along side the save suggestion. Also, on windows my .factor-rc and .factor-boot-rc had to be changed to remove the dot. Most Unix crossbreeds tend to accept _dotfile or .dotfile in Windows. On Tue, J

Re: [Factor-talk] editor and scroller usage

2009-01-26 Thread Adam
Is FIVE on the way? (Factor's Ingenious Visual Editor) On Mon, Jan 26, 2009 at 8:11 PM, Eduardo Cavazos wrote: > Slava Pestov wrote: > >> This is how packs work; they only fill along the axis perpendicular to >> their orientation. >> >> Perhaps you want to pass the scroller to open-window directl

Re: [Factor-talk] io.monitors recommendations

2009-01-26 Thread Adam
Ed, Thank you for all of the io.* suggestions. I had done something similar before where I used bi* with next-change in the first quotation to trigger the second quotation's action. I have already incorporated some of the other suggestions into my daily work. -Adam On Mon, Jan 26, 2009

[Factor-talk] FUEL: request

2009-01-26 Thread Adam
y way that restarts could be redirected to the emacs session as if FUEL was started there? Thank you, -Adam 2009/1/22 Adam : > http://paste.factorcode.org/paste?id=368 > -- This SF.net email is sponsored by: Sour

Re: [Factor-talk] Locals Usage

2009-01-23 Thread Adam
I've found the best argument at work to be that you are programming in the order that the machine actually executes and that quotations are beginning of branches into another piece of code. (Not sure if that last statement is correct, but it seems to make sense to others.) On Fri, Jan 23, 2009 at

[Factor-talk] fep in windows: build 618

2009-01-22 Thread Adam
http://paste.factorcode.org/paste?id=368 -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___

Re: [Factor-talk] Factor ui screen corruption bug

2009-01-22 Thread Adam
Ed, What tool in linux generated the report? On Thu, Jan 22, 2009 at 3:29 PM, Eduardo Cavazos wrote: > Slava, > > I recently started working on a different computer. It's an older > machine so I'm running a light weight Linux distro on it, Puppy Linux > 4.12. The good news is performance of Fact

Re: [Factor-talk] [ ui ] in-thread problem

2009-01-20 Thread Adam
This is excellent!!! On Tue, Jan 20, 2009 at 5:42 PM, Jose A. Ortega Ruiz wrote: > "Slava Pestov" writes: > >> Hi Rocardo, >> >> Unfortunately on Windows, Factor cannot run the UI and use the TTY >> console at the same time. This is going to get fixed soon. In the >> meantime, either run two Fac

[Factor-talk] Screencasts link

2009-01-19 Thread Adam
The Screencasts link under: https://concatenative.org/wiki/view/Factor/Learning Fails to load as the ? and = are being converted: http://factor.blip.tv/posts?fview=archive vs. http://factor.blip.tv/posts%3fview%3darchive

Re: [Factor-talk] Generators?

2009-01-15 Thread Adam
BTW, Factor on windows does about 11.2MB full duplex i/o on average at 2.0GHz C2D/945 chipset. Very steady too, it's about 3.6x slower than C which is perfect. On Thu, Jan 15, 2009 at 4:42 PM, Adam wrote: > Thanks Doug! > > On Thu, Jan 15, 2009 at 4:01 PM, Doug Coleman wrote:

Re: [Factor-talk] Generators?

2009-01-15 Thread Adam
Thanks Doug! On Thu, Jan 15, 2009 at 4:01 PM, Doug Coleman wrote: > Correction, it's basis/pack. Docs to follow pretty soon, after I > finish some other things I'm working on. > > Doug > > -- > This SF.net email is spons

Re: [Factor-talk] Generators?

2009-01-15 Thread Adam
I'm looking for what William describes for a project here at work. On Thu, Jan 15, 2009 at 1:23 PM, Slava Pestov wrote: > On Thu, Jan 15, 2009 at 3:17 PM, William Tanksley, Jr > wrote: >> Does Factor have a read-delimited-record facility for binary data? >> Naturally, you'd have to set up the re

Re: [Factor-talk] Generators?

2009-01-15 Thread Adam
Hmmm, I was working with: "/path/to/bigfile" ascii [ [ ... ] each-line ] with-file-reader But I want to work with a binary data... is ascii 'safe' enough for that? Binary encoding doesn't work with readln. On Thu, Jan 15, 2009 at 11:14 AM, Samuel Tardieu wrote: >&

[Factor-talk] Generators?

2009-01-15 Thread Adam
Is there a feature in Factor that acts like Generators in Python? I.E. adding an iteration protocol where a result is computed, returned, and then yeilds to the caller? http://www.dabeaz.com/generators-uk/ http://www.dabeaz.com/generators-uk/GeneratorsUK.pdf Thanks, -Adam

Re: [Factor-talk] Generators?

2009-01-15 Thread Adam
es), but in general it might be simpler to express your > problem in another way. Can you give us a specific example where you > want to use generators, and then we can give more specific advice? > > Slava > > On Thu, Jan 15, 2009 at 12:34 PM, Adam wrote: >> Is there

Re: [Factor-talk] Factor and Google Summer of Code 2009

2009-01-13 Thread Adam
Perhaps restore the ARM port and get Factor ported to Android? The ARM parts are just stale as Factor used to run on Windows CE. The VM is ~12,000 lines of clean C that should be easy to build and the OS specifics would end up in Factor. -Adam On Tue, Jan 13, 2009 at 9:08 PM, Jonathan Leto

Re: [Factor-talk] Pull request: FUEL: extract word refactoring

2009-01-08 Thread Adam
Blog post + reddit? On Wed, Jan 7, 2009 at 7:02 PM, Slava Pestov wrote: > Cool! > > I've been talking about the 'cut and paste factoring' property of > concatenative languages for a while now; it was already very easy to > extract sub-expressions into new words. With this command it is even > eas

Re: [Factor-talk] easy-help example

2009-01-01 Thread Adam
Thanks Ed, I believe your solution is the most efficient; core documentation is just as important as basis/extra. I hadn't studied the implementation and I thought perhaps yet another markup was being developed. -Adam On Wed, Dec 31, 2008 at 2:48 PM, Eduardo Cavazos wrote: > > O

Re: [Factor-talk] easy-help example

2008-12-25 Thread Adam
Why not integrate Farkup or another plain text markup such as rst? On Wed, Dec 24, 2008 at 1:10 PM, Eduardo Cavazos wrote: > Chris Double wrote: > > > I haven't tried using it yet, but the example is compelling - very nice! > > Glad you like it! > > It's just a prototype at this point. Feel free

Re: [Factor-talk] Specialized arrays and breakage of OpenGL demos in extra/

2008-12-03 Thread Adam
Could vocabularies in extra that fail tests be moved to unmaintained by mason, the mailing list sent an email, and 'jackass' notifying in #concatenative? That might make life a little easier. Perhaps confirmation might be needed as removing one vocab that has failing tests may be USEd by others t

Re: [Factor-talk] Windows startup files heads-up

2008-11-16 Thread Adam
Most cross-platform systems I've used allow both on windows. I use cygwin to touch the file anyway. On Sun, Nov 16, 2008 at 5:27 PM, Slava Pestov <[EMAIL PROTECTED]> wrote: > Hi all, > > On Windows, Factor now looks for files named factor-boot-rc and > factor-rc in your home directory, without t

Re: [Factor-talk] Operating System signal 11 on winXP

2008-10-30 Thread Adam
up at all. I don't use it... > > Sounds like rebuilding factor might work around some issues. I also > might try finally updating to Leopard on my corporate laptop and > trying it there. > > Doug > > On Wed, Oct 29, 2008 at 12:47 PM, Adam <[EMAIL PROTECTED]> wrote: >

Re: [Factor-talk] Operating System signal 11 on winXP

2008-10-29 Thread Adam
Excuse me: Widcomm bluetooth stack. On Wed, Oct 29, 2008 at 12:44 PM, Adam <[EMAIL PROTECTED]> wrote: > widdicom bluetooth stack was my culprit... BTTray.exe will be in task > manager. > > > On Wed, Oct 29, 2008 at 10:37 AM, Chris Double <[EMAIL PROTECTED]>wrote: >

Re: [Factor-talk] Operating System signal 11 on winXP

2008-10-29 Thread Adam
widdicom bluetooth stack was my culprit... BTTray.exe will be in task manager. On Wed, Oct 29, 2008 at 10:37 AM, Chris Double <[EMAIL PROTECTED]>wrote: > On Thu, Oct 30, 2008 at 6:27 AM, Douglas Felt <[EMAIL PROTECTED]> wrote: > > Yes, this is a T60. So no one has tracked down what software is t

Re: [Factor-talk] New vocabulary browser

2008-09-03 Thread Adam
Will the new browser wrap the text in the cells as the old browser formatter did? On Wed, Sep 3, 2008 at 5:24 AM, Eduardo Cavazos <[EMAIL PROTECTED]>wrote: > > Eduardo Cavazos : > > > > It's in the latest git so make sure you have that. > > zimbatm wrote: > > > Hi Eduardo, which git are you refer

Re: [Factor-talk] Cross platform drawing bug in springies

2008-08-05 Thread Adam
-x86-32-2008-04-07-22-38) against my git pull today; no difference. I'm on an hp dc7700, core2 2.0 GHz, 2 GB ram, nvidia quadro nvs 285 128 MB. -Adam On Tue, Aug 5, 2008 at 2:04 PM, Eduardo Cavazos <[EMAIL PROTECTED]>wrote: > Slava, > > A few days ago some of us discovered

Re: [Factor-talk] Quotations which return themselves (Quines)

2008-07-29 Thread Adam
Is walking a call through supposed to insert breaks into quotations? On Tue, Jul 29, 2008 at 4:27 PM, Slava Pestov <[EMAIL PROTECTED]> wrote: > Here is my solution: > > "VVNFOiBrZXJuZWwgWyBbIGR1cCBjdXJyeSBdIGR1cCBjdXJyeSBd" base64> >string eval > . > > Slava > > On Tue, Jul 29, 2008 at 5:55 PM, P

Re: [Factor-talk] Named shufflers (rethought of "factor-way locals" idea)

2008-04-22 Thread Adam
Maxim, The latest binary builds at http://factorcode.org/getfactor.fhtml have the features you'd want. On Tue, Apr 22, 2008 at 6:47 AM, Maxim Savtchenko <[EMAIL PROTECTED]> wrote: > On Tue, Apr 22, 2008 at 11:20 AM, Eduardo Cavazos > > <[EMAIL PROTECTED]> wrote: > > > If you have some more code

Re: [Factor-talk] Windows/x86 bug?

2008-04-11 Thread Adam
Could the Tab key equate to 4 spaces in the listener? On Thu, Apr 10, 2008 at 8:51 PM, Slava Pestov <[EMAIL PROTECTED]> wrote: > > On Apr 10, 2008, at 10:28 PM, Maxim Savtchenko wrote: > > > OMG! But why so radical decision? I'm not tabs-fanatic, but prefer > > them for indentation, and never h

Re: [Factor-talk] Automatic binary builds: now with linux-x86-64

2008-03-30 Thread Adam Wendt
Linux 32bit binary worked for me On Sun, Mar 30, 2008 at 1:10 AM, Slava Pestov <[EMAIL PROTECTED]> wrote: > Hi all, > > Thanks to recent improvements in stability, everything now loads and > all unit tests pass on linux-x86-64; here is a binary package: > > http://factorcode.org/downloads/linux

[Factor-talk] factor.sh

2008-02-06 Thread Adam
Doug, Slava was nice enough to point out misc/factor.sh to me after I had written my own daily build script. I happen to be behind a firewall here at work so I would need to script to fall back on http for git pulls. Can the script be updated? Thank you, Adam Wearn

Re: [Factor-talk] DOMAINS: -- Bringing democracy to your out of control USING: statements

2007-09-13 Thread Adam Wendt
to save a handful of tokens. What would be more intuitive to me would be something like: USING: kernel math threads domains opengl opengl.* ui ui.* colors namespaces.lib hashtables.lib vars rewrite-closures automata ; Adam (thelsdj) -

Re: [Factor-talk] Building a dynamic binary on Linux which fetches .so's from cwd

2007-04-16 Thread Adam Langley
ng directory. Sorry about that. > Also I wasn't exactly after fetching the .so from cwd, but rather > fetching the .so from the same directory as the executable. I guess I understand the security reasons why that doesn't work. It's stil

[Factor-talk] Building a dynamic binary on Linux which fetches .so's from cwd

2007-04-15 Thread Adam Langley
00) libtest.so (0xb7fce000) libc.so.6 => /lib/libc.so.6 (0xb7e9f000) /lib/ld-linux.so.2 (0xb7fd1000) % ./a.out % rm libtest.so % ./a.out ./a.out: error while loading shared libraries: libtest.so: cannot open shared object file: No such file or directory -- Adam Langley

Re: [Factor-talk] [ann] mercurial mirror

2007-04-06 Thread Adam Wendt
Yea, I was lying in bed talking to my girlfriend and dozing off and I realized that clone was the verb I was looking for :) On 06 Apr 2007 09:08:04 +0200, Samuel Tardieu <[EMAIL PROTECTED]> wrote: > >>>>> "Adam" == Adam Wendt > >>>>> <[EM

Re: [Factor-talk] [ann] mercurial mirror

2007-04-05 Thread Adam Wendt
Hmm I must be missing something, how can i 'hg pull' from this? complains about no repository found. Adam Wendt On 4/5/07, Csaba Henk <[EMAIL PROTECTED]> wrote: > Hi, > > I added factor to my Mercurial mirror collection: > > http://mercurial.creo.hu/repos/ > htt