I made my own programming language! You can find the replit template here. JumpLang is interpreted, and with limited testing, is faster than python.
- A semantic checker
- Bytecode compiler
- Bytecode interpreter
- Basic int, float and bool ops
- Echo keyword
- Jump and flag keywords
- Basic functions, with return
- If statements
# Hello world
echo "Hello world"
# Add and divide
func addAndDiv(a, b):
num = a + b
return num / b
echo addAndDiv(6, 2)
current = num
result = 1
result = result * current
current = current - 1
if current <= 1:
why colons? colons are cringe
I have not seen an indented language that does not use them. It also makes parsing easier.
wait what language did you make this in?
wait your language is indented? even cringier
At least it is not ugly like js and c. I thought you already new it was indented?
lol I didn’t but Ig it makes sense since no curly braces
Look at the source code? Unless the link does not work
… you realize that your github profile gives 404, right
Also, a 100% TL3 convo
No, I meant this entire thread is 100% TL3 (also, BTW could you send the source code
and follow me?)
@bigminiboss you said?
Anyways, seems pretty cool! I’m working on my own programming language, but yours seems 100% more complex haha
I am interested to see it!
Sure - here’s the GH repo to it
I haven’t worked on it in a while, and a lot of the keywords (yes it’s keyword based, ew) I’m thinking of don’t seem to work with my setup, so I’ll have to definitely refactor a lot
Note that it’s called “Custom Language” since you can customize it
Same here lol =) still dk what to call it
Is there a repl? I have some recommendations and questions that wouldn’t really go on this ask topic.
You can always make an issue on the GH repo, right now I’m keeping the Repl private until I’m “finished”
Aw just beat me to it…
@dragonhunter1 this looks fantastic! Thank you for sharing and for all the hard work that must have gone into creating this!
Alright, but that might be awhile, as GitHub is blocked on my current machine, and I had to clone the repo just to view the code XD
Ah alright, lemme invite you to a Repl where you can just list whatever you feel like can be changed
… NOOO WHYY @IanAtCSTeach you too whyy (You have to follow us now )