Comments (4)
This has improved somewhat, though without better coverage of conversions between Clojure and Go types, it's a moot issue. The latest stats (on amd64-linux) are:
Totals: functions=7132 methods=5623 (78.84%) standalone=1509 (21.16%) generated=667 (44.20%)
types=962 generated=344 (35.76%)
from joker.
Note that most of the "obstacles", listed in the original issue comment, are no longer issues due mainly to the introduction of Go objects manipulable via Clojure code:
- Non-trivlal-typed arguments and results (or among results) are now Go objects.
- Imports are now processed (interpreted and generated) more consistently with how Go itself handles them
- Star types have better support
- Mutual type references should be less of an issue (if one at all) now that constructors are per-type and defer populating pointers to other types to those types' constructors, without needing to recurse on the information on those types' underlying types
A major TBD is handling methods (receivers) properly.
from joker.
Much progress has been made. Here are the latest stats.
For amd64-darwin
:
Totals: functions=3450 generated=2086 (60.46%)
non-receivers=1487 (43.10%) generated=724 (48.69%)
receivers=1963 (56.90%) generated=1362 (69.38%)
types=959 generated=430 (44.84%)
constants=3917 generated=3755 (95.86%)
variables=413 generated=413 (100.00%)
For amd64-linux
:
Totals: functions=3491 generated=2112 (60.50%)
non-receivers=1526 (43.71%) generated=749 (49.08%)
receivers=1965 (56.29%) generated=1363 (69.36%)
types=966 generated=442 (45.76%)
constants=4149 generated=3958 (95.40%)
variables=413 generated=413 (100.00%)
For amd64-windows
(out of date; to be updated soon):
Totals: functions=7074 methods=5562 (78.63%) standalone=1512 (21.37%) generated=627 (41.47%)
types=973 generated=341 (35.05%)
from joker.
Fixed (sufficiently) by https://github.com/jcburley/joker/releases/tag/gostd-v0.9.
from joker.
Related Issues (20)
- Pointer (Star) Types Not Fully Supported HOT 6
- Imports Not Respected HOT 1
- Too Much Code Generated HOT 1
- Constructor Diagnostics Need Improvement
- Constructor Docstrings Rather Paltry
- Replace gotypes.go with types/types.go HOT 4
- Handle All Build Targets At Once
- Support (deref ...) of a GoObject Wrapping a Pointer HOT 1
- Support Dot (.) Special Form HOT 1
- Support (new) Special Form HOT 3
- Support (goobject? ...) Predicate HOT 1
- Wrap Methods (aka Receivers) HOT 2
- Support Conversion of Go Objects to Clojure Representation HOT 1
- Improve GoVar[] Type Names
- doc link HOT 3
- Test Suite Intermittently Hangs on OS X (Darwin)
- quickstart HOT 2
- net example: key must be integer HOT 4
- Concrete Types Do Not Support Invocation of Embedded Interface Receivers HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joker.