Giter Site home page Giter Site logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024
Proposal: Make a new option --yang-pretty-strings, symmetrical to 
--yin-pretty-strings.

Original comment by [email protected] on 25 Jun 2010 at 1:19

from pyang.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024
I think the pretty strings need to be handled at input time, i.e. in 
yin_parser.  So it would be better to add an option to read pretty yin strings. 
 Feel free to help out with this :)

Original comment by [email protected] on 28 Jun 2010 at 7:32

from pyang.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024
The point is that a pretty-printed string is different for YANG and YIN, so 
when typing in YIN, the strings are indented to look reasonably as a multiline 
text of an XML element whereas in YANG the indentation is different.

My problem is that I prefer to input YIN using nxml-mode but when publishing 
such modules it is generally better to use the YANG syntax. Currently the only 
option is to reformat descriptions etc. manually. 

Original comment by [email protected] on 1 Jul 2010 at 1:41

from pyang.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024
I think this one should be closed?

Original comment by [email protected] on 30 Aug 2010 at 7:26

from pyang.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024
A new pyang command-line option "--trim-yin" was added that does this 
whitespace trimming in the argument of 'contact', 'description', 
'error-message', 'organization', and 'reference'. Closing the issue.

Original comment by [email protected] on 31 Aug 2010 at 8:54

  • Changed state: Fixed

from pyang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.