What's needed to write my own programming language? I know some python and lua
Abstract syntax tree, parsers, etc. I learned it all in my compilers course.
>>86937768Assembly matching the cpu architecture.
>>86937786How are programing language available on every CPU architecture ? Is there a version buildt with every most used assembly language ?
>>86937786wtf are you just shilling TempleOS?
>>86937845CPU instructions describe what to do with memory. These are primitive commands like move x to y. This differs in the phylosophy of the processors in the RISC and CISC. But according to /g nowadays it's a mix of both.So it's not a big problem to write a compiler using different instruction sets.>>86937863Jo, we live in TempleOS and use Windows as network adapter at the moment. However, the goal is to set up a separate TOS network on the actual worldwide web.
>>86937768Just read the dragon dildo book and you'll be golden.
>>86937768A necessity for one. Pro tip, you don't have one.
>>86937845Isn't it usually via LLVM?
>>86937768What do you even want to make? It's very likely that whatever it is someone already made it.I don't think that there are more programming paradigms to discover. New languages are just rebundled feature packs of old languages with slightly different syntax.
>>86938183According to wiki it is a virtual instruction set.
>>86937768try making your own interpreter firsthttps://craftinginterpreters.com/contents.html
>>86937786there seems to be a frog infestion in your os might wanna check that out
>>86937845you make the compiler able to produce machine code for other architectures.
>>86938271"According to wiki" Dennis Ritchie, the creator of C, had a Ph.D on computer science. He wasn't a Dunning-Kruger retard with a god complex who only knew two basic scripting languages.Stick to learning C or C++ if you want to get low level. And yes, I've designed a few languages, so if you're just curious there's many ways: if you want to make specific stuff you can use a Domain Specific Language with Ecore models and Xtext on Eclipse. 0 documentation as far as I've seen, a lowlife teacher taught it to me in university.As for better DSLs and real languages, you can use Yacc and Bison but I remember jackshit about that course I took a year ago. You'd also need to learn a bit of Context-Free Grammar to not throw shit at the wall until it sticks and come up with the worst language in humankind.And even then Zig and V and even Rust are probably better in every regard, no point in trying to do Pascal or C from zero over again if not for purely learning purposes.
>>86938069Why would you want to connect a Temple OS machine to the internet? It has virtually no security to speak of...
>>86938401The PC/Arduino part would represent an SBC that forwards selected signals (firewall).
>>86938369If you want a decent compiler, you need to be able to talk to the processor(ALU).
>>86938369>He wasn't a Dunning-Kruger retard with a god complexHe was.>who only knew two basic scripting languages.He knew a lot of languages that were better than C which makes C even worse.