It's just C ffi calls right?
On Fri, May 21, 2021 at 4:38 PM George Cherevichenko <
george.chereviche...@gmail.com> wrote:
> It is VERY outdated. I need OpenGL3.0+
> https://learnopengl.com/code_viewer.php?code=getting-started/hellotriangle
>
primitive_nano_count();
On Fri, Jun 5, 2020 at 5:14 PM Alexander Ilin wrote:
> Does it also return 8 bytes in 32-bit Windows?
>
> 06.06.2020, 01:09, "Doug Coleman" :
>
> Actually, I can be more helpful. ``nano-count`` returns a ``uint64_t`` so
> you need 8 bytes.
t)t.tv_sec * 10 + t.tv_nsec;
}
On Fri, Jun 5, 2020 at 5:00 PM Doug Coleman wrote:
> As long as you can fully round-trip the integer, it doesn't matter how
> many bytes you use.
>
> nano-count dup 4 >be be> = .
> f
>
> nano-count dup 8 >be be> = .
> t
>
without leading zeroes:
>
> Value -- MinSize
> 0 -- 1
> 255 -- 1
> 256 -- 2
> 65535 -- 2
> 65536 -- 3
> etc.
>
> I would expect such information to be available somewhere without doing
> the power of two calculations in a loop.
>
> 23.03.2020, 05:41
For Factor, integers are either fixnum or bignum size. For C, you tell it
how many bytes it occupies according to the C header. Generally the sizes
are the same across platforms. If they aren't, you might need two different
STRUCT: declarations like in basis/unix/stat/linux/32/32.factor
and
You could do this:
: SODIUM_SIZE_MAX ( -- x ) cell-bits on-bits ;
where cell-bits gives 32/64 and on-bits turns them to ones.
On Sun, Mar 22, 2020 at 6:44 PM Alexander Ilin wrote:
> Hello!
>
> I'm creating the sodium library FFI for Factor, and I found the
> following definition in the
Here's the first example from the clojure docs for partition-by:
{ 1 2 3 4 5 } [ [ 3 = not ] bi@ and ] monotonic-split
{ { 1 2 } { 3 } { 4 5 } }
Also you could do this if the function is expensive so you only apply it
once:
{ 1 2 3 4 5 } [ 3 = ] map-zip [ [ second ] bi@ = ] monotonic-split [
Hi all,
Until today, Factor has maintained a git repository on factorcode.org and
force-pushed to github every five minutes. This behavior breaks github PRs
because the git log is overwritten and changes look like they never merged.
Going forward, there is now a git hook that POSTs to
Honestly, I remember asking the same question a long time ago. Haha.
On Sun, Sep 22, 2019 at 8:17 PM KUSUMOTO Norio
wrote:
> > 2019/09/22 22:41、Doug Coleman のメール:
> >
> > You can use 'find' itself as an 'each'. Do whatever you each would do
> before checking the stop cond
You can use 'find' itself as an 'each'. Do whatever you each would do
before checking the stop condition and return true when your stop condition
is met. Then drop what you found if you don't need it.
On Sun, Sep 22, 2019, 6:21 AM Alexander Ilin wrote:
> I use `loop` or `while`, depending on
make-my-image
make-images
On Tue, Sep 10, 2019 at 10:14 AM KUSUMOTO Norio
wrote:
> Hello, everyone.
>
>
> Is it possible to build an image file by myself, for example, by executing
> some word?
> The image file I'm using seems to have gone wrong.
>
> --
> KUSUMOTO Norio
>
>
>
>
>
>
Merged. Thank you all for working on this!
On Sat, Jun 8, 2019 at 8:24 AM Alexander Ilin wrote:
>
> 08.06.2019, 16:11, "Alexander Ilin" :
> > I have also pushed an experimental commit to support transparency in the
> foreground text color.
> > It seems there is still an issue with the correct
Hi,
I think you can still use the x11 backend on any unix system.
Try ``USE: ui.backend.x11``
Relevant line:
basis\ui\backend\x11\x11.factor:x11-ui-backend ui-backend set-global
I'm taking a look at the Windows key changes.
Cheers,
Doug
On Sun, Apr 7, 2019 at 4:57 PM Alexander Ilin wrote:
USE: ini-file
:p
On Tue, Mar 19, 2019 at 1:09 PM Alexander Ilin wrote:
> Hello!
>
> I need to load a configuration from a simple text file.
> I would not want to employ anything too complex (XML), and the thing
> must work in a deployed application, into which I would not want to include
>
It seems more like something for ``when`` and ``unless`` than for ``if``
since the balancing quotation can be first or second.
[ drop ] [ . ] if -> [ . ] 1unless
[ + . ] [ 2drop ] if -> [ + . ] 2when
Maybe that works?
On Mon, Dec 24, 2018 at 1:57 PM Alexander Ilin wrote:
> Hello!
>
> I
Hi,
I created a gitter to chat about Factor. Let's see how it goes. I've been
using the Kitten gitter and it's nice to have messages notifications in
email.
We still have #concatenative on freenode IRC, but it's pretty dead lately.
Gitter Link:
Oops.
MACRO: printf ( string -- quot: ( ..a string -- ..b ) )
MACRO: sprintf ( string -- quot: ( ..a string -- ..b string ) )
On Thu, Jan 18, 2018 at 3:02 PM John Benediktsson wrote:
> MACRO: always produces a quot.
>
> But when it's "called" it's whatever the stack effect
rintf ( ... string -- )
> MACRO: sprintf ( ... string -- result )
> ```
>
>
> 18.01.2018, 23:44, "Doug Coleman" <doug.cole...@gmail.com>:
>
> Stack effects on macros are not checked. We have the convention of lying
> that the stack effect is ( input -- quot ) but even
Stack effects on macros are not checked. We have the convention of lying
that the stack effect is ( input -- quot ) but even that is wrong, as the
macro is called immediately so you don't get a quot on the stack. The quot
could have a stack effect of its own but it's variable arity, as you are
We actually had a command-line argument to the vm to optionally zero the gc
after collection but we removed the feature somewhere around when we
dropped BSD support. It's probably better than nothing but if they could
read your memory after a gc why not just read it before gc instead?
Doug
On
[ random ] map [ sift ] time
Running time: 0.251810384 seconds
On Wed, Jun 21, 2017 at 10:58 AM Alexander Ilin <ajs...@yandex.ru> wrote:
> In that case the behavior would be identical to the current one.
>
> 21.06.2017, 18:55, "Doug Coleman" <doug.cole...@gmail.com&g
What should supremum do if you have no elements in the sequence?
numpy throws an error too:
In [1]: import numpy as np
In [2]: np.max(np.array([]))
ValueError: zero-size array to reduction operation maximum which has no
identity
On Wed, Jun 21, 2017 at 10:52 AM Alex Vondrak
You can do something like this:
USING: multiline ;
SYNTAX: [[ "]]" parse-multiline-string suffix! ;
SYNTAX: [=[ "]=]" parse-multiline-string suffix! ;
SYNTAX: [==[ "]==]" parse-multiline-string suffix! ;
[[ asdf]] [=[ asdf]=] [==[ asdf]==]
Lua-style or magic strings can contain any payload. You
You can do things like:
USE: io.directories.search
"/Users/erg/factor" [ file-name >lower "factor" head? ] find-all-files
On Sat, Oct 29, 2016 at 9:55 AM John Benediktsson wrote:
> I hit send before I had a chance to finish that thought --
>
> You can use ``file-info
, 2016 at 4:35 PM, Alexander Ilin <ajs...@yandex.ru> wrote:
> >
> > 25.10.2016, 23:13, "Doug Coleman" <doug.cole...@gmail.com>:
> >
> > You should be able to call the Windows APIs directly (if you can figure
> out
> > which ones!) and avoid usin
You should be able to call the Windows APIs directly (if you can figure out
which ones!) and avoid using a script to call a binary.
On Tue, Oct 25, 2016 at 1:02 PM Alexander Ilin wrote:
> The same, but a bit more elaborate (and hopefully more readable):
>
> USING:
(disclaimer: sourceforge only accepts 40kb message bodies without approval,
i might have forgotten the admin password, this email might be sent 3+
times, google inbox confuses me with hidden text bloating my replies...)
Hi Александр,
I'm finally able to contain enough rage to answer you! ;)
end up spamming everyone when my fixes are
incorrect and I have to keep updating you on the status. :)
Doug
On Sat, Jul 9, 2016 at 2:53 PM Alexander Ilin <ajs...@yandex.ru> wrote:
> Hello, Doug!
>
> 09.07.2016, 22:47, "Doug Coleman" <doug.cole...@gmail.com>:
>
>
Actually it's still broken...fixing again
On Sat, Jul 9, 2016 at 2:42 PM Alexander Ilin <ajs...@yandex.ru> wrote:
> Hello, Doug!
>
> 09.07.2016, 22:15, "Doug Coleman" <doug.cole...@gmail.com>:
>
> I debugged it -- when adding new bytes, it was taking th
It took two patches. I got confused with two Factor instances running when
everything seemed to work. Bah.
On Sat, Jul 9, 2016 at 2:14 PM Doug Coleman <doug.cole...@gmail.com> wrote:
> Hi Alex,
>
> I debugged it -- when adding new bytes, it was taking the length of all
> the by
Hi Alex,
I debugged it -- when adding new bytes, it was taking the length of all the
bytes that have been added since checksumming the last block instead of the
new bytes only. So it reports the lengths as 8, 24 instead of 8,16.
This should be fixed in a patch. Sorry!
Doug
On Sat, Jul 9, 2016
Hi All,
I wrote a new parser after bouncing a ton of emails off John (thanks!).
It's ready enough to be worked on by other people. There's a branch called
locals-and-roots that has locals/fry/macros/memoize/stack-checker in core,
has a new vocab roots layout for
an "object"
> (instead of windows, unix, etc.) so that the code you quoted is actually
> executed?
>
> Is it the default implementation in case "windows" has no "copy-file"
> method?
>
> 14.06.2016, 22:37, "Doug Coleman" <doug.cole...@g
Hey Alexander,
We have a copy-file implemented with stream-copy already. It's non-blocking
and it might be fast enough, or we could optimize it. I haven't looked at
CopyFile for a long time, but maybe we shouldn't use that and should use
the default stream-copy version instead. Then you don't
Hey Alexander,
We started using C++11 or C++14 features and this requires a newer
compiler. Can you try with the latest Visual Studio?
The wiki is outdated and I can change it but I'm not sure why new users
can't or why the email/password reset system is broken. I can check it out
later.
Doug
Hey,
You're using the ${ } correctly but the $[ ] actually expands at parse-time
into just plain old ``5``. unit-test expects a quotation, but it gets ``5``
instead and fails.
You can see this by trying:
${ five } $[ five ] ! now hit enter, or ctrl-m to macro-expand things
(kind of a hack
Words in core/ are only supposed to be there if other vocabularies in core/
use them, or if they're really useful. I'd rather move words to core/
before releasing if we know they belong there.
On Thu, Feb 18, 2016 at 10:20 AM, John Benediktsson
wrote:
> I think that sounds
Force pushing doesn't fix it, so I want to delete the master branch and
then force push again. My current guess is that there are stale objects
that github isn't pruning and that force pushing doesn't exactly mirror the
object packs on disk, and that cloning pulls down the bad objects.
But I'm
The hosting provider did a security update and reset the machine.
Everything should be back up shortly. Thanks for the notice!
On Tue, Oct 27, 2015 at 2:36 PM, Bill Sun wrote:
> Looks like www.factorlang.org and www.concatenative.org are both down for
> me.
>
> -Bill
>
>
>
>
You can run your code in the leaks combinator and it will show you what
leaked. I suspect that you're just using a lot of memory though.
[ { 1 2 3 } [ malloc drop ] each ] leaks members .
{ ~malloc-ptr~ ~malloc-ptr~ ~malloc-ptr~ }
On Thu, Oct 1, 2015 at 12:31 PM, HP wei
Try the latest one.
On Thu, Oct 1, 2015, 19:30 Sankaranarayanan Viswanathan <
rationalrev...@gmail.com> wrote:
> Hello,
>
> I just upgraded my macbook to El Capitan today, and the opening the
> factor help browser seems broken. I get the message:
>
> An error occurred while drawing the world T{
I'm not sure why the permissions got broken. It should work now though.
On Thu, Oct 1, 2015 at 9:08 PM, John Benediktsson wrote:
> Sorry, looks like a permissions error on the downloads server.
>
> Hopefully we can get that resolved soon.
>
> El Capitan introduced a GL Error
You can do link-info instead.
On Wed, Sep 30, 2015, 13:42 HP wei wrote:
> While trying out the word each-file, I bumped into presumably
> a bug in
>
> file-info ( path -- info )
>
> Under linux,
> if the path is a softlink (symbolic link),
>
> path file-info symbolic-link?
>
Interesting. Both versions work with my clang.
ergmac:factor erg$ [master*] clang --version
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix
So if the fix is correct, then we are all good.
Doug
On Fri, Aug 14, 2015 at
Maybe gcc should spend more time implementing C++14 and fixing bugs and
less time worrying about someone stealing their AST.
You can use clang and it should work.
CC=clang CXX=clang++ make
I'll patch the implicit this but I don't know what else to say. :)
Doug
On Fri, Aug 14, 2015 at 10:00 AM,
to support 2012's compilers ?
Jon
On Fri, Aug 14, 2015 at 7:54 PM, Doug Coleman doug.cole...@gmail.com
wrote:
Interesting. Both versions work with my clang.
ergmac:factor erg$ [master*] clang --version
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple
Cool. Here's an issue for it:
https://github.com/slavapestov/factor/issues/1440
On Fri, Aug 14, 2015 at 1:31 PM, Jon Harper jon.harpe...@gmail.com wrote:
I started this discussion because I thought that not everybody was aware
of the impact of the recent c++11 changes. We now have stronger
[[This is kind of a brain-dump and not completely organized, but I'm going
to send it.]]
The proposed new-parser is a lexer and parser with specific roles for
each. SYNTAX: words that execute arbitrary code should be replaced with
PARSER: words that only parse text, and a compile pass
The main
I just now added the ![[ ]] comment syntax and fixed !comments.
Force-pushed to the erg/modern4 branch.
On Fri, Aug 7, 2015 at 5:27 PM, Doug Coleman doug.cole...@gmail.com wrote:
[[This is kind of a brain-dump and not completely organized, but I'm going
to send it.]]
The proposed new-parser
Thanks for the report; I fixed it.
You should be able to create a new account, but I guess that's not the case?
Doug
On Thu, Jul 16, 2015 at 12:28 AM, Georg Simon georg.si...@auge.de wrote:
At http://concatenative.org/wiki/view/Factor/Running%20Factor
there is a dead link for command line
I think ``dictionary`` would be the Factor way.
Issue 641 talks about renaming words to functions etc.
On Thu, Jul 9, 2015 at 6:19 PM, John Benediktsson mrj...@gmail.com wrote:
The only names we have right now are vocab-root (vocabularies that share
a common file directory they are loaded
, Dec 19, 2014 at 4:50 PM, Alexander Iljin ajs...@yandex.ru wrote:
Hi, Doug!
20.12.2014, 03:38, Doug Coleman doug.cole...@gmail.com:
All the previous releases are here:
http://downloads.factorcode.org/releases/
I'm not sure which version was last built for winxp though, but
probably .95
You need to set the path to the full path of the emacsclient binary.
```factor
USING: editors.emacs namespaces ;
/usr/bin/emacsclient \ emacsclient-path set-global
```
You can debug what's happening because the array in the ``command`` slot of
``process`` is what Factor is launching.
```
Hey Mark,
Have you tried the ``watch`` word to print the stack before and after
calling a word? I would look at your code if you pastebin something that
doesn't work.
The problem with putting a breakpoint in the UI thread is that it starves
the single thread that Factor runs in and the UI can't
Here's another one that prints directly to the console:
current-directory get .
/
IN: scratchpad rake try-output-process
Process:
T{ process
{ command rake }
{ environment H{ } }
{ environment-mode +append-environment+ }
{ stdin +closed+ }
{ stdout T{ fd { disposed t } { fd 37
Hey,
You don't need to call ``cd`` manually, you can use a combinator for this:
/Users [ ls try-process ] with-directory
same as
/Users [ { ls } try-process ] with-directory
OSX has problems with the PATH variable when run from the launcher. You can
see what your path is by doing:
PATH os-env
Hi Mark,
The vocab ui.tools.inspector is already a gadget that edits tuples. Check
it out if you haven't:
TUPLE: foo a b c ;
foo new
! click foo
! click slot c in tuple so it's highlighted blue
! click edit slot, 3rd button at top
Check out that vocabulary and see if it helps. If not, I can
Hi,
I just downloaded the release from your link and it works for me on Windows
8.1, on the computer that generated the release to begin with. I guess
that's no surprise..
Does anyone else have Windows XP to try it on? I can make a VM soon if not.
The reason for having .com and .exe is that
nothing to do with file extension. The
fact that com-file works (though not for me) is probably due to Windows
recognizing the new format in the contents despite the extension.
Anyway, as I said below, both exe- and com-file produce the same error
message for me.
20.12.2014, 02:58, Doug
You can call set-global and get-global instead of set and get. The words
are executing in the dynamic scope of the parser and the values getting
lost when parsing returns.
Doug
On Tue, Dec 16, 2014 at 8:55 AM, Andrea Ferretti ferrettiand...@gmail.com
wrote:
Hi, I am trying to define some
To understand what's going on with quotations you have to understand the
difference between run-time, compile-time, how the stack checker works, and
a few other details.
Run-time is after your code has been compiled and you have started to
execute it--it's your program.
Compile-time is when the
Try this from factor.sh:
udo apt-get --yes install libc6-dev libpango1.0-dev libx11-dev xorg-dev
libgtk2.0-dev gtk2-engines-pixbuf libgtkglext1-dev wget git git-doc rlwrap
clang gcc make screen tmux libssl-dev
On Nov 3, 2014 9:17 PM, mr wzrd wzr...@gmail.com wrote:
On 11/03/2014 11:54 PM,
Hi,
Do you happen to have a Radeon card? One of the libraries required by
Factor pulls in the OpenGL Mesa driver which shadows the Radeon driver.
You can make sure to load the binary Radeon driver:
LD_LIBRARY_PATH=/usr/lib/fglrx ./factor
This should link to your Radeon driver and not Mesa:
ls
Try the table. word.
On Aug 27, 2014 10:48 PM, mr wzrd wzr...@gmail.com wrote:
What is the best way to get an array of arrays to look like a spreadsheet?
--
Slashdot TV.
Video for Nerds. Stuff that matters.
You can use outputarray in combinators.smart.
On Aug 26, 2014 8:09 PM, mr wzrd wzr...@gmail.com wrote:
Hello list.
How would one use the cleave combinator to accumulate results into a
sequence instead of onto the stack?
Initially I have one object on the stack and five quotations to apply
Try the decimals and money vocabularies.
On Aug 26, 2014 8:14 PM, mr wzrd wzr...@gmail.com wrote:
Also, was wondering if there is planned future support for dollar amounts.
Wondering how dollar amounts could be defined using the existing number
classes.
The dollar amounts I was working with
:10 PM, Doug Coleman doug.cole...@gmail.com
wrote:
You can use outputarray in combinators.smart.
On Aug 26, 2014 8:09 PM, mr wzrd wzr...@gmail.com wrote:
Hello list.
How would one use the cleave combinator to accumulate results into a
sequence instead of onto the stack
Hi Mark,
Factor was not designed with multiuser Windows systems in mind. It would be
best to have each user install their own copy of Factor in their home
directory. We could try to fix all of the problems for .98 if make a list
of them in an issue on github.
For the second issue, are you using
Have you googled the error? I've compiled Factor on Windows on at least 20
machines over the years and have never run into this error.
Looks like this might solve it?
http://stackoverflow.com/questions/10888391/error-link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-inval
Lemme
Hi,
I believe this problem is fixed in git. I'm going to try and get the
automatic builds working again this weekend, but if you have time, building
it yourself should fix the problem.
[To build it yourself: Install Visual Studio Express 2013 or the like; git
clone the repository; Open a Visual
The site seems up. We had a regression that made it very unreliable,
crashing every few hours. It should be back to crashing every couple months
now.
If you want to read the docs offline, you can do this (takes several
minutes to run, Factor will hang in the meantime):
USE: help.html
We could do that if we automate the entire process. That would entail
someone writing some code to generate those packages and possibly
automatically submitting them to the package managers. Is that possible?
Doug
On Fri, Feb 7, 2014 at 1:00 PM, Andrew Pennebaker
andrew.penneba...@gmail.com
I moved the server over to Rackspace and tried to generate the docs
manually. I regenerated the docs just now with load-all. The build machines
are broken, but once I fix them we'll have automatic docs builds again.
Cheers,
Doug
On Sun, Nov 17, 2013 at 5:26 PM, Alex Vondrak ajvond...@gmail.com
We don't have anything that solves your problem. It would be nice to have
full internationalisation and localization support.
Doug
On Wed, Jul 17, 2013 at 1:24 AM, Georg Simon georg.si...@auge.de wrote:
Is there any mechanism in Factor to translate hard coded strings to the
user's language?
`` and
``USE: system image``. Make sure they're what you want.
Doug
On Tue, Jun 18, 2013 at 12:22 PM, Gabriel Kerneis gabr...@kerneis.infowrote:
On Tue, Jun 18, 2013 at 11:20:41AM -0700, Doug Coleman wrote:
In your home directory, do:
git clone g...@github.com:slavapestov/factor.git
cd factor
Nice job! The ``inv-sbox`` problem is that ``sbox`` is not compiled yet.
You can use a hack to get it to compile:
CONSTANT: sbox H{ ... }
The makes a compilation-unit at parse time.
Doug
On Thu, Jun 6, 2013 at 6:22 AM, Gabriel Kerneis gabr...@kerneis.infowrote:
On Thu, Jun 06, 2013 at
How about [ sum 100 = ] filter
On Jun 4, 2013 9:57 PM, graham telfer gakouse...@hotmail.com wrote:
Maybe happiness! Perhaps the math.combinatorics vocabulary has what I
need.
Sent from my iPad
On 5 Jun 2013, at 12:45, graham telfer gakouse...@hotmail.com wrote:
I am trying to define a
You are dividing by zero.
100 0 mod - SIGFPE
On Tue, Mar 5, 2013 at 11:31 AM, Loryn Jenkins lor...@gmail.com wrote:
Hi
I've got a bunch of very similar words, several of which work, and some
fail. Each failure throws a UNIX signal #8 (SIGFPE).
I'm struggling to see the difference between
I started an n-dimensional array implementation in extra/arrays/shaped.
Check out this paper on numpy's nd-array: http://arxiv.org/pdf/1102.1523.pdf
The key concepts are having a continuous underlying array, using a shape
slot that can reshape to any other shape with the same product without
If you interested in finding the determinant of a matrix, the easiest way
is probably to bind to LAPACK or LINPACK using our Fortran FFI. Take a look
at extra/math/blas/ffi for an example.
I ended up writing the whole thing... It's really inefficient, as it makes
temporary matrices. You'd
, Feb 5, 2013 at 3:03 PM, Leonard P leonard14...@gmail.com wrote:
On Tue, Feb 5, 2013 at 5:58 PM, Doug Coleman doug.cole...@gmail.comwrote:
If you interested in finding the determinant of a matrix, the easiest way
is probably to bind to LAPACK or LINPACK using our Fortran FFI. Take a look
at extra
Hi Alexey,
I am responsible for the Postgres library. I have an updated version in the
works but I haven't finished it yet. Sorry for the inconvenience.
Doug
On Tue, Feb 5, 2013 at 3:15 PM, Alexey V. Litvinov lialsoft...@mail.ruwrote:
Hello!
I'm trying to write multiuser accounting webapp
How about 'map'?
On Dec 26, 2012 10:48 AM, Samuel Proulx proulxsam...@gmail.com wrote:
Hi,
I just have a quick question. Is it possible to make an each quotation
have a stack effect such as ( x -- x ) or do we have to stick with the
standard ( x -- ) ?
Thanks in advance,
Samuel
USE: tools.scaffold
On Mon, Dec 17, 2012 at 11:42 AM, Leonard P leonard14...@gmail.com wrote:
On Mon, Dec 17, 2012 at 10:53 AM, Alex Vondrak ajvond...@gmail.com
wrote:
What about it didn't work? Did you get an error? Otherwise, what
actually
happened, and how did that differ from what
You can print to the global namespace and it should show up in the terminal
(Windows, Linux) or in Console (Mac).
Press [ *drop [ *The button has been pressed. print ] with-global ]
border-button gadget.
Doug
On Sun, Dec 16, 2012 at 4:58 PM, Samuel Proulx proulxsam...@gmail.comwrote:
Thank
For 1) you can either use ``name`` or ``unparse``.
Doug
On Tue, Nov 6, 2012 at 2:50 PM, PGGB grizzlysc...@gmail.com wrote:
1. Is there a way to unparse a word, turn a word into a string (basically
a reverse parse-word)?
2. Is there a way to force my world to swap buffers? I am subclassing
Which platform?
On Tue, Aug 28, 2012 at 6:38 PM, graham telfer gakouse...@hotmail.com wrote:
Using sequences in Factor 0.95 I type something like { 1 2 3 } length in
the Listener but get nothing returned.
The stack is not empty though because ' .s ' does not report stack
underflow. It prints
Are you running it in the shell listener? It might save memory.
./factor -run=listener
load-all test-all
Doug
On Sat, Aug 25, 2012 at 1:36 PM, Alexander J. Vondrak
ajvond...@csupomona.edu wrote:
Just did a load-all test-all with 0.94, and that crashes, too. I know that
I've run those tests
Python's package management is terrible. They have easy_install,
distribute, distribute2, pip, and virtualenv, in addition to having
binaries/interpreters/libraries for python2 and python3. I tried pip
but it couldn't install one of the packages I needed, so I wiped them
all and went back to
- or was it SML? or both?)
To me the biggest problem with package systems is dependencies. I don't know
why you folks are discussing Linux to be honest.
- rien
On Fri, Aug 24, 2012 at 2:46 PM, Doug Coleman doug.cole...@gmail.com
wrote:
Python's package management is terrible. They have easy_install
We have a code coverage tool. If we started using it, one could at
least be guaranteed that every code path is at least hit by the unit
tests.
Doug
On Fri, Aug 24, 2012 at 12:27 PM, P. uploa...@gmail.com wrote:
I remember your describing that idea!
I think it's great - it would allow us to
How much ram?
On Aug 24, 2012 6:01 PM, Alexander J. Vondrak ajvond...@csupomona.edu
wrote:
Hey all,
Mini-update: got the unit tests for the global value numbering pass more
up-to-snuff awhile ago (it's like test-driven development in reverse!).
Still
seems like I should be doing more to
8gb outta be enough for anybody. But It's not, I guess. Try with more RAM
or patch the part that grows to only grow to as much as you have.
Maybe something is using way too much
On Aug 24, 2012 6:01 PM, Alexander J. Vondrak ajvond...@csupomona.edu
wrote:
Hey all,
Mini-update: got the
1) Factor loads a ~/.factor-rc file every time it starts. You can put
things there:
USE: tools.scaffold
scaffold-factor-rc
Click it, edit it and add:
USING: prettyprint.config namespaces ;
16 number-base set-global
2) Alternately, there's a boot rc file that gets loaded after bootstrap:
You have to add the word to the file in a text editor. Then you can
press f2 or palindrome reload.
I'll make the tutorial more clear.
Doug
On Wed, Aug 15, 2012 at 7:56 AM, Market 0ne-Source.com
mar...@0ne-source.com wrote:
Hi,
Going through palindrome sample on Windows XP
resource:work
Is this you?
http://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
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...@hotmail.com wrote:
One more question before I disappear.
./factor starts Factor from the command-line. If you're on mac, you
get a terminal listener (to start it right, you want to run it from
the app: ./Factor.app/Contents/MacOS/factor); if you're on linux, you
get the UI. In Windows, you run factor.com and it launches the UI.
So in whatever REPL
Hi Naveen,
There's a library for making COM interfaces in
basis/windows/com/com.factor. It doesn't look like we have an
IDispatch interface, but you can make one. The docs are kind of
minimal, so follow the example in the -tests.factor file.
As far as scripting Word, I doubt anyone has done so.
] while suffix
accomplishes the task.
Marshall
On Tue, Jun 19, 2012 at 10:50 PM, Graham Telfer gakouse...@hotmail.com
wrote:
Doug Coleman doug.coleman@... writes:
In general, you shouldn't want to do this, as all Factor words
(besides the one I'm about to show you) need a fixed
1 - 100 of 204 matches
Mail list logo