lang-party / Summer2022

Lang Party 2022
24 stars 1 forks source link

[Lang Request] Frosthaven Monster and Scenario Databases #13

Open benknoble opened 2 years ago

benknoble commented 2 years ago

Describe the language you envision.

This language is intended to describe game data for use with https://github.com/benknoble/frosthaven-manager. (Really, there is likely to be more than one language or sub-language for different kinds of data definitions. But I expect them to look mostly similar and co-operate in some way.) It thus needs to be easy to write (by non-programmers) and forgiving of mistakes (small changes in syntax should not lead to large semantic changes). My thoughts on this are unfortunately spread out, so jumping into details is probably difficult. But I do identify some major questions at the end.

Describe an example program. What does this program do?

Example programs might:

These programs have no output or function other than to translate one data format into another readily useable by https://github.com/benknoble/frosthaven-manager.

Who would write programs in this language? (Racket programmers, data scientists, artists, etc.)

Boardgamers, mostly. It thus needs to be easy to write (by non-programmers) and forgiving of mistakes (small changes in syntax should not lead to large semantic changes).

If you have futher examples, test cases, or datasets relevant to the language, please describe them below.

An example of the current monster database format is https://github.com/benknoble/frosthaven-manager/blob/c8ebf9e1b95a99687593c7d45a9c3e7a5b1e3c74/sample-db.rktd

Do you plan to implement this language? If so, are there any topics you would like help with?

Yes, I plan to implement this. I'm particularly interested in

Please share any details or related links below.

Related issues:

Thematically related: https://cacm.acm.org/magazines/2012/1/144809-creating-languages-in-racket/fulltext