alomew
2020-8-24 12:55:11

@alomew has joined the channel


sspillane
2020-8-24 13:09:27

@sspillane has joined the channel


kellysmith12.21
2020-8-25 05:48:13

Is there a way to automatically generate a BNF grammar for documentation from a syntax class or a syntax-parse definition, or is it the case that the BNFs for documentation must be written by hand?


sorawee
2020-8-25 06:32:16

Not that I am aware of, though it is always nice to automate things like this. Wanna try to implement it?


kellysmith12.21
2020-8-25 06:51:14

Hm… My naïve solution would be to write wrappers for syntax-parse, define-syntax-class, &c. that extract the grammar and builds a BNF from that. Unless that’s a bad approach, I’d be willing to give it a shot.


sorawee
2020-8-25 06:53:04

That’s exactly how I would do it too!


sorawee
2020-8-25 06:53:24

So go for it :slightly_smiling_face: