top | item 17374452

(no title)

vitriol83 | 7 years ago

Can anyone suggest a good embedded language with static or at least optional typing ? I feel this is a gap in the market for embedded languages.

discuss

order

mastax|7 years ago

Dyon https://github.com/PistonDevelopers/dyon

(Interesting and very easy to modify, maybe not "production ready")

tomp|7 years ago

Thanks for this!

This is by far the most what the fuck language that I've seen in a long while. It displays an astonishing amount of creativity and novel (at least to me) ideas, most of which are probably bad and won't survive for long, but some of them are really cool! Things like "packed loops"

    for i, j { println(list[i][j]) }
or using `return` as a variable without exiting

    return = 8
Really cool!

ainar-g|7 years ago

I wonder if the lack of strongly statically typed embeddable languages is due to an accident or a fundamental limitation of implementations of such languages. Is the type checker code too big? Is it too complex?

vitriol83|7 years ago

Writing a type checker is conceptually much more specialised than just a scripting language. Certainly I have no idea how to write one!