Live data from Hacker News

The Senegal Programming Language

github.com

31–40 of 80 posts

Re: The Senegal Programming Language

#32
post #6

As always, all languages, especially the new one, should have a "why" section. Small caveat: maybe it's still under construction and the person that posted it just found it too early. But once you're ready to show it to the world, please include the why! Note that anything is valid in the "why", even "just for fun" or "because I could". For now there is: > Senegal is a powerful, small-but-fast, concurrent, class-base…

> Senegal is compiled and Wren is interpreted

Senegal seems to use a bytecode interpreter: https://github.com/SenegalLang/Senegal/blob/22fe863ad234e43a...

Re: The Senegal Programming Language

#33

so many new programming languages come out that are almost identical to existing ones. Where's the crazy ideas (aside from the esoteric languages, which are different because they're intentionally difficult). I'd love to see more entries in the areas other than OO or procedural languages (or even just a variation on those, like an actor-model language). There's so many ideas in the programming language theory space t…

I'm working on one! It's not ready to be shown off yet, but I outlined the core ideas here: https://www.brandons.me/blog/the-bagel-language

The function vs procedure difference reminds me of VBA actually. In VBA, functions can return values and subs can't. That always made sense to me. VBA has it's issues, but there are some good qualities.

Re: The Senegal Programming Language

#34

I was wondering where all the traffic on the repo was coming from after months of inactivity lol. Most comments (so far) are asking "why?". Its honestly a fair question, what does this language offer that others dont? Nothing really, this project isn't anything serious I just wanted to have some fun with it. Regardless, I'll put up a why section.

Why is it called Senegal?

Re: The Senegal Programming Language

#35

so many new programming languages come out that are almost identical to existing ones. Where's the crazy ideas (aside from the esoteric languages, which are different because they're intentionally difficult). I'd love to see more entries in the areas other than OO or procedural languages (or even just a variation on those, like an actor-model language). There's so many ideas in the programming language theory space t…

I'm working on one! It's not ready to be shown off yet, but I outlined the core ideas here: https://www.brandons.me/blog/the-bagel-language

Looks promising, thanks for sharing!

Your idea of having functions that don't have effects and procs that don't return, reminds me of https://en.m.wikipedia.org/wiki/Command%E2%80%93query_separa... - so there's some prior work there for reassurance and reference.

First class reactivity would be extremely useful - I've thought the same thoughts as you around how reactivity is only partially solved with the current generation of UI libraries (or moreso with RxJS, but the syntax is full of baggage) so I wish you every success with solving it more comprehensively.

Re: The Senegal Programming Language

#36

so many new programming languages come out that are almost identical to existing ones. Where's the crazy ideas (aside from the esoteric languages, which are different because they're intentionally difficult). I'd love to see more entries in the areas other than OO or procedural languages (or even just a variation on those, like an actor-model language). There's so many ideas in the programming language theory space t…

Maybe at least a partial explanation is in the article posted here:

https://news.ycombinator.com/item?id=28821498

Re: The Senegal Programming Language

#37

Earlier quoted context omitted.

There's a Discord where you can probably get the answer to your question: https://discord.gg/9dq6YB2

Official Discords/Slacks for programming languages should be considered an antipattern - especially if they end up replacing documentation or a discussion group. It's as if the new generation of developers doesn't realize the difference between transient conversations (which is what happens on Discord/Slack) and creating knowledge (which needs to be persistent and searchable, neither of which is afforded by aforement…

FWIW, I 100% agree with you for the same reasons you outline.

I was simply stating that the Discord channel exists and that the answer to the question can be found there. Sorry someone took personal offensive to that.

Re: The Senegal Programming Language

#38
post #32
post #6

As always, all languages, especially the new one, should have a "why" section. Small caveat: maybe it's still under construction and the person that posted it just found it too early. But once you're ready to show it to the world, please include the why! Note that anything is valid in the "why", even "just for fun" or "because I could". For now there is: > Senegal is a powerful, small-but-fast, concurrent, class-base…

> Senegal is compiled and Wren is interpreted Senegal seems to use a bytecode interpreter: https://github.com/SenegalLang/Senegal/blob/22fe863ad234e43a...

So does Wren!

Re: The Senegal Programming Language

#39
post #34

I was wondering where all the traffic on the repo was coming from after months of inactivity lol. Most comments (so far) are asking "why?". Its honestly a fair question, what does this language offer that others dont? Nothing really, this project isn't anything serious I just wanted to have some fun with it. Regardless, I'll put up a why section.

Why is it called Senegal?

I've got a Senegal parrot (hence the pixel art) and im bad at naming things and...the rest is history i guess

Re: The Senegal Programming Language

#40

Earlier quoted context omitted.

I'm working on one! It's not ready to be shown off yet, but I outlined the core ideas here: https://www.brandons.me/blog/the-bagel-language

Looks promising, thanks for sharing! Your idea of having functions that don't have effects and procs that don't return, reminds me of https://en.m.wikipedia.org/wiki/Command%E2%80%93query_separa... - so there's some prior work there for reassurance and reference. First class reactivity would be extremely useful - I've thought the same thoughts as you around how reactivity is only partially solved with the current gen…

Thanks!

I have heard of Eiffel though I don't know much about it. I am honestly surprised this concept hasn't been explored more, given how long it appears to have been around.

Post reply on HN