derw

181 posts

derw

derw

@derwlang

Derw is a ML language for writing TypeScript compatible code. https://t.co/k0bidZCLtd Sponsor the project! https://t.co/lFVVdcgUJ9

Katılım Aralık 2021
2 Takip Edilen242 Takipçiler
derw
derw@derwlang·
I took the time to formalize some of the type-first driven principles and features that I use when writing TypeScript, which I've adopted after working with ML-family languages, and seeing JavaScript-first codebases getting a little out of control. open.substack.com/pub/thetechena…
English
0
1
0
112
derw
derw@derwlang·
As a shy introvert, public speaking can be hard, but it's also rewarding. So I wrote about why I do it, how I manage the pressure, and techniques I've followed to handle it better! open.substack.com/pub/thetechena…
English
0
1
2
105
derw
derw@derwlang·
There's a concept that found its way into many languages, including many popular languages. But others decided not to adopt it. Why might that be? And how does that idea apply to design generally? Let's look at the history of list comprehensions! open.substack.com/pub/thetechena…
derw tweet media
English
0
2
0
122
derw
derw@derwlang·
I was incident commander for Schibsted's response to the xz backdoor, and I reflected on the process of investigating the story so that we could act. Filtering through all the noise and different takes, opinions, facts and half-facts. I wrote about it: open.substack.com/pub/thetechena…
derw tweet media
English
0
1
0
89
derw
derw@derwlang·
I get asked frequently "how should I open source something I made for work?", "why open source something?", and I give my personal recommendations. So, I wrote an article on exactly that, with a recent example experiment I open sourced. thetechenabler.substack.com/p/open-sourcin…
English
0
0
1
41
derw
derw@derwlang·
Even if you're mostly working with declarative frameworks such as Derw, Elm or React, don't forget the value of being able to pull out the developer console, write some vanilla JavaScript, and get things done quickly that would otherwise be tedious. thetechenabler.substack.com/p/dont-underva…
English
0
0
0
58
derw
derw@derwlang·
Taking part in #adventofcode this year? Not settled on a language yet? How about giving Derw a try! Leverage the ecosystem of TypeScript with the syntax and tooling of Elm. I wrote a guide on how to get started. open.substack.com/pub/derw/p/get…
derw tweet media
English
0
0
0
70
derw
derw@derwlang·
Thought of writing your own language? Not sure where to start? Or maybe you've made a start but you're unsure of where to go next. Here's a checklist I follow when working on a new language. open.substack.com/pub/derw/p/the…
English
0
1
3
88
derw
derw@derwlang·
@VivaCanales Sure! DM me and I'll give it to you
English
0
0
0
4
Sergio Canales
Sergio Canales@VivaCanales·
@derwlang Hi Noah! For my masters thesis I am writing a tool which transpiles source code to pseudocode. I am very interested in hearing about how Derw compiles to plain english etc. Do you have an email I could contact you on? :D
English
1
0
0
14
derw
derw@derwlang·
@_wilfredh Derw provides all of these other than the runtime (the runtime being whatever JS runtime you're using) derw-lang.com
English
0
0
1
154
Wilfred Hughes
Wilfred Hughes@_wilfredh·
Which programming languages follow the "cathedral" design philosophy, where they provide most of: the runtime, stdlib, debugger, LSP, test harness, code formatter and package manager? Go, Dart and Smalltalk are the closest I can think of.
English
35
5
81
17.4K
derw
derw@derwlang·
New toy language: neuro-lingo! The language where all you implement is comments and let GPT produce all the code. github.com/eeue56/neuro-l…
English
0
2
2
248
derw
derw@derwlang·
Derw now supports snapshot tests! Simply create a function starting with "snapshot" in a test file, and return whatever it is that you want to snapshot. On first run, it will create the snapshot. Pass `-u` to update snapshots on subsequent runs.
English
0
0
5
206
derw
derw@derwlang·
@_sebbes_ Added both `derw compile --check` and `derw compile --output /dev/null` as a way of doing this. Thanks for the suggestion!
English
0
0
1
9
Sébastien Besnier
Sébastien Besnier@_sebbes_·
@derwlang just type check the code, without any generation. Kinda the same as `elm make src/Main.elm --output /dev/null` but with specific wording
English
2
0
0
9
derw
derw@derwlang·
Ever wonder how a programming language's command line tooling might look if you put it into some kind of flow chart? Here's a chart I put together showing how Derw's CLI works.
derw tweet media
English
3
0
13
764
derw
derw@derwlang·
@_sebbes_ You can do `derw compile --output /dev/stdout`, but that outputs the errors and the generated code. Sounds like a good addition to not generate anything, so I'll add that too
English
0
0
0
12
derw
derw@derwlang·
@Rand0mGuest Camunda Modeler! It's really cool. This isn't quite the intended purpose but it worked.
English
0
0
1
65
Rod N
Rod N@Rand0mGuest·
@derwlang Nice! What tool did you use?
English
1
0
0
53