Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Is anyone interested in a QT based Maths Parser Class

Is anyone interested in a QT based Maths Parser Class

Scheduled Pinned Locked Moved Unsolved Brainstorm
5 Posts 3 Posters 439 Views
  • 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.
  • A Offline
    A Offline
    AlanHadley
    wrote on 1 Nov 2024, 08:17 last edited by
    #1

    I am developing an Expression parser class, so far it can do simple arithmetic, rearrange equations into a standard form, and I have almost finished single variable Differentiation. There is a core parser class which calls callback functions that you register with it. I have so far done a class that implements the standard C++ maths functions. And almost finished simple Differentiation. You input a QString, the output is in various forms. If there is interest where is the best place to distribute the code, it'll be PD.

    S 1 Reply Last reply 1 Nov 2024, 14:53
    0
    • A AlanHadley
      1 Nov 2024, 08:17

      I am developing an Expression parser class, so far it can do simple arithmetic, rearrange equations into a standard form, and I have almost finished single variable Differentiation. There is a core parser class which calls callback functions that you register with it. I have so far done a class that implements the standard C++ maths functions. And almost finished simple Differentiation. You input a QString, the output is in various forms. If there is interest where is the best place to distribute the code, it'll be PD.

      S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 1 Nov 2024, 14:53 last edited by
      #2

      @AlanHadley said in Is anyone interested in a QT based Maths Parser Class:

      If there is interest where is the best place to distribute the code, it'll be PD.

      GitHub is pretty much the standard place for code sharing.

      (Z(:^

      1 Reply Last reply
      1
      • S Offline
        S Offline
        SimonSchroeder
        wrote on 6 Nov 2024, 08:13 last edited by
        #3

        And GitHub is also free for this purpose. You can just register an account. With the free account you can have private repositories where only you have access or public repositories where everybody has access (i.e. you only have to pay if you want to work on private repositories together with others).

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AlanHadley
          wrote on 12 Nov 2024, 21:03 last edited by
          #4

          Thank's I'll look into it as soon as it is stable enough, with some examples. It is very open ended
          with plenty of facilities to create your own operators and functions etc. Yet the basic usage is simple, I am just developing a console app with the minimum of demo functions.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SimonSchroeder
            wrote on 14 Nov 2024, 07:43 last edited by
            #5

            It is always good to have version control right from the start (Git even works locally and can push the full history later). You should start right away to use GitHub. At first, make the repository private for you to work on and once it is stable, make it public.

            1 Reply Last reply
            0

            5/5

            14 Nov 2024, 07:43

            • Login

            • Login or register to search.
            5 out of 5
            • First post
              5/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved