3 votes

Any cool coding languages?

Tags: ask

Hey I wanna know if you guys know about any cool coding languages that are not Janet, Squirrel, or fennel I know those. This is just to learn and too port to BoredOS

3 comments

  1. skybrian
    Link
    What kinds of languages are you interested in? What's your connection to BoredOS? If you want to make your own language, I highly recommend reading Crafting Interpreters, which is a whole book on...

    What kinds of languages are you interested in? What's your connection to BoredOS?

    If you want to make your own language, I highly recommend reading Crafting Interpreters, which is a whole book on how to do it, first in Java and then in C. But you could use any language you want.

    I think if I wrote another interpreter for fun, I'd try writing it in Lean 4, just to see learn more about what mathematicians are up to. (Lean is used for proofs but it's apparently a real programming language too?)

    2 votes
  2. Akir
    Link
    Depends on what you mean by cool but you might want to check out this earlier thread on the Meta programming language.

    Depends on what you mean by cool but you might want to check out this earlier thread on the Meta programming language.

    1 vote
  3. bitshift
    Link
    If you're looking for a language that would be interesting to learn and easy to port, I've heard lots of good things about Forth. It's a very different paradigm from most programming languages...

    If you're looking for a language that would be interesting to learn and easy to port, I've heard lots of good things about Forth. It's a very different paradigm from most programming languages (including the ones you mentioned), so it might be a good choice if you want to expand your mind. And it has a reputation of being relatively easy to port; it's easy enough that a traditional rite of passage in the Forth community is to write your own Forth interpreter from scratch.

    (Disclaimer: I have not yet written my own Forth. Someday…)

    I don't know what the best learning resource is, but I'm immensely fond of Dave Gauer's introduction to Forth. It's a ton of text, but his writing is engaging, and I love his whimsical illustrations. He does an amazing job of explaining why one should care about this little oddball language from the 70s.

    1 vote