Community
    • Login

    Backus-Naur Form

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    bnfsyntaxis
    3 Posts 2 Posters 3.3k Views
    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
      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
        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
          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors