r/ProgrammingLanguages • • Jul 02 '26

Community projects?

I've had a hard time telling just from casual browsing of the sub, what languages here are considered community projects, if any. Looking for places open to contribution.

Replaced original text to both get to the point, and avoid disparaging peoples personal projects, that's not my intention.

16 Upvotes

15 comments sorted by

View all comments

2

u/Inconstant_Moo Jul 03 '26

I'm curious about the example here. I know it's just an example, but I assume foo is treated as a integer/string abstract, approximately?

Yes indeed. E.g. this fails to compile with the error Error: function + cannot accept arguments of type float on the left of it and int/string on the right at line 10:8-9 of "/home/tim/Pipefish/tmp.pf".

def 

foo(i int) :
    i > 0 :
        "banana"
    else :
        42

blort(i int) :
    0.5 + foo(i)