lumirth / comments

A utteranc.es (or maybe giscus?) comment repository for mirth.cc
0 stars 0 forks source link

work/tyche/ #3

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

TYCHE NOTATION

An extensible dice syntax for tabletop gaming with support for nested dice expressions.

https://mirth.cc/work/tyche/

lumirth commented 1 year ago

Someone asked me the other day about the status of an implementation. Simply put: Tyche is deceptively simple, but the actual implementation of the thing is not dissimilar to the Sisyphean task of implementing a programming language. Similar components—a lexer and a parser, for instance—are found in both. Building the thing requires me to self-teach myself parts of my educational curriculum that I haven’t yet reached. I’ve been tinkering with different parser libraries, such as Rust’s nom, along with attempting to built the thing from scratch. Both solutions have their upsides and downsides. I’ll probably choose a hand-written solution since it allows the most fine control over the parsing and evaluation process. It is also the most bug-prone and no-training-wheels solution available, which’ll be a fun mess to deal with.

TLDR; Still working on it. It’s still an incredibly challenging WIP. Looking forward to getting it up and running.