Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    The first look of the interpretor

    Work In Progress
    9
    79
    15479
    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.
    • P
      petermeisenstein F last edited by

      If there are any problems please contact me

      1 Reply Last reply Reply Quote 0
      • P
        petermeisenstein F last edited by

        Later I will maybe implement raw_input so that you guys have an input available.I think this will be very easy and i think its possible with getkeyboardbuffer

        1 Reply Last reply Reply Quote 0
        • P
          petermeisenstein F last edited by petermeisenstein

          So guys today I added some Exceptions.
          I didnt implemt raw_input but this is a feature what will come definitely.
          I also recognized that in the moment we have more a python console.
          What also will come very soon is if you type in 1+2 you will get 3.
          Programm is shared but its on pending.
          EQWWXnzUwAASu74.jpg

          1 Reply Last reply Reply Quote 0
          • P
            petermeisenstein F last edited by

            Code for Download is NXE269QD9Q

            1 Reply Last reply Reply Quote 0
            • P
              petermeisenstein F last edited by

              Now the new version is online enjoy it

              1 Reply Last reply Reply Quote 0
              • P
                petermeisenstein F last edited by petermeisenstein

                BREAKING NEWS: i implemented a very easy calculator but now you can calculate on one line it works but only for little numbers EQWvIMkU4AAMbSa.jpg EQWvEZQU4AAGkqQ.jpg

                1 Reply Last reply Reply Quote 0
                • P
                  petermeisenstein F last edited by

                  Programm is on pending now

                  1 Reply Last reply Reply Quote 0
                  • P
                    petermeisenstein F last edited by

                    Now the new version is Live Check it out with code NXE269QD9Q.
                    Type for exampe in 1+1 and you will get 2.
                    Its very primitive and not as good as the stuff we saw yesterday from mario bodemann

                    1 Reply Last reply Reply Quote 0
                    • P
                      petermeisenstein F last edited by

                      You maybe ask your self way there are no if statements currently available on the interpretor.The Problem is because of my skills in building lexers.
                      at next there will be at first a print function.But maybe some other stuff.I cant promise anything but i try to make every day a new update for it

                      1 Reply Last reply Reply Quote 0
                      • Dave
                        Dave Fuze Team last edited by Dave

                        While this project is in no way my area of experience, from looking at your program it seems you could really use a function to handle the printing commands.

                        print(things)
                        update()
                        sleep(5)
                        clear()
                        

                        These four lines could be a user-defined function, which you could pass things to print:

                        function consolePrint(value, delay)
                            print(value)
                            update()
                            sleep(delay)
                            clear()
                        return void
                        

                        Then you could replace all of those 4 lines inside your if statements with the function. For example:

                        if console == "NameError" then
                            consolePrint("<type 'exceptions.NameError'>", 5)
                        endif
                        

                        This might clean up your program somewhat, it would certainly shorten it a fair bit!

                        P 1 Reply Last reply Reply Quote 1
                        • P
                          petermeisenstein F last edited by

                          Thanks for the idea

                          1 Reply Last reply Reply Quote 0
                          • P
                            petermeisenstein F @Dave last edited by

                            @Dave Who is the guy who always checks my code or is this done by an algorithm

                            1 Reply Last reply Reply Quote 0
                            • Martin
                              Martin Fuze Team last edited by

                              If you mean when you submit it, then all of us. There is no AI involved (although my family swear I'm a computer!) But we're not checking that it is correct, or works, or any of those things, that's not the point of the approval process. The point is to do our best to ensure that there is no malicious code, innapropriate code, etc. But I've already explained that to you in another thread.

                              P 1 Reply Last reply Reply Quote 0
                              • P
                                petermeisenstein F @Martin last edited by

                                @Martin Thanks martin.I will never will hide bad stuff in my code

                                1 Reply Last reply Reply Quote 0
                                • P
                                  petermeisenstein F last edited by petermeisenstein

                                  So hi guys quick update.My plan today was to give you the possibility to use a very easy variable unfortunately this wasnt implemented so i implemented some exceptionsEQbwPeBUYBUfSlU.jpg

                                  Its on pendin Now

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    petermeisenstein F last edited by petermeisenstein

                                    Maybe tomorrow you will get the oportunity to use a simple variable what is "a" and to give it a value between 0 and 9 and you will be able to print it out.Thats definitly a feature what will come soon.Quick Update on if statements.Maybe You ask yourself when they will added.They will defnitly added but i think not so soon.But I am developing with highspeed to give you guys every day some new features.Hope you enjoy David.So the name of the variable will be a

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      petermeisenstein F last edited by

                                      New version is live.But i will make a new today

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        petermeisenstein F last edited by petermeisenstein

                                        New Big Feature added: as I mentioned some times i will add a simple variable this was made this evening.You can use a=1 for example and then you can do print(a)
                                        I know this is very simple but its a beginning.At next you will get the possibility for print.So maybe i cant promise anything. Here is the actual code.EQhIubjU8AEYtAC.jpg

                                        EQhJ0gfUYAEISds (1).jpg

                                        Programm is on pending now

                                        1 Reply Last reply Reply Quote 1
                                        • P
                                          petermeisenstein F last edited by petermeisenstein

                                          Tell me how you think about

                                          This will used as a changelog:

                                          dates will be in german format

                                          12.02.2020 update from yesterday is now live.
                                          12.02.2020
                                          -Started with the implementation of a raise statement.
                                          -Added some new excaptions.

                                          Programm is now on pending.
                                          Programm is now live

                                          27.04.2020
                                          Added pow() function
                                          you can do pow(2,2)
                                          programm is on pending now
                                          2.5.2020
                                          Programm should be live now.

                                          What I am currently working on: 2.5.2020

                                          Statements
                                          I added If and a simple for loop
                                          I added also while true
                                          Made a good print function also

                                          Programm is currently not shared

                                          3.5.2020
                                          I am thinking about adding variables

                                          4.5.2020

                                          I found a way to implemt variables its oke for the moment but not for ever

                                          9.5.2020 new version is live now
                                          Post to the new update will probably come next month

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            petermeisenstein F last edited by petermeisenstein

                                            To all who supported this project i want to say thank you. I will keep doing this but not like at the last time. I wont repost thousand of times to my own posts.
                                            Who of you guys is very interested in this can find here a changelog. Maybe I will post one time per month something you. Bot i dont want to bother the entire community with this. You can also send me a msg if you have anything to say . Then something about updates. At the moment i am trying to implement some statements. Updates will come but not as fast as in the last time. I want to say thanks to everyone who is supporting this project. In the mean time you can enjoy the other fantastic projects here in the community. I will also post sometimes some stuff on twitter.

                                            1 Reply Last reply Reply Quote 3
                                            • First post
                                              Last post