Community
    • Login

    Julia Programming Language

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 5 Posters 1.9k 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.
    • Mario LemelinM
      Mario Lemelin
      last edited by Mario Lemelin

      Re: User Defined Language Collection
      I am a beginner at programming with Julia. From articles that I have read so far, it seems that Julia is the future programming language. Since I am using Python, I decide to follow a course online that uses Julia. I don’t know anything about adding UDL in Notebook++. So I am wondering if someone is actually working on that language. I could put some time to help if needed.
      Thank you!
      Mario

      PeterJonesP mpheathM EkopalypseE 3 Replies Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Mario Lemelin
        last edited by

        @mario-lemelin ,

        There is not currently a Julia UDL in the Collection.

        However, it’s not that hard to add the first pass at a UDL: just put the keywords in the various keywords fields with appropriate stylings – grouped in such a way that similar keywords get styled similarly. That’s the bulk of it. Then add in operators. Then maybe define functions or if/elsif/else and similar flow structures for code folding. Then add comments. And you’re pretty much done.

        I am wondering if someone is actually working on that language

        There was a user here who briefly mentioned working on it, but they never came back and shared the results.

        As I already outlined, it’s not that difficult – just fill in a few blanks, et voila.

        And as an aside:

        From articles that I have read so far, it seems that Julia is the future programming language.

        Anyone who tells you “[Programming Language X] is the future programming language” or “[Programming Language Z] is dying/dead” is trying to sell you something (like a subscription to their magazine, or ads on their website). Programming languages have strengths and weaknesses, and there is no “one” programming language of the future. There are dozens of general purpose languages which each have their place and can coexist for a long time to come.

        1 Reply Last reply Reply Quote 2
        • mpheathM
          mpheath @Mario Lemelin
          last edited by

          @mario-lemelin

          A Julia lexer has been added to the Lexilla component in version 5.0.3, which the Scintilla component uses. Once the Notepad++ core development upgrades from Scintilla version 4.4.6 to Scintilla version 5+, then possibly expect the Julia lexer to be available in Notepad++.

          Lexilla History

          1 Reply Last reply Reply Quote 4
          • EkopalypseE
            Ekopalypse @Mario Lemelin
            last edited by

            @mario-lemelin

            How about this one?

            Stefan PofahlS 1 Reply Last reply Reply Quote 4
            • Stefan PofahlS
              Stefan Pofahl @Ekopalypse
              last edited by

              @Ekopalypse Unfortunately it is currently not operational:
              https://github.com/JuliaEditorSupport/julia-NotepadPlusPlus/issues/8

              Stefan PofahlS 1 Reply Last reply Reply Quote 0
              • Stefan PofahlS
                Stefan Pofahl @Stefan Pofahl
                last edited by

                @Stefan-Pofahl Be careful, a save as failed for me, it is better to open the file inside the browser and copy and past it in a new file as xml.

                EkopalypseE 1 Reply Last reply Reply Quote 0
                • EkopalypseE
                  Ekopalypse @Stefan Pofahl
                  last edited by Ekopalypse

                  @Stefan-Pofahl

                  I usually proceed as follows

                  • Clone the repo
                  • open npp and start UDL dialog
                  • use import from the UDL dialog and point to Julia_Notepad++.xml from the cloned repo
                  • restart npp
                  • adjust the colors to my needs

                  2be235c1-8a46-42b3-bbad-037ad32d467f-image.png

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors