I have been doing research and I asked in another thread and have had trouble figuring out how to write a new code. when i started learning C at first i struggled. i wished i could just say do this or that and it would do the rest. so i want to write a code that is easy to understand and remember. Also when I make something I remember it and I am way more fimiliar with it. So I want to do this whether or not it helps anyone else.
I know c++ so don’t say I need to learn that first.
If anyone has done this before or knows a website that could help or if you know something let me know
I think you’re overwhelmed and don’t know where to begin
so you want to make your own language because you found C too difficult.
That’s like saying “Sign language is too difficult for me to learn, so I’m going to invent and teach deaf people a new language so that I can communicate with them”.
How are you going to get the computer to understand your ‘code’? You have to write it in something, like C.
I would strongly suggest you first learn a language before you try make your own; that you make a game before you make a game console.
You have to first be able to do something simple.
If games are your passion, then start with a unity tutorial - If you’re just trying to program then start with html and javascript and make some sort of ‘hello world’ application.
But seriously, this is much, MUCH harder than learning how to code C. Please save yourself the trouble!
There is no easy way to acclaim or success. Working hard at something feasible (goals should be attainable, not ridiculous) and sticking to it (I started on Unity when I was young too - 4 years later I made my first cent) is the only way forward.
Don’t get me started on making a console… Sorry if this sounds harsh, but the truth hurts, man.
One thing you could do would be to make your own coding language inside of Unity. For example, you could type
if enemy hits player
do 50 damage
and have it write out some ‘normal code’ for you. You’ll sturggle with synonyms, and it’s slower, but it’d be fun, and could sell to all the non-programmers.
Thinking about it, standard english programming is a very interesting idea. Just make sure that if the person writes ‘color’, get the compiler to write out rude messages about their spelling.
I think you need to go into compiler design stuff… i took few classes of it… it had some lexical analysis… interpreter design and stuff… Because at the bottom level each language is compiled into binary code and then executed… so you need to write your own compiler for a new language…
I dont even program, but I think you need a Councillor. I just… dont get your logic? Do you by any chance leave your house through the 2nd story windows…
Learn C or Python or Java. Dont try and work your way around things you will just fall into a pit.
Well im only working on the andriod app and the las vegas game. The other stuff is just things I’ve thought of in my free time. Im on vacation. Alot of this stuff I thought about years ago but just decided to bring it to the forums. I just like to find out about stuff that I can’t find out about on the internet. And I like to know if I can do things.
Even when I knew Assembly Language (sadly, I no longer do :(), I wouldn’t dare attempt to write an interpreter or a compiler, let alone a new programming language. That is intense work reserved only for people who are proficient in at least 2 high-level programming languages, 1 low-level language and possibly the first-generation or second-generation language, and are extremely knowledgeable in computer theory and binary logic, among other things. (I should be qualified to write a simple esoteric programming language by now, but I don’t see the point in doing so. No need to reinvent the wheel.)
To be frank, I am of the opinion that you will not be successful in this endeavor. Having said that, here’s a link to a discussion that may point you to the direction of what you’re seeking. At the very least, that page may contain some other links that would lead you closer to the first step of your journey. Let it be clear though that I am only posting that link as an attempt to keep you busy and away, and not as an act of generosity or goodwill. I have a reputation to protect. XDDD
I have no clue exactly how boo works, but Unity uses it and as far as I know it’s python syntax based so it may not be too hard to learn. Also, I believe it’s what Unity converts all javascript and C# into anyway, so might even make things run faster learning it, though that’s all speculation.
No, everything gets converted to CIL. (Common Intermediate Language)
All languages are approximately equal since they’re all converted to CIL, but in some cases there are compiler differences that don’t result in quite the same CIL code being generated.