3 ms·
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 h
by Alifatisk 3y ago
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 https://dascript.org/doc/stdlib/fio.html
- ergeysay 3y agoCurly 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/tests/fio/fio_file.das https://github.com/GaijinEntertainment/daScript/blob/master/...