News for hackers. Stuff that matters.
Re:Ten Years of TypeScript by Yahivin on Saturday October 01, 2022 @04:18PM (#33049700)
This seems like a great time to announce my successor to CoffeeScript: Civet, a language that transpiles to TypeScript.

https://github.com/DanielXMoore/Civet

Re:Ten Years of TypeScript by msoad on Saturday October 01, 2022 @04:24PM (#33049754)
TBH I have 99 problems but the syntax is not one
Re:Ten Years of TypeScript by Yahivin on Saturday October 01, 2022 @04:36PM (#33049880)
Civet also fixes: `import x from "./x.ts"` and unifies `readonly` and `const`.

I'll get back to you when I fix the other 97 but until then there's no accounting for taste.

Re:Ten Years of TypeScript by bilalq on Saturday October 01, 2022 @06:13PM (#33050620)
Oh, I like this. A pure syntactic sugar over a language that otherwise preserves semantics is neat. Nice work on documenting what was kept/changed/removed too. Really easy to see at a glance what the project is all about.

Love that there's an online playground, LSP, and VSCode extension along with it.

Re:Ten Years of TypeScript by Yahivin on Saturday October 01, 2022 @06:19PM (#33050665)
Thanks! It's still a work in progress (especially the LSP) but it is usable in its current state and is getting better all the time.
Re:Ten Years of TypeScript by dabears on Saturday October 01, 2022 @11:54PM (#33052665)
Just have to say thank you so much for CoffeeScript! It was pivotal in my career and has brought me a lot of joy :)
Re:Ten Years of TypeScript by runes on Saturday October 01, 2022 @11:12PM (#33052470)
Very cool! For years I've wanted to fork LiveScript and integrate it with the TS checker somehow (and remove `on/off/yes/no`, good call), sort of an F# to TypeScript's C#
Re:Ten Years of TypeScript by elwell on Saturday October 01, 2022 @08:52PM (#33051653)
I used to love CoffeeScript. Will check this out!