gopy/_examples
Sebastien Binet 90f5fcd36e gopy: load from export data, not source
This CL, inspired from https://golang.org/cl/16911, drops the use of
`x/tools/go/loader` (importing from sources) and replaces it with the stdlib
`go/importer`, working off the (binary) exported data under
$GOPATH/pkg/pkgname.a.

This allows us:
- to rely completely on the stdlib-1.5,
- to support cgo-based packages (which are not supported by `x/tools/go/loader`)

Fixes #28
Fixes #36
Fixes #68
Fixes #70

Change-Id: I0321645dfeec8738687a675a7e80283053c89123
2015-11-16 13:37:00 +01:00
..
cgo gopy: load from export data, not source 2015-11-16 13:37:00 +01:00
consts bind: test typed constants and typenamed vars 2015-08-12 11:25:23 +02:00
cpkg examples/cpkg: fix c-compilation warning 2015-08-11 21:12:19 +02:00
empty bind: test for empty packages 2015-08-10 16:32:31 +02:00
funcs bind: test for tp_call 2015-08-10 15:28:26 +02:00
hi bind: test type-check for struct-setters 2015-08-10 19:23:16 +02:00
iface bind: add test script for interfaces 2015-08-14 13:31:28 +02:00
maps all: gofmt 2015-09-08 08:51:35 +02:00
named bind: dont wrap unexported methods 2015-08-31 18:12:07 +02:00
pointers bind: first stab at a gopy object model 2015-08-14 13:04:35 +02:00
seqs bind: test for sq_inplace_concat 2015-08-12 19:07:09 +02:00
simple gopy: add simple Add func to 'simple' test package 2015-09-08 12:43:10 +02:00
structs gopy: casting struct arguments to method calls 2015-09-08 08:47:38 +02:00
vars bind: test typed constants and typenamed vars 2015-08-12 11:25:23 +02:00
wrapper all: gofmt 2015-09-08 08:51:35 +02:00