home.social

#ppx — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #ppx, aggregated by home.social.

fetched live
  1. #macro_rules!

    Right methodology, not nearly powerful enough

    #proc_macros

    Lisp-like methodology, but syn crate and DIY the AST, more importantly, the unholy diabolical compile times involved

    #crabtime

    idk, give reviews

    Only if they learned from #Zig's #comptime/ #OCaml's #ppx

    LET ME WRITE #RUST **AND** MANIPULATE ASTs, NOT AN XOR OF THEM

  2. slowly getting there! using #ocaml #ppx can be tedious, but at least you know that the ASTs you build aren't complete gibberish.

    Here we are generating some helper values (like a string version of the type name and the variants) and our first visitor for tags.