5 ms·
>You can generate those conversions, most people do. Hi, what do people use to generate them, I found gserde (edit: and glerd-json)
by premek 9mo ago
>You can generate those conversions, most people do.
Hi, what do people use to generate them, I found gserde (edit: and glerd-json)
- okkdev 9mo agoThe language server code action :)
- lpil 9mo agoThere’s several options, depending on what you want. The most commonly used option is the language server.
- premek 9mo agoOh nice, didn't know about it. (I have migrated from vim to neovim and half of it doesn't work for me yet) I wonder why this is preferred over codegen (during build), possibly using some kind of annotations?
- lpil 9mo agoWe've not had any proposals for a design like that. We are open to proposals though! I wrote a blog post detailing the process here: https://lpil.uk/blog/how-to-add-metaprogramming-to-gleam/ https://lpil.uk/blog/how-to-add-metaprogramming-to-gleam/