Commit Graph

38 Commits

Author SHA1 Message Date
Sebastien Binet 335cdf609f bind: new-signature, simplify genXYZFunc 2015-07-29 11:41:17 +02:00
Sebastien Binet c311fdd9be bind: generate cgo-setter 2015-07-29 11:38:50 +02:00
Sebastien Binet ce3515391b bind: fix shared buffer bug 2015-07-29 08:42:23 +02:00
Sebastien Binet c8358845a8 bind/printer: impl io.Reader + test 2015-07-29 08:36:45 +02:00
Sebastien Binet 85a8808e45 bind: document Signature 2015-07-28 16:06:34 +02:00
Sebastien Binet 1ca803e2e5 bind: simplify bind.Object interface 2015-07-28 16:03:39 +02:00
Sebastien Binet 643eb176c2 bind: introduce and use new Signature 2015-07-28 16:01:22 +02:00
Sebastien Binet 76f5f7d999 bind/var: introduce new Var 2015-07-28 16:00:18 +02:00
Sebastien Binet a9624ab5da bind/package: add lookup function 2015-07-28 14:41:53 +02:00
Sebastien Binet bbb9499368 bind/types: Obj() -> GoObj() 2015-07-28 14:41:35 +02:00
Sebastien Binet a083052bf6 bind/utils: helper to check wether a func is 'func String() string' 2015-07-28 14:35:59 +02:00
Sebastien Binet 0058490f51 bind: split Type into Type+Object 2015-07-28 14:33:47 +02:00
Sebastien Binet 6c3787c30d bind/types: extend Type interface. rationalize GoType() meaning 2015-07-28 12:38:11 +02:00
Sebastien Binet 8e5e4531bf bind: consolidate bind.{Struct,Func}. impl bind.Type interface 2015-07-28 12:27:15 +02:00
Sebastien Binet 76c536b4e8 bind/types: introduce bind.Type interface 2015-07-28 12:26:33 +02:00
Sebastien Binet f61b769412 all: consolidate Func+Method 2015-07-28 11:47:55 +02:00
Sebastien Binet b7b84b89bc test: hi.Person.String 2015-07-28 10:08:27 +02:00
Sebastien Binet 37a7f18235 test: update 2015-07-28 10:06:20 +02:00
Sebastien Binet e4f3f1d4fd bind/vars: update naming scheme 2015-07-28 10:05:13 +02:00
Sebastien Binet 43f0028eb5 bind: refactor gen{Method,Func}Body 2015-07-28 10:04:36 +02:00
Sebastien Binet 63da525aa1 bind: test hi.Person.Greet + doc(hi.Person.Greet) 2015-07-27 18:57:27 +02:00
Sebastien Binet 3be107f119 bind: introduce Struct, Func and Method
this CL introduces bind.{Struct,Func,Method} types to collect informations
about types.

- rationalize cpython type strings
- generate cgo stub functions, calling structs methods
- generate (invalid) bodyless cpython functions for struct methods
2015-07-27 18:47:18 +02:00
Sebastien Binet f4f8220837 all: tests more of module generation 2015-07-27 18:46:30 +02:00
Sebastien Binet 878510074c test: print docs for funcs+module 2015-07-25 17:35:14 +02:00
Justin Israel 06ec70c37d gencpy: generate and insert function signatures at start of docstring 2015-07-25 09:15:26 +02:00
Sebastien Binet c78e0e1a64 doc: point out we only support python-2 for now 2015-07-24 17:17:18 +02:00
Sebastien Binet 2dcedc58eb all: better clean-up after gopy bind 2015-07-24 16:26:27 +02:00
Sebastien Binet 744ab46aef all: gopy-gen -> gopy 2015-07-24 16:16:31 +02:00
Sebastien Binet 25f3156cdd doc: typo
fix copy-paste from golang/mobile
fix #1
2015-02-16 22:53:36 +01:00
Sebastien Binet efd5dfaa77 py: update codegen 2015-02-02 10:33:22 +01:00
Sebastien Binet 131b1f1f41 gopy-gen: bridge in go/doc.Package 2015-02-02 10:32:52 +01:00
Sebastien Binet 1f1d89a24b py_hi: update codegen 2015-01-31 12:41:14 +01:00
Sebastien Binet 2c8707e5a4 py: more whitespace 2015-01-31 12:08:13 +01:00
Sebastien Binet c440f74559 py: white noise 2015-01-31 11:01:35 +01:00
Sebastien Binet 4144ba4d58 all: add hi.Concat(str1, str2) 2015-01-30 18:44:58 +01:00
Sebastien Binet 0cd946cc9f all: update doc+gen 2015-01-30 18:23:06 +01:00
Sebastien Binet 0d799247e3 all: add example 2015-01-30 18:02:15 +01:00
Sebastien Binet 9d0889d184 gopy-gen: first import 2015-01-30 18:01:15 +01:00