To download: applemm321.itch.io/karop You need to download python python here: python.org
@cakelover4578washere8 ай бұрын
or use chocolqtey to download python, its a package manager for windows
@itzsummerofc9 ай бұрын
I remember making my first programming language, it literally used words and grammatical signals for syntax 💀💀💀. Yes, it was hard making the language (it's called "English" btw) but it still worked. I already forgot about that language but whenever I showed it to some of my friends that know how to program, they always looked shocked that the syntax doesn't use any symbols. But Anyway, Cool language!!^^
@mgames32099 ай бұрын
Thx
@xirate70918 ай бұрын
you literally tried to create chatgpt
@Taokyle8 ай бұрын
Bro made a language, literally
@justind46158 ай бұрын
@@xirate7091 yea but his language still just giving specific instructions to machine but chatgpt is AI that processes text differently
@jextendecortex75777 ай бұрын
Yo do you have it published anywhere?
@MrGuitarMix9 ай бұрын
At the university we also did something comparable in the compiler construction course. We had used a tool called JavaCC instead of Python. This is a parser generator that is pretty nimble. After that, you could use the programming language to compile and run programs for a register machine. The register machine itself was also implemented as a model and executed its own assembler instructions.
@mgames32099 ай бұрын
Nice
@mgames320911 ай бұрын
Should I make a tutorial? The language is slightly slower then python (it’s around thousand lines but most of them just set up the program)
@ilyesilyes670911 ай бұрын
Yeh do a tuto
@lightcomic110 ай бұрын
hey, i am working on a computer mod for minecraft and have been slowly building up a vm and compiler. If you need any tips just reply. One thing I will tell you though, do not write languages inside of interpreted languages; that is several layers of vm that you have to go through at that point. Unfortunately I had to write mine in java because of minecraft, but you could benefit from writing it in C or Rust or something similar.
@mgames320910 ай бұрын
@@lightcomic1 ok
@Roxve9 ай бұрын
@@lightcomic1i definitely recommend crystal! it's compiled + has a syntax highly inspired by ruby and of course ruby has a syntax highly inspired by python so it would be similar the only disadvantage is it's less dynamic and has some weird rules like ruby! Oh and it has the same performance as C and sometimes it's as fast as rust!
@edy12199 ай бұрын
@@mgames3209 hey I could help you turn it into a compiler or something if you would like. Make it have linux and windows support, unfortunately compiling for MacOS is pretty hard.
@mgames3209 Жыл бұрын
I’ve now added classes!
@Cosmotix11 ай бұрын
This is sick man. Could you share what theme you use please?
@mgames320911 ай бұрын
Ayu dark, you can get it from an extention in vocoder
@Cosmotix11 ай бұрын
thx bro:)
@BenPlaysSomething11 ай бұрын
Cool Language! You should create a tutorial on how you made it.
@mgames320911 ай бұрын
Thx
@manda3dprojects9668 ай бұрын
It's easy to build a programming language, lex, parse, and transpile, gdb-lex, gdb-parser, and gdb-debug.
@SDFTDusername3 ай бұрын
he might have followed the tutorial from CodePulse, because i see the function "visit_BinNode" and that is also in the tutorial
@King_sobb3 ай бұрын
@@manda3dprojects966u forgot about the AST😂
@ragdude73235 ай бұрын
I like the scope = idea, means you can exchange scopes which would be interesting
@mgames32095 ай бұрын
Ok
@iblack161511 ай бұрын
wow i love the syntax
@mgames320911 ай бұрын
I made it Like JS
@sbd263910 ай бұрын
does it compile the code into simpler instructions and interpret them or does it directly interpret line to line? I feel like compiling it first makes it run faster.
can you try making a recursive calls, like this fn fib(n): fib(n-1). How would you increase speed of calculation for functions?
@mgames32092 күн бұрын
If you make the function I’m pretty sure you can do it. For the speed however, I don’t really know
@jonhleylandkirby8081Ай бұрын
can i erase bios in this language?
@programingisthefuture91858 ай бұрын
Super cool! 👌 I will suggest you to try some functional languages to do interpreters or compilers, they are great at it (great example is OCaml).
@mgames32098 ай бұрын
Ok
@curlydev28 ай бұрын
Hello, I made a quick tokenizer for my interpreted language, what is the next step ? How to handle nested blocks (like if { while {} for {}} , etc), do you know any ressource that I can read to continue ?
@mgames32098 ай бұрын
First, I recommend to start small, a simple math interpreter, it’s kinda hard to explain
@curlydev28 ай бұрын
@@mgames3209 Yes I did one by using posfix, infix and converting everithing into tree, but how to go from math interpreter to actual language
@themathforyou9 ай бұрын
you should create a file format, so you input a file and you parse through each line
@mgames32099 ай бұрын
Ok
@themathforyou9 ай бұрын
so like you can create the code in a file and not have to execute every line@@mgames3209
@rupaksaha905010 ай бұрын
Wow :O I'm interested! Say, how do you even make a language in Python?
@AntiBabyPill10 ай бұрын
Although I don't recommend using Python to make a language, here are two routes you can take: An interpreter - where you "tokenise" (parse the string into an object with all the key terms) like "say 'Hello' to stdout;" would be ["say", ["string","Hello"], "to", ["var", "stdout"]] and execute it by looping through the array (in a nutshell. Or a compiler - where you tokenise like what you would do with the interpreter but instead of executing it on the fly you create a machine code (or any other language) executable based on the tokenised code.
@kxhu3 ай бұрын
seems like a lua x c type thing?
@macrro10 ай бұрын
programming language in python is crazy like what libraries do you even use for that? are you just rewriting the syntax for python
@mgames320910 ай бұрын
I didnt use library’s for the base language, and no, I am not rewriting the python syntax
@DemidCodeАй бұрын
he just watched the most popular tutorial on how too make programming language in python: kzbin.info/aero/PLZQftyCk7_SdoVexSmwy_tBgs7P0b97yD
@dylanchambi8373Ай бұрын
What theme is that?
@DamianBossPL10 ай бұрын
What's more impressive is your typing speed.
@trex511ft8 ай бұрын
lol
@c0dezin7 ай бұрын
thats really cool
@ruria_coda8 ай бұрын
Very good! But this like Haxe, VERY GOOD!
@inversionz850310 ай бұрын
What do you call it ? Plus what are the major feats
@mgames320910 ай бұрын
Karoo, not really any, just made for fun
@mgames320910 ай бұрын
Guys on accident I put wrong chat link, sry
@rav4464Ай бұрын
name vs code theme?,
@JotaleaGG9 ай бұрын
I always tried to do this. I just didn't get enough motivation.
@mgames32099 ай бұрын
What did you usually fail at?
@JotaleaGG9 ай бұрын
@@mgames3209 I chose the wrong programming languaje to make the interpreter + I don't know how to make a compilar + the wrong programming languaje that I chose (this is why I discarted it) wasn't able to read code. Now it is more advanced, and can read some things, but it's still not enough (i think)
@mgames32099 ай бұрын
Ok@@JotaleaGG
@Roxve9 ай бұрын
@@JotaleaGGyou should first learn how to be good at reading code and the definitely start working on at least a mathmaic Interpreter (calculator) you can do that in any language! i do that when I want to learn a new language (my latest one is called Crystalic*Interpreter which i am still working on which will evolve to be a programming language Atomic-Script!) and it's hella fun
@meleeplaysgames8 ай бұрын
man i can barely make a square in python
@mzakyr3424 ай бұрын
man this makes me feel like im a dumb person, i have created so many failed programming languages that could be extended but i choose not to i just delete them
@mgames32094 ай бұрын
How far did you get in them?
@mzakyr3424 ай бұрын
@@mgames3209 implementing data type likes string, booleans, integer, float, but im too lazy so rm -rf *
@mzakyr3424 ай бұрын
@@mgames3209 idk i forgor but i remeber it was in rust
@mgames32094 ай бұрын
@@mzakyr342 well this was in python so it’s probably a lot easier then rust
@awru10 ай бұрын
Please, can u do documentation?
@mgames320910 ай бұрын
I’ll make a video tutorial
@awru10 ай бұрын
@@mgames3209 okay! I will be very grateful
@randomdude56348 ай бұрын
give this guy some file icons
@shahzaibhassan650411 ай бұрын
i tried this too, Failed because things like AST, Parsers are way too complex for me.
@mgames320911 ай бұрын
This was based on codepulses tutorial, but then I couldn’t do one thing so I remade it and added classes
@mgames320911 ай бұрын
But the code is way different from codepulses
@shahzaibhassan650410 ай бұрын
@@mgames3209 Same, i watched his tutorial but i didint understood a single thing. What the heck does a register even do? What was that generate_number_id function doing bruh. I didint understand a single thing
@shahzaibhassan650410 ай бұрын
@@mgames3209 Also i just subscribed. Good channel.
@sekki25548 ай бұрын
Isn't that just python with brakets instead of a : at the end of a condition?
@mgames32098 ай бұрын
Basically, but I made it for fun
@FVT-tn8ji8 ай бұрын
Creating a programming language is sorcery to me, congrats (i guess :D)
@mgames32098 ай бұрын
Thx
@user-xb3ux9tz7i10 ай бұрын
W bro.
@mgames320910 ай бұрын
kzbin.info/www/bejne/jJ3YaoKrp5akm6M CREDIT TO COLMANCOOL FOR PLAYING MY GAME
@travuchka7 ай бұрын
Please, say name of theme Vscode
@mgames32097 ай бұрын
Ayu dark, you can get it from an extension in vscode
@gperm494111 ай бұрын
Where can I download the interpreter for this?
@mgames320911 ай бұрын
I think it’s not that good since you have to have python to use it
@mgames320911 ай бұрын
And it has bugs
@mgames320911 ай бұрын
But I sent where to download
@gperm494111 ай бұрын
@@mgames3209 I can try to make documentation for it
@gperm494111 ай бұрын
@@mgames3209 I regret my words. This thing is so badly documented. I don't think there is a single goddamn comment
@Roxve9 ай бұрын
Great language! Can i have the source code of this? I am trying to learn more about how other people do Interpreters because i am trying to improve mine's!
@mgames32099 ай бұрын
Thanks! You get the source code by downloading it
@Roxve9 ай бұрын
@@mgames3209 oh i didn't notice the download link in the first comment thanks
@mgames32099 ай бұрын
Your welcome@@Roxve
@X3NOGLADIAT0R8509 ай бұрын
is bro a senior?
@catsdontboot873510 ай бұрын
python with brackets
@mgames320910 ай бұрын
yes
@trex511ft8 ай бұрын
should be considered a war crime.
@mgames32098 ай бұрын
@@trex511ft x = 3 if x > 2 { print("no its not") }
@mgames32098 ай бұрын
@@trex511ft i used python to make python with brackets...
@trex511ft8 ай бұрын
@@mgames3209 you sir are crazy, I heard some dude used C to make C++, that's an even greater crime.
@William_5956Ай бұрын
Smells like.. Lua
@bearfm11 ай бұрын
now write it in C
@mgames320911 ай бұрын
Oh shoot.
@beepboop95548 ай бұрын
are you typing manually or what cause you type really fast
@mgames32098 ай бұрын
its because I had to speed up the video
@ARMARICHАй бұрын
крутой
@no_name4796Ай бұрын
Honestly the worst code in this video is windows itself
@overbored13374 ай бұрын
Pro tip: Use another programming language Not even python uses python for interpreting and parsing for a good reason
@podemb.8 ай бұрын
what the fuck, why would someone suffer to make a programming language in PYTHON (btw as someone who has coded in python but now codes in different languages, this seems like pain)
@xE92vD4 ай бұрын
Will run slower than anything literally because it uses Python lol
@finmat958 ай бұрын
Using Python?
@mgames32098 ай бұрын
yes.
@finmat958 ай бұрын
@@mgames3209 Shocking
@frommarkham424Ай бұрын
Wow you're waaaaaaaaaaaayyyyyyyyyyyyyyyyyy ahead of me I wanna create superintelligent AIs when i grow up 🤖
@mgames3209Ай бұрын
Good luck!
@dakata24168 ай бұрын
Did.. did you just write an interpreter in an interpreted language 💀
@mgames32098 ай бұрын
Yes
@dakata24168 ай бұрын
@@mgames3209 based
@djhiphouse99609 ай бұрын
Just parse string and execute it via livary
@mgames32099 ай бұрын
I didnt use any library
@djhiphouse99609 ай бұрын
@@mgames3209 show full code
@shiba-dev4 ай бұрын
why are u typing so fast, chill bro
@X7cF4Ай бұрын
not bad but why py
@mgames3209Ай бұрын
Just cause
@raghavsai47206 ай бұрын
Hello MGgames I have taken notice to your programming language and would like to offer you an elementary programming internship online, the pay would approximate to about 12 cents per month as a starting wage but with effort on your part, has the potential to reach 13 cents. Reach out to me if you are interested in this opportunity!
@mgames32096 ай бұрын
Bruh my friend sent me an internship lol
@whimburАй бұрын
cool but it's probably not the best idea to make an interpreter using and interpreted language...
@mgames3209Ай бұрын
Ik
@aphztic11 ай бұрын
a programming language in python ong
@mgames320911 ай бұрын
thx
@mgames320911 ай бұрын
At least it’s barebones to not that slower then python
@user-dh8oi2mk4f11 ай бұрын
@@mgames3209 Are you sure it's not that much slower than python?
@mgames320911 ай бұрын
@@user-dh8oi2mk4f at least I think…
@mgames320911 ай бұрын
@@user-dh8oi2mk4f you can see yourself if , syou download it, cuz it’s as a .py
@sunofabeach94247 ай бұрын
it's python
@mgames32097 ай бұрын
its not
@hjoshua17018 ай бұрын
lol windows
@mgames32098 ай бұрын
Ye I don’t use Linux
@hjoshua17018 ай бұрын
@@mgames3209 says who ever
@sunofabeach94247 ай бұрын
lol drivers work and no package conflicts
@hjoshua17017 ай бұрын
@@sunofabeach9424 if you enjoy going to different websites risking downloading the wrong thing to get any application on Windows, then so be it lol. Better hope you aren't downloading some malware!
@Caller81948 ай бұрын
little tip mate. you dont need to program your own langauge. There are loads of options like python (high-level, multi purpose) to more low-level langauges like C