Market 0ne-Source.com | 6 Jun 2012 02:25
Favicon

New Factor Explorator

Hi to all,

I have been looking for a concatenative, stack-based language including a
comprehensive library.

I enjoy the comprehensive factor documentation, however I am unable to
figure out how to run a sample programs.

I have tried all sorts of things

 #!
C:/ProgramFiles/factor/extra/benchmark/3d-matrix-scalar/3d-matrix-scalar.fac
tor -script

"C:/ProgramFiles/factor/extra/chess960/chess960.factor" run-file

"C:/ProgramFiles/factor/extra/color-picker/color-picker.factor" run-file

even stepped the command into the nice UI Walker.

Nothing comes up.

Thanks for any guidance.

Arb

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
(Continue reading)

Doug Coleman | 6 Jun 2012 02:48
Picon

Re: New Factor Explorator

Try something like this:

"tetris" run

Here's the canonical tutorial:

http://docs.factorcode.org/content/article-first-program.html

Have fun,
Doug

On Tue, Jun 5, 2012 at 5:25 PM, Market 0ne-Source.com
<Market@...> wrote:
> Hi to all,
>
> I have been looking for a concatenative, stack-based language including a
> comprehensive library.
>
> I enjoy the comprehensive factor documentation, however I am unable to
> figure out how to run a sample programs.
>
> I have tried all sorts of things
>
>  #!
> C:/ProgramFiles/factor/extra/benchmark/3d-matrix-scalar/3d-matrix-scalar.fac
> tor -script
>
> "C:/ProgramFiles/factor/extra/chess960/chess960.factor" run-file
>
> "C:/ProgramFiles/factor/extra/color-picker/color-picker.factor" run-file
(Continue reading)

Market 0ne-Source.com | 6 Jun 2012 06:54
Favicon

Re: New Factor Explorator

Hi Doug,

Thanks for quick reply.

Another detail I couldn't figure out from the documentation :

factor-boot-rc is nowhere to be found.

I attempted to create one in C:\Documents and Settings\username

containing one line :

 USE: editors.jedit ;

but no go (works from the listener prompt though)

I can get by.

Thanks,

Arb

>
>
> Try something like this:
>
> "tetris" run
>
> Here's the canonical tutorial:
>
(Continue reading)

Doug Coleman | 6 Jun 2012 17:15
Picon

Re: New Factor Explorator

I think it has to be called .factor-boot-rc and there's a tool that
will make the file for you:
USE: tools.scaffold scaffold-factor-boot-rc

Then you can click the link to edit that file. It's possible that you
just didn't bootstrap and that your file is in the right place after
all.

If you want to reload the boot rc file without bootstrapping:
run-bootstrap-init

Finally, there's another rc file that loads every time you start Factor:
USE: tools.scaffold scaffold-factor-rc

Doug

On Tue, Jun 5, 2012 at 9:54 PM, Market 0ne-Source.com
<Market@...> wrote:
> Hi Doug,
>
> Thanks for quick reply.
>
> Another detail I couldn't figure out from the documentation :
>
> factor-boot-rc is nowhere to be found.
>
> I attempted to create one in C:\Documents and Settings\username
>
> containing one line :
>
(Continue reading)

Market 0ne-Source.com | 6 Jun 2012 19:25
Favicon

Re: New Factor Explorator

I realize why I come up with those questions :

Listener help,  http://docs.factorcode.org
  seem out of sync

run-bootstrap-init
  Word description

Help -- correct answer

Runs the bootstrap initialization file in the user's home directory, unless
the -no-user-init command line switch was given. This file is named
.factor-boot-rc on Unix and factor-boot-rc on Windows.

factorcode.org

Runs the bootstrap initialization file in the user's home directory, unless
the -no-user-init command line switch was given. This file is named
.factor-boot-rc.

Also

Help search "factor-boot-rc"
  no result

Side note

Listener
End -- Restart
  does not reset
(Continue reading)

H.C. Chen | 15 Jun 2012 04:26
Picon

Why only '"teris" run' works?

I did tried

"teris" run
and enjoyed the game.

Question is why this command line,

factor d:\Learnings\factor\extra\tetris\tetris.factor  <Enter>
or
factor d:\Learnings\factor\extra\tetris\tetris.factor tetris-window <Enter>

doesn't work?

H.C. Chen


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Factor-talk mailing list
Factor-talk@...
https://lists.sourceforge.net/lists/listinfo/factor-talk
Doug Coleman | 15 Jun 2012 06:33
Picon

Re: Why only '"teris" run' works?

Try: factor -run=tetris

On Thu, Jun 14, 2012 at 7:26 PM, H.C. Chen <hcchen5600@...> wrote:
> I did tried
> "teris" run
> and enjoyed the game.
>
> Question is why this command line,
>
> factor d:\Learnings\factor\extra\tetris\tetris.factor  <Enter>
> or
> factor d:\Learnings\factor\extra\tetris\tetris.factor tetris-window <Enter>
>
> doesn't work?
>
> H.C. Chen
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@...
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Grisha Freilikhman | 18 Jun 2012 23:16
Picon

sqlite on linux

Hi,
I have a linux machine with sqlite3 installed on it.
However factor dosn't want to run open-db word.
Is there any special things I should do make it work?

Thanks.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Factor-talk mailing list
Factor-talk@...
https://lists.sourceforge.net/lists/listinfo/factor-talk
John Benediktsson | 18 Jun 2012 23:19
Picon
Gravatar

Re: sqlite on linux

Where is the open-db word defined?


Are you doing something like:

    USE: db.sqlite
    "/path/to/db" <sqlite-db>

Do you have the right 32- or 64-bit library installed to match your machine and Factor?



On Mon, Jun 18, 2012 at 2:16 PM, Grisha Freilikhman <grisha85-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi,
I have a linux machine with sqlite3 installed on it.
However factor dosn't want to run open-db word.
Is there any special things I should do make it work?

Thanks.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Factor-talk mailing list
Factor-talk-5NWGOfrQmnd4wTydcyPnfg@public.gmane.orgceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Factor-talk mailing list
Factor-talk@...
https://lists.sourceforge.net/lists/listinfo/factor-talk
Jon Harper | 18 Jun 2012 23:34
Picon
Gravatar

Re: sqlite on linux

On debian-ish distributions, you need to install the *dev package to use sqlite.
Jon

On Mon, Jun 18, 2012 at 11:19 PM, John Benediktsson <mrjbq7@...> wrote:
> Where is the open-db word defined?
>
> Are you doing something like:
>
>     USE: db.sqlite
>     "/path/to/db" <sqlite-db>
>
> Do you have the right 32- or 64-bit library installed to match your machine
> and Factor?
>
>
>
> On Mon, Jun 18, 2012 at 2:16 PM, Grisha Freilikhman <grisha85@...>
> wrote:
>>
>> Hi,
>> I have a linux machine with sqlite3 installed on it.
>> However factor dosn't want to run open-db word.
>> Is there any special things I should do make it work?
>>
>> Thanks.
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Factor-talk mailing list
>> Factor-talk@...
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@...
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane