News for hackers. Stuff that matters.
Re:DaScript: Fast and Versatile Scripting Language by Alifatisk on Friday October 27, 2023 @01:24AM (#38035000)
The syntax looks very user-friendly yet it claims to compete with LuaJIT and C++?!

I’ll def. try this out, is curly braces optional? Because I prefer it over having to indent.

The docs doesn’t look that friendly either, there is no good code examples on the usage of each function.

https://dascript.org/doc/stdlib/fio.html

Re:DaScript: Fast and Versatile Scripting Language by ergeysay on Friday October 27, 2023 @04:46PM (#38043703)
Curly braces are optional and equivalent to indentation but you have to use semicolons if you use curly braces.

The docs are sorely lacking, but there is good test coverage though, so you may refer to tests for examples: https://github.com/GaijinEntertainment/daScript/blob/master/...