Top
Best
New

Posted by ibobev 3 days ago

Making your own programming language is easier than you think (but also harder)(lisyarus.github.io)
111 points | 57 commentspage 3
Razengan 10 hours ago|
For years I've been fantasizing about a language designed specifically for gameplay development that doesn't try to be like C.

Maybe AI is good enough now to help me with that..

The last time I tried, Claude couldn't even help me build a syntax highlighter for a hypothetical language.

zzo38computer 10 hours ago|
At least in my opinion, it might depend what kind of game. For example, there can be: card game, certain kind of puzzle games, Pokemon game, etc. There might also be consideration of such things like what portability you want, what sandboxing you will want, etc.

(There are game engines that have their own programming language for those kind of game (and some of them are the ones I had made up too).)

unnouinceput 14 hours ago||
Making you own language is easy. Creating the library that will actually solve problems without forcing the developers to reinvent the wheel is the crux. There is a reason why C++ / Java / JavaScript etc are established, it's the already proven libraries around those languages that allows them to be so successful.
Imustaskforhelp 15 hours ago||
I have only read the first end of the article but I can't help but think that a project like libriscv[0] would've/could've worked for their game project too because fun fact but the creator of librsicv, the legendary fwsgonzo is also making a game. I highly recommend for people to check out their discord server.

But my main point is that libriscv is one of the fastest libriscv emulators and then something like C/C++/lua could've been used with sandboxing purposes for the purposes of the game then.

Am I missing something? Although, making a programming language is one kind of its own projects and that's really cool as well :-D

but I would also love to hear the author's opinion on libriscv as it feels like it ticks of all the boxes from my understanding

[0]: https://github.com/libriscv/libriscv

jdw64 11 hours ago|
[dead]