r/ProgrammingLanguages • u/AnyOne1500 • Mar 24 '26
Language announcement Been making a language called XS. Feedback?
https://github.com/xs-lang0/xsMade XS, everything you need to know is in README. Haven't tested MacOS yet, so LMK if there are any bugs or issues.
54
Upvotes
View all comments
Show parent comment
1
u/AnyOne1500 Mar 24 '26
Not heterogenous, and type declarations areas follows: [T1, T2; N] where T1 is type 1 and T2 is type 2. Both would be allowed in this case. N represents the length of the array. This goes for all types that apply (arrays, maps, and tuples).