Announcement

Collapse
No announcement yet.

System FlowChart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • System FlowChart

    Pictures help me think. Here's my first attempt at a System FlowChart for vb2pb. Please modify and/or comment.

    It's in Word 97-2003 format. I can reproduce it in WordPerfect, OpenOffice, or PDF if that helps.
    Last edited by StanHelton; 20 Jun 2008, 06:27 PM.
    Do not go quiet into that good night,
    ... Rage, rage against the dark.

  • #2
    New Flowchart based on Chris' ideas for RDB

    Both versions of flowchart included in this Word 2003 file.
    Last edited by StanHelton; 22 Jun 2008, 10:11 PM.
    Do not go quiet into that good night,
    ... Rage, rage against the dark.

    Comment


    • #3
      Originally posted by StanHelton View Post
      Both versions of flowchart included in this Word 2003 file.
      Stan, I was about to post my own flowchart when.. guess what?

      One grey area is the lexer/DDmanager, where do you see the functional divide here? I could not see it so left the DD manager out, but there is something to be explored here I think.

      Comment


      • #4
        Originally posted by Chris Holbrook View Post
        Stan, I was about to post my own flowchart when.. guess what?

        One grey area is the lexer/DDmanager, where do you see the functional divide here? I could not see it so left the DD manager out, but there is something to be explored here I think.
        Version 3 of the flowchart. You're right, the manager is redundant. With SQL each module can make it's own calls to the DD. I downloaded Don Dickinson's SQLite PB wrappers -- that may be all we need as far as an actual DD manager.

        It looks to me like the Lexer is getting bigger, too.

        The main module: building a memory image of the target, converting unambiguous code directly, inserting DD objects where the specific language modules have to do a more detailed translation.


        Thinking out loud again:
        Some kind of memory image template will have to be built from DD information. If we assume (for the first release) that the VB source follows the MS recommended coding and comment conventions there should be enough information to guide the translation -- perhaps a message to the user if it's too ambiguous to automate?
        Last edited by StanHelton; 22 Jun 2008, 10:11 PM.
        Do not go quiet into that good night,
        ... Rage, rage against the dark.

        Comment


        • #5
          Originally posted by StanHelton View Post
          Version 3 of the flowchart.
          Looking good!

          Originally posted by StanHelton View Post
          I downloaded Don Dickinson's SQLite PB wrappers
          I have not used those, a) are they current b) are they a straight wrapper for the sqlite3 functions, or a little more? I am using Jose Roca's wrappers which he keeps up to date - I'll post that link in a minute. Don't mind whose we use except that they have to be maintained. SQLite currently at 3.5.9.

          Originally posted by StanHelton View Post
          ... converting unambiguous code directly
          ...in the sense of not converting anything at all? That way the back end (PB writer) does ALL the translation.

          Originally posted by StanHelton View Post
          Some kind of memory image template will have to be built from DD information. If we assume (for the first release) that the VB source follows the MS recommended coding and comment conventions there should be enough information to guide the translation -- perhaps a message to the user if it's too ambiguous to automate?
          Stan, you will have to spell that one out for me, I don't understand.

          BTW sorry about the dll!

          Comment


          • #6
            Originally posted by Chris Holbrook View Post
            ...
            I am using Jose Roca's wrappers which he keeps up to date - I'll post that link in a minute. Don't mind whose we use except that they have to be maintained. SQLite currently at 3.5.9.
            I didn't know Jose had SQLite stuff. Don's stuff is out of date (PB6.1). I vote for Jose's stuff just based on his name and reputation!

            ... in the sense of not converting anything at all? That way the back end (PB writer) does ALL the translation.
            exactly.

            Quote:
            Originally Posted by StanHelton
            Some kind of memory image template will have to be built from DD information. If we assume (for the first release) that the VB source follows the MS recommended coding and comment conventions there should be enough information to guide the translation -- perhaps a message to the user if it's too ambiguous to automate?


            Stan, you will have to spell that one out for me, I don't understand.

            BTW sorry about the dll!
            Not a problem. It's the way my brain works: make it as complex as possible in the first try then take out everything you don't actually need.

            If we're thinking of building the target PB code all in RAM, then a template (or maybe just a good set of rules?) might speed things up -- let the Lexer plug in where it finds exact equivalents and leave spaces where the backend modules can put in everything else.

            I'm trying to figure out in my head how the Lexer passes information to the backend modules.
            Do not go quiet into that good night,
            ... Rage, rage against the dark.

            Comment


            • #7
              whew! everything we talk about gets bigger and bigger.

              Meanwhile, v3.1 of the flowchart. You will notice some pretty big holes. After reading over Chris' technical issues post, I realized the procedures need to be broken down quite a bit more. It won't hurt my feelings if you decide to wait til v4 of the flowchart comes out before you upgrade.

              One more thing, the support cycle for v1 and v2 officially ends tonight at midnight. You will no longer be able to buy retail copies of flowchart-1 or flowchart-2. It is strongly recommended that all registered users upgrade to the newer dotNET, uh..... er.... I mean flowcharts as soon as possible.

              Stan

              *actually there's no v3.1. I'm wrestling with v4 now.
              * oh, and one more thing -- NO apologies to MS for that little joke.
              Do not go quiet into that good night,
              ... Rage, rage against the dark.

              Comment


              • #8
                FlowChart v4 - need feedback

                Need feedback. Would like one of these to be our working guide.
                Last edited by StanHelton; 24 Jun 2008, 03:57 PM.
                Do not go quiet into that good night,
                ... Rage, rage against the dark.

                Comment


                • #9
                  #1 looks cleaner and more straightforward...

                  Comment


                  • #10
                    I thought # 2, not that there was anything that wrong with #1.

                    Rod
                    Rod
                    In some future era, dark matter and dark energy will only be found in Astronomy's Dark Ages.

                    Comment


                    • #11
                      Originally posted by StanHelton View Post
                      Need feedback. Would like one of these to be our working guide.
                      Hi Stan, viewing your .doc with Open Office, looks like all the V2 symbols have fallen in a heap to the bottom of the page. Please could you post or send a pdf?

                      Comment


                      • #12
                        User interface

                        I may have missed any discussion of this, but has one been designed? hinted at?

                        I'm looking at the front end design and we will need the user to tell us the application name, from which source file names will be derived and sent to the lexer, so it could be as simple as putting an application name on the command line, but this has to fan out into a series of filenames. Fred has been posting sets of VB code comprising
                        Code:
                        <applicationname>.frm 
                        <applicationname>.vbw 
                        <applicationname>.vbp
                        are there any others? Do they always share the application name? Fred, you don't appear to process the .wbw (workspace) file, do we need it, or is the information duplicated elsewhere?

                        Comment


                        • #13
                          There was a little about this in the early stages in the following link, but we went off into other issues.

                          http://www.powerbasic.com/support/pb...ad.php?t=37578

                          Very early on I believe it was Elias that mentioned doing this as a command line tool.

                          Can't help on the file requirements.

                          Rod
                          Rod
                          In some future era, dark matter and dark energy will only be found in Astronomy's Dark Ages.

                          Comment


                          • #14
                            Originally posted by Chris Holbrook View Post
                            Hi Stan, viewing your .doc with Open Office, looks like all the V2 symbols have fallen in a heap to the bottom of the page. Please could you post or send a pdf?

                            First let me say, "I hate MS Word 2007!"

                            Here's the PDF. It didn't convert cleanly, but I've cleaned it up so that you can see everything.
                            Last edited by StanHelton; 24 Jun 2008, 03:57 PM.
                            Do not go quiet into that good night,
                            ... Rage, rage against the dark.

                            Comment


                            • #15
                              Thanks Stan, for my money it's porpoised version 2, because as I pointed out earlier, you can't map VB to PB tokens until you know which flavour of PB you are translating to.

                              Comment


                              • #16
                                System FlowChart Final 6/24/2008

                                System FlowChart Final 6/24/2008

                                Stan
                                Do not go quiet into that good night,
                                ... Rage, rage against the dark.

                                Comment


                                • #17
                                  Originally posted by StanHelton View Post
                                  System FlowChart Final 6/24/2008

                                  Stan

                                  Sorry, here's the file in PDF. (That's what happens when I get in a hurry!)

                                  It doesn't want to upload. There's a link on my website welcome page:

                                  Last edited by StanHelton; 24 Jun 2008, 08:09 PM. Reason: Delete link
                                  Do not go quiet into that good night,
                                  ... Rage, rage against the dark.

                                  Comment


                                  • #18
                                    Cant download.

                                    Comment


                                    • #19
                                      Originally posted by Elias Montoya View Post
                                      Cant download.
                                      Try it now.
                                      Stan
                                      Do not go quiet into that good night,
                                      ... Rage, rage against the dark.

                                      Comment


                                      • #20
                                        Stan

                                        I had to change the link to stanhelton.com from stanheltom.com

                                        Worked nifty then.

                                        Thanks for the file viewer, by the way.

                                        Rod
                                        Rod
                                        In some future era, dark matter and dark energy will only be found in Astronomy's Dark Ages.

                                        Comment

                                        Working...
                                        X