markusmoenig / ArchivedDenrimScript

Scripting language for Swift with upcoming GPU support
MIT License
4 stars 0 forks source link

Make DenrimScript More Swifty #1

Open dleuck opened 2 years ago

dleuck commented 2 years ago

I'm very interested in having a solid scripting language for Swift. DenrimScript looks like a great start. I think making it a bit more Swifty would increase its appeal to Swift developers. I would lose the semicolons and unnecessary parenthesis in places like if and for statements.

markusmoenig commented 2 years ago

Thanks for the good feedback. Yes, the semicolons could be made optional.

I will think about the parenthesis, I mean the issue is how close to Swift should Denrim get, maybe if it's too close people will get confused what todo where (because there will always be differences). Whereas a clear different syntax could be easier to remember ? (Just my thinking atm)