Randall C. O'Reilly
|
9e491ab3da
|
most of PR review comments addressed -- few more to tackle tmrw. haven't changed import paths yet b/c still working out of my dir -- will do that as a last step.
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
e381500a36
|
verified building on py2 and most tests work except for a few minor diffs in output -- calling it good enough for now.
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
ad11d2281e
|
tried to support method callbacks but couldn't get it to work outside of small test case.. not sure what the issues are. updated readme
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
1787e368e5
|
put all externals in go.py module for efficiency; added slice, map methods; most of GoGi now working.
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
1276af3ee0
|
more consistent use of isPyCompat methods, getting more of gi working with pyPkgId fixes.
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
3f14cf967f
|
swap order of embedded structs so python always sees parent before child. use Embed method on all struct method calls to get proper virtual function calling.
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
d8e2df870b
|
nearly working on gi -- many more edge cases etc fixed -- needs go imports pass..
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
c4787d0cb8
|
added maps, arrays, and fixed some handle issues. only callback methods missing now!
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
ae71a5b83f
|
global "go" package with standard Slice types and the go.GoClass and go.nil. all working for emergent/leabra python script.
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
cf18fcbf00
|
major reorg to support multi-packages in one .so all working -- emergent mostly working.
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
42a57a9826
|
major cleanup: id is now always used as identifier -- replaces pyname -- computed simply. everything always scoped by pkg name in prep for integrated multi-package output.
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
60a01ab038
|
after much experimentation, realized no way around limits of var handle registry being diff for each .so compiled library: need to now make mega-libraries.
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
d8e3ff78f9
|
added pkg command, does full recursive generate for entire package -- figured out how to navigate python packages finally..
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
f9eb65ceb9
|
few more tweaks: leabra/leabra and leabra/deep now working
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
849847c8d4
|
major progress -- handling most things in emer now except emer itself..
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
3c4cffd8dd
|
almost clean on etensor -- failing on *[]float64 not recognized as pointer type..
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
24e505f408
|
basic mechanics of multi-package working -- need to be able to import multiple packages easily in python -- look into install etc
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
5aa404702f
|
more progress on slices, basic named types
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
89231ef2da
|
start on slices; use GoHandle and CGoHandle types for all handles -- and now can switch to int64 instead of string keys as py wrapper makes string less important.
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
e1b8e53da3
|
cleanup, start on slices etc.
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
d81b4710eb
|
generalized handle code beyond pointer -- working for full structs -- always need to convert back and forth to / from pointer for handle
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
e85863e9ea
|
fully functional for go pointers to structs
|
2019-08-24 10:31:16 +02:00 |
Randall C. O'Reilly
|
8d44f401d4
|
py wrapper that puts methods in a class all in place now, and makefile working. build side is good.
|
2019-08-24 10:31:16 +02:00 |