Code Monkey home page Code Monkey logo

Comments (6)

maxime-esa avatar maxime-esa commented on August 16, 2024

A range can be more than min and max. For example

MyInt ::= INTEGER (0..255 | (512..1024) | 10)

In V3 the XML backend was only giving Min and Max but that was incomplete.

from asn1scc.

hcorg avatar hcorg commented on August 16, 2024

ok, but multiple ranges look like that:

<CONS>
                  <OR>
                    <OR>
                      <Range>
                        <a>
                          <IntegerValue>0</IntegerValue>
                        </a>
                        <b>
                          <IntegerValue>255</IntegerValue>
                        </b>
                      </Range>
                      <IntegerValue>333</IntegerValue>
                    </OR>
                    <Range>
                      <a>
                        <IntegerValue>512</IntegerValue>
                      </a>
                      <b>
                        <IntegerValue>1024</IntegerValue>
                      </b>
                    </Range>
                  </OR>
                </CONS>

from asn1scc.

maxime-esa avatar maxime-esa commented on August 16, 2024

Ok, then indeed Min/Max for each subrange is probably a better naming.

from asn1scc.

usr3-1415 avatar usr3-1415 commented on August 16, 2024

I would like close this ticket but I do not know if you still wish to proceed with this renaming (i.e. Min/Max) or it will break any existing code.

from asn1scc.

hcorg avatar hcorg commented on August 16, 2024

Fixes in our code will be simple and it will not break any existing software (as it has asn1scc version embedded in itself)

from asn1scc.

usr3-1415 avatar usr3-1415 commented on August 16, 2024

a changed to Min
b changed to Max

from asn1scc.

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.