Comments (7)
In any case I'd like to help any way I can with this. I'd love to see the rust community starting to use strictyaml.
from strictyaml.
it would be nice for it to be a repo
Technically, it already is a repo, just not on github (sr.ht doesn't use pull-requests but the more traditional mailing list and patches workflow). That said, I have set up a second repo here.
About the license, I'm just worried that some things may resemble the YAML spec, which explicitly states:
This document may be freely copied, provided it is not modified.
I don't think including parts of it in another document that doesn't describe itself as the yaml spec would count as modified.
I guess it would really depend on the intent of the document.
from strictyaml.
I've had the exact same thought, yes. I wasn't really sure how to get started with the spec though.
from strictyaml.
I've studied the yaml spec and https://hitchdev.com/strictyaml/ and started working on a draft over on sr.ht. It's not much at all yet (I hope i can work on it a bit this weekend). Contributions are welcome. Are you fine with sending patches to my public inbox or should I setup a mirror on github? (or do you want to create an org? or include it in this repo?) Also, is CC0
a good license for a specification?
from strictyaml.
This looks good so far.
I don't mind where this goes (it can always be moved later), but it would be nice for it to be a repo.
CC0 seems good, yes.
from strictyaml.
it would be nice for it to be a repo
Technically, it already is a repo, just not on github (sr.ht doesn't use pull-requests but the more traditional mailing list and patches workflow). That said, I have set up a second repo here.
About the license, I'm just worried that some things may resemble the YAML spec, which explicitly states:
This document may be freely copied, provided it is not modified.
from strictyaml.
The obstacle I'm facing is that existing formal grammars lack:
- a formal definition (ABNF's definition in ABNF is ambiguous, although there is A Formalization of the ABNF Notation and a Verified Parser for ABNF Grammars, A. Coglio)
- proper Unicode support (see this IETF draft for an attempt to add it to ABNF)
- parameters in rules (they're used in the YAML spec, but they aren't specified anywhere AFAIK)
So, it might be necessary to define a formal grammar, e.g. using leanprover/lean.
from strictyaml.
Related Issues (20)
- Problem loading document with a single string
- Repeated revalidate() raises Invalid state HOT 2
- Failed revalidation leads to inconsistant state
- Fasjo HOT 3
- Website fails to acknowledge that the Norway problem was fixed in YAML 1.2 HOT 2
- strictyaml does not act as "a near-drop in replacement for pyyaml" HOT 4
- The type order of optional arguments affects the results HOT 2
- Date vs Datetime HOT 2
- Support python2.7.18 HOT 2
- 1.7.0 is broken (cannot import name 'ruamel' from partially initialized module 'strictyaml') HOT 5
- Map containing only Optionals does not validate an empty dict HOT 1
- as_document and load have dissimilar results for CommaSeparated(Int())
- Doesn't Work At All For Lists / Arrays? HOT 4
- New lines after comment line causes `NotImplementedError`
- Feature request/Question: "Optionalize" maps HOT 1
- Thoughts regarding case-sensitivity of keys HOT 6
- Why not: non-Turing complete configuration languages
- Cannot iterate on emtpy list
- BUG: MapCombined documentation different traceback
- Feature: strictyaml.scalar.Time
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 strictyaml.