Navigation

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

    A simple esolang interpreter

    Creation share codes
    5
    72
    5895
    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.
    • L
      LucasJG25 last edited by

      Ok managed to get somewhere. I'll be updating the FUZE4 version of this language by Sunday. The new language will have labels like this:

      ex:

      (5)
      ;Testing keyboard keys
      I0 i L254 C0 J0 P C10 J20 j0

      (20) ;prints End
      I69 P I78 P I68 P

      Whatever number you write in between the (). the code after that label will be written on that line number.

      1 Reply Last reply Reply Quote 1
      • JMM161437
        JMM161437 F last edited by

        genus! that will make it a little more easy to use... so I did look at the code and I'm curious... Are you emulating a computer?... I plan to create a fuze program to simulate electronics where you can edit truce tables and create things based off of discrete logic... got the Idea when playing around with the ATMEGA328-PU micro controller(yes with the arduino bootloader... don't have a programmer fit for it)

        L 1 Reply Last reply Reply Quote 1
        • L
          LucasJG25 @JMM161437 last edited by

          @JMM161437 you have a good eye. Yes i am emulating a computer. Though this computer doesn't actually exist. So it's basically a fantasy console. That's all my studies have been focused on, emulation, compiler design, and reverse engineering software/hardware. Though I'm still a beginner in all three.

          1 Reply Last reply Reply Quote 2
          • JMM161437
            JMM161437 F last edited by

            @LucasJG25 well fantasy or not it's amazing that you implemented such a thing. As for me I have never emulation anything of the sorts but I do understand how the hardward works... instruction register pulls instruction from memory... Instruction decoder coverts that to single the component the data tells it to and puts the result on the bus... I'm sure it's way more complex than that, but that's the fun thing about it is discovering more. not sure if you have seen it but ever heard of the visual 6502... it's a website that emulates the 6502 8-bit processor and has the circuitry with a hex editor and assember for it... if understanding how computing works is your thing you should google it!

            L 1 Reply Last reply Reply Quote 1
            • L
              LucasJG25 @JMM161437 last edited by

              @JMM161437 I actually code in 6502 Assembly. I use a VICE C64 emulator and a Turbo assembler which I use to code with. In fact my first assembler I made was the 6502. I call it a fan made assembler due to it not having all the instructions that the 6502 has.

              As for hardware, everything I learned was from the Nand2Tetris course which you can google up. Plus it's free. If you're interested in building a computer from nothing but a Nand Gate.

              1 Reply Last reply Reply Quote 2
              • JMM161437
                JMM161437 F last edited by

                @LucasJG25 That sounds like a fun thing for me to check out!... as for now all I have is a breadboard and a bunch of transistors... not enough to create a full on computer but I did make an sr latch and that was fun. blew my own mind once I got that working lol. as for vice c64 well... I never owned a real C64 so I never worked with the keyboard to know what was what and which graphic character belonged to which key to even work with the emulator properly... all my knowledge of the c64 came from the 8-bit guy

                L 1 Reply Last reply Reply Quote 1
                • L
                  LucasJG25 @JMM161437 last edited by

                  @JMM161437 Very nice! I'd love to actually build a computer with transisters and breadboards. But, as of right now I'm focused on virtual machines and emulation.

                  Also, if you'd like to know more abou the C64. There's a wiki page dedicated to that. You'll find everything there.

                  1 Reply Last reply Reply Quote 1
                  • L
                    LucasJG25 last edited by LucasJG25

                    Ok so I've done some updates to the FUZE version of the language.

                    UPDATES:
                    I'm not a big fan of how you edit code in this interpreter. I prefer to see all my code. Thanks to Fuze allowing strings to be used on multiple lines you can now edit the esolang code within the text editor provided by Fuze itself.
                    Example:
                    code = "
                    (5) ;test
                    I69 P I78 P I68 P
                    "
                    This will write the esolang code within ROM(5)/line 5.

                    Labels are now usable as shown above.

                    The ':' is no longer needed. You can if you want to but it doesn't change the syntax. So if using ':' helps to make the code more readable then go ahead and use it.

                    The esolang is now updated and is pending.

                    1 Reply Last reply Reply Quote 1
                    • JMM161437
                      JMM161437 F last edited by

                      sweet! thats awesome! I'll definitely download this update!

                      L 1 Reply Last reply Reply Quote 1
                      • L
                        LucasJG25 @JMM161437 last edited by

                        @JMM161437 It will be a lot more easier to edit your code now. Enjoy! :D

                        1 Reply Last reply Reply Quote 1
                        • JMM161437
                          JMM161437 F last edited by

                          :D... have no other reply ideas lol

                          L 1 Reply Last reply Reply Quote 1
                          • L
                            LucasJG25 @JMM161437 last edited by

                            @JMM161437 hehe... No worries. Let me know how the new langauge features hold up when it's live.

                            1 Reply Last reply Reply Quote 1
                            • JMM161437
                              JMM161437 F last edited by

                              @LucasJG25 I will! also if you like I posted a small game share code called Alien Defense if you wanna check it out!... don't mean to advertise off topic lol... not sure if it's live yet

                              L 1 Reply Last reply Reply Quote 1
                              • L
                                LucasJG25 @JMM161437 last edited by

                                @JMM161437 Sure I'll check out your game.

                                1 Reply Last reply Reply Quote 1
                                • JMM161437
                                  JMM161437 F last edited by JMM161437

                                  @LucasJG25 Thanks! maybe I'll make one in this interpreter... one way or another XD

                                  L 1 Reply Last reply Reply Quote 0
                                  • L
                                    LucasJG25 @JMM161437 last edited by

                                    @JMM161437 Looking forward to it! :)

                                    1 Reply Last reply Reply Quote 1
                                    • L
                                      LucasJG25 last edited by

                                      Esolang is now live. Enjoy Y'all! Excited to see all Y'all code written for my esolang.

                                      1 Reply Last reply Reply Quote 1
                                      • JMM161437
                                        JMM161437 F last edited by

                                        Awesome! Thanks for the program!

                                        1 Reply Last reply Reply Quote 1
                                        • L
                                          LucasJG25 last edited by

                                          Ok, So I've updated the BrainF interpreter I tried to write in my esolang. With the new language features aka (labels). This version works a bit better than the first.

                                          You can do simple loops such as (++++[-.]) which will loop 4 times.

                                          Have fun!!

                                          1 Reply Last reply Reply Quote 1
                                          • JMM161437
                                            JMM161437 F last edited by JMM161437

                                            what about infinite loops?
                                            EDIT: oh I thought you ment the esolang XD

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