News for hackers. Stuff that matters.
Re:Civet: A Superset of TypeScript by smilekzs on Monday October 21, 2024 @08:20PM (#41909940)
I know this hasn't been updated, and I know it's a fork of CoffeeScript, but https://livescript.net/ has had a lot of the "magic" syntax here for quite a while.
Re:Civet: A Superset of TypeScript by edemaine on Monday October 21, 2024 @11:32PM (#41910950)
Yes, Civet has taken a lot of syntactic inspiration from LiveScript. At this point, I think we have most of the good features, but we might be missing some. Let us know what you think!

The big difference, of course, is that Civet fully supports TypeScript, and is up-to-date with the latest JavaScript and TypeScript features.

Re:Civet: A Superset of TypeScript by k__ on Tuesday October 22, 2024 @04:24AM (#41912296)
Nice!

I loved LiveScript, but it got kinda lost in the wake of ES6.

They planned to add types, but never got around doing it (at least the last time I looked).

Re:Civet: A Superset of TypeScript by p2edwards on Tuesday October 22, 2024 @01:05PM (#41916333)
I do miss 2 features from LiveScript:

1. `wxyz = [ 2 8 -5 5 ]` (commas optional for non callables)

2. `console.log \hello` (backslash strings)

Don't know how hard/compatible #1 is, but for #2 I had a tested PR that I could bring around.

(#3 was bulleted lists, but you already added that!)