Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 231106

Summary: dev-lang/factor - Add ebuild for factor programming language
Product: Gentoo Linux Reporter: Marko Kocic <marko.kocic>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement CC: kripton, vladimir
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://factorcode.org
Whiteboard:
Package list:
Runtime testing required: ---

Description Marko Kocic 2008-07-07 21:32:47 UTC
Factor is a stack based programming language (Forth style). It has gained some sort of momentum lately. Since source snapshots are released pretty frequently, some sort of dev-lang/factor-git package would be enough until 1.0 is released.

Source is available under git://factorcode.org/git/factor.git repo.

Reproducible: Always
Comment 1 jannis 2008-07-20 20:40:24 UTC
Hmm... sad this is only git-access and no snapshots for download
Maybe I'm gonna try to write a git-ebuild, we'll see ...
Comment 2 sys p 2009-10-04 21:32:12 UTC
(In reply to comment #1)
> Hmm... sad this is only git-access and no snapshots for download
> Maybe I'm gonna try to write a git-ebuild, we'll see ...

Snapshots are available from http://gitweb.factorcode.org/ separately for commits.

Check latest build commit from (ref http://factorcode.org/):
http://builds.factorcode.org/download?os=linux&cpu=x86.32
http://builds.factorcode.org/download?os=linux&cpu=x86.64

Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2013-06-24 06:04:59 UTC
The whole thing looks like a sandbox:
 - you fetch a source ('git clone' or 'wget && tar -x')
 - built bootstrap VM ('make && build-support/factor.sh bootstrap')
 - ready to use ('./factor -i=./factor.image')

As far as I understand you can't easily install it systemwide:

 - factor tries to lookup vocabularies in current directory
   (eases playing and navigation)

   Do you have easy way to install it?

 - binds to current CPU tightly (not a concern for a research project)
   > Checking for multimedia extensions... SSE4.2 detected
   > Loading resource:basis/cpu/x86/sse/sse.factor
   > Building with POPCNT support

Thus we could install:
  - C++ VM systemwide, seems it does not make much sense
  - C++ VM + compiler (aka boot.image), better,
    but due to language instability has limited use as well.
  - everything, needs an easy way to install the thing

If you still need an ebuild I'll try to make something.