Comments (8)
@ARessegetesStery
OK. I'm looking forward to the fruits.
Feel free to ask anything.
There are a lot of templates along the way to the conversions, so it may be hard to understand.
whether it is possible to read
someint: 1
with a float in c++. I guess this will make the library easier to use.
I like it. Reasonable and intuitive.
It's also close to the way primitives are handled in C++.
from fkyaml.
@ARessegetesStery
Thanks for the updates and sorry for your computer...
And no worries. I just wanted to help if you were being stucked somewhere due to this library.
So anyway, take your time!
there's no need to wait for my updates
Thanks for your concern, but honestly I just couldn't spare enough time for this project lol
from fkyaml.
@ARessegetesStery
Thanks for filing a issue.
I'll share what I've found while reproducing the issue.
Regarding the underflow check for floating point values, I've found a bug where the implementation mistakenly call std::min(), not std::lowest(), to get the minimum possible value of a target type.
So getting floating point values equal to/less than 0 will emit the same error.
from fkyaml.
@fktn-k Thanks for sharing the fix! I haven't looked into the source code and jumped to the conclusion lol.
from fkyaml.
@ARessegetesStery
Oh I stole the fun part, sorry. LOL
Actually, I couldn't have time to even reproduce the ingeter version of the bug.
I see you forked this repository, are you trying to fix it?
If so, that's very welcome.
from fkyaml.
@fktn-k Oh thanks for explaining - Glad to see your insights on the problem :)
Yeah I am planning to spend some time this weekend test this thoroughly and see if I can figure out a fix.
Also I am trying to see if this can be made more compatible, for example whether it is possible to read
someint: 1
with a float
in c++. I guess this will make the library easier to use.
from fkyaml.
@ARessegetesStery
How does the investigation goes?
Maybe it's too complicated to handle in a single PR.
If so, we can separate the issue into a bugfix and improvements.
Like first just fixing the bug in conversions, and then adding improvements like you mentioned above.
from fkyaml.
@fktn-k
Sorry for the slow progresses - my computer somewhat broke last week and the new one is right on the way. Things should become much smoother after that.
Yep indeed I have opened issues for all features, separately, on my forked repo. If you want, I can also copy them here. For each fix I will open a separate pull request for clarity.
Also since github now has auto-sync functionalities for forked branches there's no need to wait for my updates to push your other commits to the main branch. I can sync the progress (and merge them if necessary) within a couple of clicks :)
from fkyaml.
Related Issues (20)
- change integer scalar data type to int64_t only
- add more documents
- Misc Parse Errors HOT 7
- Parse errors on strings containing a single quote HOT 6
- Output stream conversion of nodes lacks quoting/escape of string values HOT 5
- The result of parsing UTF-16 encoded input lacks the last character HOT 1
- Cannot parse string which consists of numbers and multiple dots HOT 1
- Tutorial case HOT 9
- Comment crashes parser HOT 4
- Flow sequence and comma tokens in keys cause incorrect parse results HOT 4
- Incorrect parse result from plain scalars starting with special values HOT 1
- Crash due to comments right after sequence block keys
- Flow-style mapping values cause incorrect parse results HOT 3
- Mapping entries split across newlines cause incorrect parse results HOT 3
- Embedded flow indicators in plain unquoted scalar values cause incorrect parse results HOT 1
- Parse error on an alias node key
- Parse error HOT 6
- too few template aruments HOT 5
- handle line advancement when parsing AnchorPrefix and TagPrefix 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 fkyaml.