Comments (5)
Cool! đ
There are 3 milestones for adding a new language. First, we need a ./dart/gen.dart
implementation with ./dart/gen_test.dart
and friends. Once set, ./dart/gen.dart
must be generated with a ./dart.go
addition. At some point we do need a ./dart/bench
too.
Each language uses the same structure for testing. The tests all use the same golden cases.
from colfer.
Currently I'm working on the time part, and I'm not sure about it. Dart has a microsecond precision time format: https://api.dart.dev/stable/2.12.3/dart-core/DateTime-class.html
For me it doesn't look necessary to add the missing 10bit information into a 64 bit dart int. Maybe with a cli flag to force add that field?
What do you think?
from colfer.
Feel free to drop the precision. đ No need for rounding either. We can always add a flag later for those who need the precision. It would be nice if you could mention the loss in the README.md table.
from colfer.
Whoah, you pulled through @vendelin8. đ Not an easy task. Things look good too.
I'll try to familiarise somewhat with Dart a bit this weekend.
You seem to have some uncertainties/doubts, and Dart is completely new to me. Maybe we should release early (like this weekend) and advocate the API as experimental/unstable?
from colfer.
Colfer will not support this language.
from colfer.
Related Issues (20)
- not real problem. HOT 2
- Document limitation: Only 126 fields, ever, no removing HOT 7
- Backwards compatibility with version 1
- Suggestion: Continuous Fuzzing HOT 1
- [Feature request] publish colfer JS to npmjs.com HOT 2
- Will colfer support uint32/uint64 list in the future? HOT 1
- Suggestion:add the -o parameter and specify the output file name. HOT 3
- BufferOverflowException in writeObject HOT 8
- Document uint16 better. HOT 6
- Document UTF-8 Conversion in Spec + Simplify marshall/unmarshall Implementations. HOT 9
- Option to not output go struct definitions HOT 6
- Define Null-able types in some languages HOT 4
- Generated code doesn't compile with "illegal start of expression" HOT 1
- about compatibility, can you support adding a new field into the middle structure in the stream ? HOT 3
- colf for windows - stack exceeded HOT 1
- Big Decimal Support HOT 6
- Empty structs generates invalid Go code HOT 4
- Generate schema from Kotlin code HOT 4
- Bit Field Handling HOT 11
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 colfer.