lucy-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marvin Humphrey (Commented) (JIRA)" <j...@apache.org>
Subject [lucy-issues] [jira] [Commented] (LUCY-202) Bind Clownfish::CFC to Ruby
Date Wed, 21 Dec 2011 22:11:31 GMT

    [ https://issues.apache.org/jira/browse/LUCY-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174455#comment-13174455
] 

Marvin Humphrey commented on LUCY-202:
--------------------------------------

If we can get code like this working, we can process the Lucy
.cfh files:

{noformat}
hierarchy = Clownfish::CFC::Hierarchy.new(
  :source => path_to_core,
  :dest   => "autogen"
)
hierarchy.build
core_binding = Clownfish::CFC::Binding::Core.new(
  :hierarchy => hierarchy
  :dest      => 'autogen',
  :header    => '[autogen warning and ALv2 header here]`'
  :footer    => '', 
)
core_binding.write_all_modified
{noformat}
                
> Bind Clownfish::CFC to Ruby
> ---------------------------
>
>                 Key: LUCY-202
>                 URL: https://issues.apache.org/jira/browse/LUCY-202
>             Project: Lucy
>          Issue Type: New Feature
>          Components: Clownfish
>            Reporter: Marvin Humphrey
>            Assignee: Logan Bell
>
> Now that the bulk of CFC has been ported to C, it is possible to bind it to
> other languages.  We should start with Ruby, by adding a Rakefile at
> trunk/clownfish/ruby/Rakefile which compiles Clownfish::CFC as a Ruby
> extension.  We can then add a task to trunk/ruby/Rakefile which uses that
> extension to process the Lucy .cfh core files.
> Only a handful of CFC routines need interfaces in order to achieve this goal.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message