4 ms·
Show HN: Worst programming language written in less than an hour
Unfinished side project inspared by JavaScript
It's just a stupid interpeter for my poor language
- mattbgates 3y agoNice to play around with it. Don't sell yourself short. It ain't easy to write a language, but you did.
- white_dragon88 3y ago[dead]
- boothby 3y agoThis 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.
- mfurkan 3y agoI'm looking into it
- king_geedorah 3y agoThanks 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 kys
- mfurkan 3y agoThanks really cool. When I'm gonna add examples I will include this one too
- yellowapple 3y agoI give it 2 years tops before this ends up in production somewhere.
- BoorishBears 3y agoChatGPT already understands it, so it's ahead of most new languages: https://chat.openai.com/share/42a216cf-2694-464a-b0d4-9e147cd81f57 https://chat.openai.com/share/42a216cf-2694-464a-b0d4-9e147c...
- atahanacar 3y agoDid you just machine translate everything on the page or does Turkish syntax work too?
- sfn42 3y ago[flagged]