14 comments

[ 2.3 ms ] story [ 45.3 ms ] thread
Reads very similar to JavaScript.
println("hello\0world") prints out just "hello". What datatype would you use for reading/writing binary data? Or is that maybe out of scope?
It doesn't provide any functions for binary data manipulation (for now), but you can create a custom data type using "ape_object_make_external" and add native functions for reading/writing to it.
When I read the title I thought it would be a playground for Actually Portable Executable. https://justine.lol/ape.html
I was honestly expecting a playground, for apes. Perhaps it's time I took a holiday!
Well, it can be embedded in C so APE-to-APE compilation should theoretically be possible
Am I the only one who expected a game with apes jumping and swinging from trees and so on..
I was expecting WSB ... smooth brained something something, apes together strong, diamond hands, more tendies, to the moon...
Kind of wish new languages were a lot less boring. Almost every project like this is just classic imperative programming with different syntax.

I want to see new languages that bring something new to the table besides what you'd make for a compiler class final.

Ape is supposed to be a boring language with C-like syntax that's very easy to embed and use (coming from game development there's definitely a need for that). Although I do think that the way it handles crashes with "recover" statement brings something new to the table.
i think a lot people who make their own language is for personal engineering instead of making an PL argument. "boring" languages are underrated imo, almost every language have some bloat like OOP or whatever, to me it's interesting to think about what's the barebone of imperative scripting and how we can do subtraction instead of addition