• Login
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.
  • M
    Mario Lemelin
    last edited by Mario Lemelin Feb 21, 2022, 8:28 PM Feb 21, 2022, 8:27 PM

    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

    P M E 3 Replies Last reply Feb 21, 2022, 9:19 PM Reply Quote 0
    • P
      PeterJones @Mario Lemelin
      last edited by Feb 21, 2022, 9:19 PM

      @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
      • M
        mpheath @Mario Lemelin
        last edited by Feb 22, 2022, 12:56 AM

        @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
        • E
          Ekopalypse @Mario Lemelin
          last edited by Feb 22, 2022, 9:17 AM

          @mario-lemelin

          How about this one?

          S 1 Reply Last reply Aug 26, 2022, 7:21 AM Reply Quote 4
          • S
            Stefan Pofahl @Ekopalypse
            last edited by Aug 26, 2022, 7:21 AM

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

            S 1 Reply Last reply Aug 26, 2022, 7:33 AM Reply Quote 0
            • S
              Stefan Pofahl @Stefan Pofahl
              last edited by Aug 26, 2022, 7:33 AM

              @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.

              E 1 Reply Last reply Aug 26, 2022, 9:40 AM Reply Quote 0
              • E
                Ekopalypse @Stefan Pofahl
                last edited by Ekopalypse Aug 26, 2022, 9:41 AM Aug 26, 2022, 9:40 AM

                @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