Menu

#774 rexxc should indicate the minimum language level required

None
unread
nobody
None
none
1
2021-02-02
2020-03-09
No

This RFE might be necessary only with the change to 5.1.0

It would be beneficial if rexxc could warn the user at tokenising time that he or she is using features from the latest language level that would render the tokenised program unusable on a computer with a lower level.

Example: tokenising with ooRexx 5.1 rexxc should warn if language features introduced with 5.1 renders a tokenised program unusable on ooRexx 5.0

With future releases the language levels that are required for new features should be documented.

Related

Feature Requests: #774

Discussion

  • Jeremy Nicoll

    Jeremy Nicoll - 2020-03-09

    On Mon, 9 Mar 2020, at 07:32, Per Olov Jonsson wrote:

    It would be beneficial if rexxc could warn the user at tokenising time
    that he or she is using features from the latest language level that
    would render the tokenised program unusable on a computer with a lower
    level.

    It's not just tokenised programs that could fall foul of an absence of
    later-developed language features.

    Is there, or will there, be a way for a non-tokenised program to find out
    dynamically what interpreter language level it needs to have present to
    be able to run?

    --
    Jeremy Nicoll - my opinions are my own.

     
    • Rick McGuire

      Rick McGuire - 2020-03-09

      Generally, these will give a syntax error when you attempt to run something
      with a non-supported language feature.

      On Mon, Mar 9, 2020 at 8:31 AM Jeremy C B Nicoll jeremynicoll@users.sourceforge.net wrote:

      On Mon, 9 Mar 2020, at 07:32, Per Olov Jonsson wrote:

      It would be beneficial if rexxc could warn the user at tokenising time
      that he or she is using features from the latest language level that
      would render the tokenised program unusable on a computer with a lower
      level.

      It's not just tokenised programs that could fall foul of an absence of
      later-developed language features.

      Is there, or will there, be a way for a non-tokenised program to find out
      dynamically what interpreter language level it needs to have present to
      be able to run?

      --
      Jeremy Nicoll - my opinions are my own.


      [feature-requests:#774] rexxc should indicate the minimum language
      level required

      Status: unread
      Milestone: 5.0.0
      Created: Mon Mar 09, 2020 07:32 AM UTC by Per Olov Jonsson
      Last Updated: Mon Mar 09, 2020 07:32 AM UTC
      Owner: nobody

      This RFE might be necessary only with the change to 5.1.0

      It would be beneficial if rexxc could warn the user at tokenising time
      that he or she is using features from the latest language level that would
      render the tokenised program unusable on a computer with a lower level.

      Example: tokenising with ooRexx 5.1 rexxc should warn if language
      features introduced with 5.1 renders a tokenised program unusable on ooRexx
      5.0

      With future releases the language levels that are required for new
      features should be documented.


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/oorexx/feature-requests/774/>

      To unsubscribe from further messages, please visit <
      https://sourceforge.net/auth/subscriptions/>

       

      Related

      Feature Requests: #774

  • Erich

    Erich - 2021-02-02
    • Milestone: 5.0.0 --> None
     

Anonymous
Anonymous

Add attachments
Cancel