this post was submitted on 18 Feb 2024
518 points (96.9% liked)

Programmer Humor

19557 readers
598 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Insert <it's not much but it's honest work> meme. It only supports ints and bools, some logic and simple arithmetics and it compiles to Java but damn was it hard to get that far.

Can you guess what everything does?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 104 points 9 months ago (18 children)

It only supports ints and bools, some logic and simple arithmetics and it compiles to Java but damn was it hard to get that far.

I have a bachelor’s in computer science and I don’t think I would be able to do that…

[–] [email protected] 1 points 9 months ago (1 children)

It’s likely transpiring and not compiling, so it’s a lot easier than it seems. Source: made a language that adds features to Python and transpiles to valid Python.

[–] [email protected] 1 points 8 months ago

It doesn't compile or transpile in actuality. It generates Java based on an abstract syntax tree. The concrete syntax is not considered in Java generation by MPS.

load more comments (16 replies)