+ 2

How do I make a programming language?

Say you wanted to make a programming language. You wanted to do it in node.js. How would you go about doing it? Would you make a library? Would to make a program to turn input into functions? Please comment down below what you would do.

27th Nov 2021, 1:57 PM
Hyperion
14 Respostas
+ 5
Hmmm... Hyperion, Developing a Programming Language Isn't Easy But, Not Impossible! Personally, Even I've Developed One Called Slang But in Python... I Have Even Published It But, Is Not Very Stable Yet. But, There's One Major Problem, Too Many Errors! You Will Get Many Errors While Developing One. It Is The Same In All Languages! Also, You Will Face Problems In: - Variables - File Handling - Releasing A New Version Of Your Language - And Many More...
27th Nov 2021, 2:25 PM
Sancho Godinho
Sancho Godinho - avatar
+ 3
Here are a few resources that will cover through the basics https://build-your-own-x.vercel.app/#build-your-own-programming-language Also, please don't ask for likes and comments, they are of no use and will certainly not help you learn how to code (which happens to be the goal of this app)
27th Nov 2021, 7:07 PM
XXX
XXX - avatar
+ 2
Thanks Sancho Godinho ! I am trying to make EclipseScript, a language for Eclipse Engine! It is a game engine I making. Think of Unreal Engine, Blender and Roblox studio, all in one place! Made for my game, Genesis.
27th Nov 2021, 2:51 PM
Hyperion
+ 1
Welcome Hyperion šŸ˜Š
27th Nov 2021, 4:49 PM
Sancho Godinho
Sancho Godinho - avatar
+ 1
Please just use Python. Nobody wants to play a game that has memory run time exception errors. Thatā€™s just asking to get rootkitted
28th Nov 2021, 8:18 AM
David Harmon
+ 1
XXX I put it wrong. I was asking if they were going to like, comment down what they would do.
28th Nov 2021, 2:39 PM
Hyperion
+ 1
David Harmon Thanks! I'm going to use a mixture of node.js and Python.
28th Nov 2021, 2:39 PM
Hyperion
+ 1
I would use the eval() function. Just use replaceAll() to convert to javascript C# compiler: input: int h = 5; code: var a = (whatever you want to get input) a = a.replaceAll(ā€œintā€, ā€œvarā€); eval(a); And console.log doesnt work with eval() so you would have to some innerHTML stuff, but it has worked with previous projects of mine heres a simple one https://code.sololearn.com/WWKH6bkiU9DE/?ref=app
1st Dec 2021, 3:33 AM
ITDW
0
Thank you for the likes, but if you are going to like, can you like AND comment. This is an open floor reddit.
27th Nov 2021, 3:16 PM
Hyperion
27th Nov 2021, 4:57 PM
Simon Sauter
Simon Sauter - avatar
0
Simon Sauter What is that link for?
29th Nov 2021, 8:53 PM
Hyperion
0
Hyperion the forum rules.
29th Nov 2021, 9:02 PM
Simon Sauter
Simon Sauter - avatar
- 2
I live here. Get lost
2nd Dec 2021, 7:30 AM
David Harmon
29th Nov 2021, 1:06 PM
Desiree Mae Caliso
Desiree Mae Caliso - avatar