Show HN: Worst programming language written in less than an hour(neord.netlify.app)
neord.netlify.app
Show HN: Worst programming language written in less than an hour
https://neord.netlify.app/
Unfinished side project inspared by JavaScript
It's just a stupid interpeter for my poor language
10 comments
Thanks for sharing. I had a good laugh looking through your source and seeing that "kys" killed the interpreter. I threw together a trivial fizzbuzz in it for fun.
n = 1
goto main
#fizzbuzz
if n % 3 == 0 && n % 5 == 0
print "fizzbuzz"
goto increment
if n % 3 == 0
print "fizz"
goto increment
if n % 5 == 0
print "buzz"
goto increment
print n
#increment
n = n + 1
#main
if n <= 100
goto fizzbuzz
kysThanks really cool. When I'm gonna add examples I will include this one too
Nice to play around with it. Don't sell yourself short. It ain't easy to write a language, but you did.
I give it 2 years tops before this ends up in production somewhere.
ChatGPT already understands it, so it's ahead of most new languages: https://chat.openai.com/share/42a216cf-2694-464a-b0d4-9e147c...
This is fun, thanks for sharing! I'm currently developing a much worse language and I've spent quite a few hours on it. I think that the space of simple languages is very enlightening to explore. If nothing else, returning to a full-featured language after spending days programming in something horrid is a breath of fresh air.
I'm looking into it
Did you just machine translate everything on the page or does Turkish syntax work too?