Community
    • Login

    Backus-Naur Form

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    bnfsyntaxis
    3 Posts 2 Posters 3.7k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Arjan WiskerkeA Offline
      Arjan Wiskerke
      last edited by Arjan Wiskerke

      Dear All,

      I am very surprised that the syntaxis list has no BNF option. After all this is the mother of all syntaxis. I wanted to printout the syntax of Python which is 3 pages long. This is for me the only use but I think it is something that should be there for completeness and because it is the starting point of any programming language. Is somebody working on it? Maybe it is available as plug in.
      \

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Arjan Wiskerke
        last edited by

        @Arjan-Wiskerke

        shouldn’t be too hard to create a UDL for it.
        Afair BNF has only <> | and ::= operators.
        <> used to enclose variables
        | for alternation and
        ::= for assignment
        Correct?

        So, if you run user defined language, put those chars into the operator field, select a color - done.

        Or did I misunderstand your question?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 2
        • Arjan WiskerkeA Offline
          Arjan Wiskerke
          last edited by

          That is correct.
          I thought it ought to be on the standard syntaxis list. But that would be more like a argument of aesthetics. I don’t think it is going to be used very often.

          I appreciate your response , Sorry for my late reaction, I seldom come to this forum.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors