Comments (3)
JFYI, I can't reopen issues.
from cats-parse.
Parsing the full yaml is notoriously hard. This is a parser combinator library that helps you write parsers, but there are few parsers (see the Number object that does some parsers... we would accept PRs for more examples).
What I have heard is that all the yaml parsing libraries are basically line-by-line ports of the original ruby parser since it is so complex with so many corner cases.
Re-open if you have more questions or comments.
from cats-parse.
@johnynek I agree that full YAML specification is a bit insane, but maybe a limited demo parser for indented format could be suitable for YAML subsets that could be immediately useful for the projects like like Kaitai Struct (kaitai-io/kaitai_struct#519 (comment)) ?
from cats-parse.
Related Issues (20)
- A parser string interpolator
- Backtracking with context HOT 1
- Rep same char as surrounded by HOT 5
- idea for safe repetition on Parser0
- RadixNode and stringIn are a bit slow
- Is it possible to support Scala Native? HOT 6
- alternate design for voiding
- use java.util.BitSet on scalajs
- `p1.? ~ p2` != `(p1 ~ p2) | p2` for error reporting purposes HOT 9
- Remove isScalaJs/isScalaJvm on minor version update
- identifier parser HOT 2
- flakey test: X cats.parse.ParserTest.a.flatMap(b) composes as expected parser00
- add json string parsing
- add a withString combinator
- Should `Parser` have a typeclass? HOT 2
- set up github CI to run benchmarks on release
- investigate scalacheck failure 20230625T112756
- Link errors when crossbuilding for scalaJS or scalaNative HOT 3
- Recursion with `Parser0` HOT 2
- investigate scalacheck failure 20231113
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 cats-parse.