What language should I code my own language in?
I've been looking to start my own language in just to gain experience and I think it would be really fun, but I have came across one problem, I'm not sure what language I should use to make it! I know the system of how to make one (lexer, parser, ASL, etc), and I think I'm leaning on interp or bytecode interp.
C++ and C are the most answered things for questions like this, although, I only know the basics of both.
I'm very comfortable and know a lot about JS + Python, but I've heard writing languages in those are terrible ideas as their compile/interp times are really slow.
I'm kind of in a dilemma where if I choose one of the C's, I won't understand a thing and I'll get extremely confused, but if I choose the latter, I'll end up having something slow.
Any help would be appreciated!
And if your interested in making a language, we could possibly work together :)
C. C! C!!
Please, USE C. DO NOT use interpreted languages or any OOP type of language like C++, Java etc(idk why you'd use Java but still lol).
C just offers the fundamentals needed to create a programming language. If nothing else, I would be more than happy to help you create a interpreted(or compiled) programming language using C :D
The languages you are most comfortable with is the language you should start with First.
Once you finish, you usually rewrite the language in a faster language. Maybe rust?
Also the fastest language is C nothing else.
No language is too slow, choose what you want, and revise!
Personally, I'm writing my own language in python which I'm most comfortable in but am planning to re-write it once it's done in a faster language. If you know a compiled language, it would be preferred, but it's totally fine to write something incredibly slow in python and convert to something faster later on.