lucy-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [lucy-issues] [jira] [Commented] (CLOWNFISH-28) Proof-of-concept Go bindings
Date Mon, 06 Apr 2015 16:22:12 GMT

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

ASF GitHub Bot commented on CLOWNFISH-28:
-----------------------------------------

GitHub user rectang opened a pull request:

    https://github.com/apache/lucy-clownfish/pull/7

    CLOWNFISH-28 proof-of-concept Go bindings: take 2b

    This is identical to the pull request for "take 2", except that it omits two commits and
is rebased on top of the current master.
    
    See CLOWNFISH-28.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rectang/lucy-clownfish CLOWNFISH-28-POC-Go-take2b

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucy-clownfish/pull/7.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #7
    
----
commit fcf9dcfb0c746262c0e62e9d0e47a862d1268d74
Author: Marvin Humphrey <marvin@rectangular.com>
Date:   2014-12-04T04:56:52Z

    Add CFC module for Go/C type mapping.

commit fbd9d5425720ee4ad270f065e034c6f5d039f698
Author: Marvin Humphrey <marvin@rectangular.com>
Date:   2015-03-15T17:42:55Z

    Expose Parcel fetching from Go.

commit b2cc905f63f4f4d71e57315e86632b76552870f1
Author: Marvin Humphrey <marvin@rectangular.com>
Date:   2015-03-15T17:46:26Z

    Stub out module for Go bindings.

commit c123bbf177b0d3c3d139605ce893d71cb36cda88
Author: Marvin Humphrey <marvin@rectangular.com>
Date:   2015-03-17T04:15:33Z

    Write Go-specific hostdefs rather than reuse C.

commit cbd99b0b5ba8b1ef57d82ce940ffd9e041ea3eee
Author: Marvin Humphrey <marvin@rectangular.com>
Date:   2015-03-28T22:12:19Z

    Change interface/struct Go model.
    
    Instead of mapping abstract classes to Go interfaces and concrete classes
    to Go structs, create one Go interface and one Go struct for each
    class.

commit 128a2eaf75b94374656bab93c139f3ca83981721
Author: Marvin Humphrey <marvin@rectangular.com>
Date:   2015-03-28T23:22:31Z

    Change ToPtr() to return `uintptr`.
    
    Avoid returning `unsafe.Pointer`, so that Go modules which use
    Clownfish-powered Go modules must import `unsafe` if they are to perform
    any unsafe operations.

commit 3a682749620f3aed1507ce809d60aba71b8d0903
Author: Marvin Humphrey <marvin@rectangular.com>
Date:   2015-03-23T14:34:46Z

    No host subclassing under Go for now.

commit 004de889692f06f69828dc0e8e04bfc1e0b0a849
Author: Marvin Humphrey <marvin@rectangular.com>
Date:   2015-04-04T23:48:56Z

    Rename ToPtr to TOPTR.
    
    Using all caps avoids a potential conflict with Clownfish user-defined
    method named `To_Ptr` -- though the unlikely `TO_PTR` would still cause
    a conflict.

----


> Proof-of-concept Go bindings
> ----------------------------
>
>                 Key: CLOWNFISH-28
>                 URL: https://issues.apache.org/jira/browse/CLOWNFISH-28
>             Project: Apache Lucy-Clownfish
>          Issue Type: New Feature
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>
> Use mostly hand-rolled glue code for binding Go to limited portions of the Clownfish
runtime.  A more extensible code-generation approach can follow later, but the early version
helps to flesh out the design.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message