Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Kat Marchán 🐈
@zkat@toot.cat  ·  activity timestamp 4 days ago

maybe I'll do some KDL stuff today. As a treat.

#KDL

  • Copy link
  • Flag this post
  • Block
Kat Marchán 🐈
@zkat@toot.cat replied  ·  activity timestamp 4 days ago
Damn X got hands meme but it’s about parsing
Damn X got hands meme but it’s about parsing
Damn X got hands meme but it’s about parsing
  • Copy link
  • Flag this comment
  • Block
Krampus 🌰
@castanea_jo@ni.hil.ist replied  ·  activity timestamp 4 days ago

@zkat real

  • Copy link
  • Flag this comment
  • Block
Cassandra Granade 🏳️‍⚧️
@xgranade@wandering.shop replied  ·  activity timestamp 4 days ago

@zkat It's nice, I love it! Used it again today, even!

  • Copy link
  • Flag this comment
  • Block
Kat Marchán 🐈
@zkat@toot.cat replied  ·  activity timestamp 4 days ago

@xgranade nice.

On today's menu: type suffixes (32gb == (gb)32, 8usize == (usize)8, etc).

Then, if I have time, I'll start implementing a schema verifier for my current sketch of KDL Schema Language/KSL.

  • Copy link
  • Flag this comment
  • Block
Cassandra Granade 🏳️‍⚧️
@xgranade@wandering.shop replied  ·  activity timestamp 4 days ago

@zkat Ah, nice, yeah! `(MB)1` is very slightly awkward compared to a suffix, but damn does it ever simplify the code *using* KDL to just look at the tag instead of treating the number as an opaque string.

  • Copy link
  • Flag this comment
  • Block
Kat Marchán 🐈
@zkat@toot.cat replied  ·  activity timestamp 4 days ago

@xgranade yeah they'll both be semantically equivalent now so.

This is only for numbers, btw.

  • Copy link
  • Flag this comment
  • Block
Cassandra Granade 🏳️‍⚧️
@xgranade@wandering.shop replied  ·  activity timestamp 4 days ago

@zkat Specifically: https://wandering.shop/@xgranade/115561515297099920

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login