3 ms·
I applaud the general goal (easy to understand for everyone makes a great educational language), but there doesn't really seem to be enough here to provide feed
by Groxx 6y ago
I applaud the general goal (easy to understand for everyone makes a great educational language), but there doesn't really seem to be enough here to provide feedback.
The runtime may do more than is documented currently, but the docs don't seem to describe a full language yet. E.g. there's an "any" type, but no way to inspect types. There is an "integer" type that holds... decimal numbers? That's possibly accurate, as there is no other number type. There's type inference mentioned once in the variables doc, but I didn't see it anywhere else so I have no idea if it only works with literals, or if there's inference anywhere.
- garritfra 6y agoThanks for your feedback. Sabre is currently a hobby project of mine. It is not fully thought out yet, and I'm learning a lot while designing the language. I must admit that Sabres type system at this stage is really vague, given that the currently targeted language is JavaScript. It's definitely something I want to improve in the future.