News for hackers. Stuff that matters.
Re:TypeSpec: A new language for API-centric development by la64710 on Tuesday April 30, 2024 @06:19AM (#40209261)
It’s probably more like smithy?
Re:TypeSpec: A new language for API-centric development by catlifeonmars on Tuesday April 30, 2024 @06:44AM (#40209477)
That’s what I thought when I saw this: smithy without the need to bring Gradle into your project
Re:TypeSpec: A new language for API-centric development by mtdowling on Tuesday April 30, 2024 @08:21AM (#40210253)
You don’t have to use Gradle with Smithy. You can also use the self-contained CLI which doesn’t use Gradle: https://smithy.io/2.0/guides/smithy-cli/index.html
Re:TypeSpec: A new language for API-centric development by catlifeonmars on Sunday May 05, 2024 @02:54PM (#40267234)
This gives me an excuse to revisit smithy. Curious if editor support is still poor in VSCode. Last time I cracked it open, I found that (1) there was no AST introspection and (2) existing language support tooling was lacking modern features (click to definition, autocomplete of ambient/imported smithy types). (2) made me attempt to write a language server and I stopped when I realized there was no easy way to hook into the parser.