Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Create a new programming language?

Create a new programming language?

Scheduled Pinned Locked Moved The Lounge
game-devtutorialquestion
79 Posts 33 Posters 0 Views 1 Watching
  • 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.
  • B Offline
    B Offline
    Brandon X12000
    wrote on last edited by
    #1

    Is there a way to create a programming language without using an existing programming language? or to create it from scratch or create it in machine/binary code or assembly code? Also some other questions that are optional that you may answer: - Is there a way for a programming language to be "all-purpose"? (for example this programming language can be used to make games, models, simple applications (like calculators) or anything and EVERYTHING you can imagine) - Is there a way for a programming language to be "self-sustained"? (for example you don't need more than one language like "Lua" to run a massive game like "World of Warcraft" or "Command and Conquer" or any of those games out there or this language does not need support of any kind to run) Any answers will be fully-appreciated. :) Regards, Brandon Proud Member of "The Code Project"

    R N L C P 27 Replies Last reply
    0
    • B Brandon X12000

      Is there a way to create a programming language without using an existing programming language? or to create it from scratch or create it in machine/binary code or assembly code? Also some other questions that are optional that you may answer: - Is there a way for a programming language to be "all-purpose"? (for example this programming language can be used to make games, models, simple applications (like calculators) or anything and EVERYTHING you can imagine) - Is there a way for a programming language to be "self-sustained"? (for example you don't need more than one language like "Lua" to run a massive game like "World of Warcraft" or "Command and Conquer" or any of those games out there or this language does not need support of any kind to run) Any answers will be fully-appreciated. :) Regards, Brandon Proud Member of "The Code Project"

      R Offline
      R Offline
      R Giskard Reventlov
      wrote on last edited by
      #2

      1: DON'T ask programming questions. 2: We don't do homework. 3: see 1.

      "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

      N B F 3 Replies Last reply
      0
      • R R Giskard Reventlov

        1: DON'T ask programming questions. 2: We don't do homework. 3: see 1.

        "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

        N Offline
        N Offline
        Nagy Vilmos
        wrote on last edited by
        #3

        Mark, I suggested here as it's not a programming question per se, but a theory question. I believe that, even though it has some homeworkiness about it, it's not too bad a subject.


        Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

        L R 2 Replies Last reply
        0
        • R R Giskard Reventlov

          1: DON'T ask programming questions. 2: We don't do homework. 3: see 1.

          "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

          B Offline
          B Offline
          Brandon X12000
          wrote on last edited by
          #4

          Thanks...Nagy Vilmos a member suggested that I posted it here.

          R 1 Reply Last reply
          0
          • B Brandon X12000

            Is there a way to create a programming language without using an existing programming language? or to create it from scratch or create it in machine/binary code or assembly code? Also some other questions that are optional that you may answer: - Is there a way for a programming language to be "all-purpose"? (for example this programming language can be used to make games, models, simple applications (like calculators) or anything and EVERYTHING you can imagine) - Is there a way for a programming language to be "self-sustained"? (for example you don't need more than one language like "Lua" to run a massive game like "World of Warcraft" or "Command and Conquer" or any of those games out there or this language does not need support of any kind to run) Any answers will be fully-appreciated. :) Regards, Brandon Proud Member of "The Code Project"

            N Offline
            N Offline
            Nagy Vilmos
            wrote on last edited by
            #5

            Everything above machine code has been developed using lower level tools. The language is only the input, the executable is the important part at the end. C is all purpose, many would argue the .net family is all purpose and Java would be in the mix as well. Not many modern languages are domain specific, though there are some.


            Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

            R 1 Reply Last reply
            0
            • B Brandon X12000

              Is there a way to create a programming language without using an existing programming language? or to create it from scratch or create it in machine/binary code or assembly code? Also some other questions that are optional that you may answer: - Is there a way for a programming language to be "all-purpose"? (for example this programming language can be used to make games, models, simple applications (like calculators) or anything and EVERYTHING you can imagine) - Is there a way for a programming language to be "self-sustained"? (for example you don't need more than one language like "Lua" to run a massive game like "World of Warcraft" or "Command and Conquer" or any of those games out there or this language does not need support of any kind to run) Any answers will be fully-appreciated. :) Regards, Brandon Proud Member of "The Code Project"

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              The answer to all your questions is, of course, a resounding yes. Whether you are capable of doing it and capturing the entire market is unanswerable.

              Unrequited desire is character building. OriginalGriff

              1 Reply Last reply
              0
              • B Brandon X12000

                Is there a way to create a programming language without using an existing programming language? or to create it from scratch or create it in machine/binary code or assembly code? Also some other questions that are optional that you may answer: - Is there a way for a programming language to be "all-purpose"? (for example this programming language can be used to make games, models, simple applications (like calculators) or anything and EVERYTHING you can imagine) - Is there a way for a programming language to be "self-sustained"? (for example you don't need more than one language like "Lua" to run a massive game like "World of Warcraft" or "Command and Conquer" or any of those games out there or this language does not need support of any kind to run) Any answers will be fully-appreciated. :) Regards, Brandon Proud Member of "The Code Project"

                C Offline
                C Offline
                CPallini
                wrote on last edited by
                #7

                Brandon-hbx12000 wrote:

                Is there a way to create a programming language without using an existing programming language? or to create it from scratch or create it in machine/binary code or assembly code?

                Yes you may do it. However it isn't, usually, a good idea.

                Brandon-hbx12000 wrote:

                - Is there a way for a programming language to be "all-purpose"?
                (for example this programming language can be used to make games, models, simple applications (like calculators) or anything and EVERYTHING you can imagine)

                You may do a general purpose language. However, you know, for any task, you need the right tool. Programming languages make no exception.

                Brandon-hbx12000 wrote:

                - Is there a way for a programming language to be "self-sustained"?
                (for example you don't need more than one language like "Lua" to run a massive game like "World of Warcraft" or "Command and Conquer" or any of those games out there or this language does not need support of any kind to run)

                Yes there is. However this isn't, again, a very good idea: scripting facilities usually enrich the application.

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

                B 1 Reply Last reply
                0
                • B Brandon X12000

                  Is there a way to create a programming language without using an existing programming language? or to create it from scratch or create it in machine/binary code or assembly code? Also some other questions that are optional that you may answer: - Is there a way for a programming language to be "all-purpose"? (for example this programming language can be used to make games, models, simple applications (like calculators) or anything and EVERYTHING you can imagine) - Is there a way for a programming language to be "self-sustained"? (for example you don't need more than one language like "Lua" to run a massive game like "World of Warcraft" or "Command and Conquer" or any of those games out there or this language does not need support of any kind to run) Any answers will be fully-appreciated. :) Regards, Brandon Proud Member of "The Code Project"

                  P Offline
                  P Offline
                  PIEBALDconsult
                  wrote on last edited by
                  #8

                  Brandon-hbx12000 wrote:

                  Is there a way to create a programming language without using an existing programming language?

                  Yes, but implementing it may be difficult.

                  Brandon-hbx12000 wrote:

                  in machine/binary code or assembly code?

                  At least for version one; after that, write your compiler in the new language.

                  Brandon-hbx12000 wrote:

                  be "all-purpose"?

                  Only within certain limits. Make it do what you need it to do and then add features as needed or requested.

                  Brandon-hbx12000 wrote:

                  be "self-sustained"?

                  That depends more on what the developer using the language wants to do than on the language itself.

                  R 1 Reply Last reply
                  0
                  • B Brandon X12000

                    Is there a way to create a programming language without using an existing programming language? or to create it from scratch or create it in machine/binary code or assembly code? Also some other questions that are optional that you may answer: - Is there a way for a programming language to be "all-purpose"? (for example this programming language can be used to make games, models, simple applications (like calculators) or anything and EVERYTHING you can imagine) - Is there a way for a programming language to be "self-sustained"? (for example you don't need more than one language like "Lua" to run a massive game like "World of Warcraft" or "Command and Conquer" or any of those games out there or this language does not need support of any kind to run) Any answers will be fully-appreciated. :) Regards, Brandon Proud Member of "The Code Project"

                    R Offline
                    R Offline
                    Rage
                    wrote on last edited by
                    #9

                    Brandon-hbx12000 wrote:

                    Is there a way to create a programming language without using an existing programming language?

                    The language, yes. The compiler, well not really. When your language is sufficiently mature, you can write the compiler in your own language. :rolleyes:

                    Brandon-hbx12000 wrote:

                    Is there a way for a programming language to be "all-purpose"?

                    Unless the langugage is really paltform oriented, all languages can be used to do anything, But that does not mean it always makes sense.

                    Brandon-hbx12000 wrote:

                    Is there a way for a programming language to be "self-sustained"?

                    Again, you can do pretty much everything using only one language, provided that APIs are provided to access all you need to access. If there is no API to handle communication, then you can't reprogram WoW... Multi-language apps are so because you usually use the right tool to achieve the right task. But noone prevents you from using a screwdriver to hammer a nail.

                    R 1 Reply Last reply
                    0
                    • N Nagy Vilmos

                      Mark, I suggested here as it's not a programming question per se, but a theory question. I believe that, even though it has some homeworkiness about it, it's not too bad a subject.


                      Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      Nagy Vilmos wrote:

                      even though it has some homeworkiness about it

                      It could only be more homeworky if it still had the bit that said "Section A will be worth 40 marks...".

                      Every man can tell how many goats or sheep he possesses, but not how many friends.

                      1 Reply Last reply
                      0
                      • B Brandon X12000

                        Is there a way to create a programming language without using an existing programming language? or to create it from scratch or create it in machine/binary code or assembly code? Also some other questions that are optional that you may answer: - Is there a way for a programming language to be "all-purpose"? (for example this programming language can be used to make games, models, simple applications (like calculators) or anything and EVERYTHING you can imagine) - Is there a way for a programming language to be "self-sustained"? (for example you don't need more than one language like "Lua" to run a massive game like "World of Warcraft" or "Command and Conquer" or any of those games out there or this language does not need support of any kind to run) Any answers will be fully-appreciated. :) Regards, Brandon Proud Member of "The Code Project"

                        S Offline
                        S Offline
                        S Houghtelin
                        wrote on last edited by
                        #11

                        Brandon-hbx12000 wrote:

                        create it from scratch or create it in machine/binary code or assembly code?

                        Speaking as a long time assembly programmer. Yes and no, It is possible fill an Olympic size pool just using teaspoons or even using cups, but would the effort be worth it? Would the amount of time needed to do so be time well spent? The big question is why? When there is a more “efficient” or faster method to do so why not take advantage. To create something entirely out of scratch requires intimate knowledge of all the involved systems, memory handling, stack management, how to draw all those pixels on the display in just the right way, take in the user control and respond accordingly as the list goes on. Then have that work across different hardware platforms... It would indeed be a daunting task.

                        It was broke, so I fixed it.

                        D 1 Reply Last reply
                        0
                        • S S Houghtelin

                          Brandon-hbx12000 wrote:

                          create it from scratch or create it in machine/binary code or assembly code?

                          Speaking as a long time assembly programmer. Yes and no, It is possible fill an Olympic size pool just using teaspoons or even using cups, but would the effort be worth it? Would the amount of time needed to do so be time well spent? The big question is why? When there is a more “efficient” or faster method to do so why not take advantage. To create something entirely out of scratch requires intimate knowledge of all the involved systems, memory handling, stack management, how to draw all those pixels on the display in just the right way, take in the user control and respond accordingly as the list goes on. Then have that work across different hardware platforms... It would indeed be a daunting task.

                          It was broke, so I fixed it.

                          D Offline
                          D Offline
                          Dalek Dave
                          wrote on last edited by
                          #12

                          You could just bodge something together over a weekend and call it PHP.

                          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                          S 1 Reply Last reply
                          0
                          • D Dalek Dave

                            You could just bodge something together over a weekend and call it PHP.

                            ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                            S Offline
                            S Offline
                            S Houghtelin
                            wrote on last edited by
                            #13

                            Dalek Dave wrote:

                            PHP

                            Isn’t that what they use to anesthetize large animals?

                            It was broke, so I fixed it.

                            D 1 Reply Last reply
                            0
                            • B Brandon X12000

                              Is there a way to create a programming language without using an existing programming language? or to create it from scratch or create it in machine/binary code or assembly code? Also some other questions that are optional that you may answer: - Is there a way for a programming language to be "all-purpose"? (for example this programming language can be used to make games, models, simple applications (like calculators) or anything and EVERYTHING you can imagine) - Is there a way for a programming language to be "self-sustained"? (for example you don't need more than one language like "Lua" to run a massive game like "World of Warcraft" or "Command and Conquer" or any of those games out there or this language does not need support of any kind to run) Any answers will be fully-appreciated. :) Regards, Brandon Proud Member of "The Code Project"

                              S Offline
                              S Offline
                              Slacker007
                              wrote on last edited by
                              #14

                              Sorry you were one voted a couple of times. Good questions.

                              Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                              "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                              1 Reply Last reply
                              0
                              • S S Houghtelin

                                Dalek Dave wrote:

                                PHP

                                Isn’t that what they use to anesthetize large animals?

                                It was broke, so I fixed it.

                                D Offline
                                D Offline
                                Dalek Dave
                                wrote on last edited by
                                #15

                                I need to go on a diet.

                                ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                                S 1 Reply Last reply
                                0
                                • B Brandon X12000

                                  Thanks...Nagy Vilmos a member suggested that I posted it here.

                                  R Offline
                                  R Offline
                                  R Giskard Reventlov
                                  wrote on last edited by
                                  #16

                                  Ah, then Nagy deserves the vitriol! Trouble is, it smacks of being a programming question with the bonus of looking very much like a homework question. Note, however, that my response was meant to be somewhat sarcastic. I shall also reverse my one vote based on the fact that you was conned into putting it into the lounge in the first place! :-)

                                  "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

                                  S 1 Reply Last reply
                                  0
                                  • N Nagy Vilmos

                                    Mark, I suggested here as it's not a programming question per se, but a theory question. I believe that, even though it has some homeworkiness about it, it's not too bad a subject.


                                    Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                                    R Offline
                                    R Offline
                                    R Giskard Reventlov
                                    wrote on last edited by
                                    #17

                                    See my response to your victim friend below... :)

                                    "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

                                    1 Reply Last reply
                                    0
                                    • D Dalek Dave

                                      I need to go on a diet.

                                      ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                                      S Offline
                                      S Offline
                                      S Houghtelin
                                      wrote on last edited by
                                      #18

                                      As long as you follow the write prescription you’ll do fine. :)

                                      It was broke, so I fixed it.

                                      D 1 Reply Last reply
                                      0
                                      • S S Houghtelin

                                        As long as you follow the write prescription you’ll do fine. :)

                                        It was broke, so I fixed it.

                                        D Offline
                                        D Offline
                                        Dalek Dave
                                        wrote on last edited by
                                        #19

                                        Ah, you are offering me Perls of wisdom.

                                        ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                                        S 1 Reply Last reply
                                        0
                                        • D Dalek Dave

                                          Ah, you are offering me Perls of wisdom.

                                          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                                          S Offline
                                          S Offline
                                          S Houghtelin
                                          wrote on last edited by
                                          #20

                                          As long as I don't Lisp, most poeple understand.

                                          It was broke, so I fixed it.

                                          D 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups