Author Topic: DSLs for content creation?  (Read 8259 times)

xangelo

  • Newcomer
  • Posts: 2
  • Karma: +0/-0
    • View Profile
    • Xangelo.ca
    • Email
DSLs for content creation?
« on: April 26, 2021, 03:15:49 AM »
Hello all!

I'm wondering - when you get around to content development (skills,armour,monsters,etc.) Do you use some kind of DSL or do you require your content be produced in whatever language you're developing in?

So far I've been having content written in the programming language, but I've been toying with the idea of a DSL (perhaps co-opting something like TOML) to speed up content generation and reusability - but I'm not sure if it's really worth the trouble.

Thanks for the input!
« Last Edit: April 26, 2021, 03:18:47 AM by xangelo »

Alexios

  • Newcomer
  • Posts: 3
  • Karma: +0/-0
  • For god, glory and gold
    • View Profile
    • Email
Re: DSLs for content creation?
« Reply #1 on: October 08, 2022, 02:45:53 PM »
Depends on the scope. Implementing a DSL for a medium/big roguelike can help. But if you're making something small/new to development I would say no.
Still, if you need to do to scope, it's great. I make my DSL like CDDA's/Neo Scavengers: basically json with headers and comments.
It's a great for save files, and if you create a tool that creates entities.
Friends, rogues, countrymen, lend me your ears;
I come to play Rogulikes, and to praise him.