Conversation
|
This is very exciting! A few general thoughts, right off the bat:
And a couple questions:
|
|
I would like to see what the doc would look like for the command-line interface. Question 1: Is there going to be an executable compiled from a model? Question 2: Are there going to be subcommands corresponding to the operation? Question 3: How are arguments specified? I assume the answer to Q1 is yes, to Q2 is yes with one level of nesting, and that Q3 is up for grabs. I can imagine that Q1 is no and you build a higher-level driver that also compiles the model. Then a spec should look something like this standard command-line doc. As an example, here's the head of the doc for So for us, that'd be something like the following, where We also need the ranges ( |
will use kebab-case
excellent suggestions - will do
yes! https://github.com/CLIUtils/CLI11#configuration-file
the former, simply because I don't have enough imagination for the latter. open to suggestions. |
I also prefer kebab case. The only issue is that the corresponding Python variable, |
|
cf https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html "Option names are typically one to three words long, with hyphens to separate words." |
proposal for new programmatic interface to core Stan algorithms
link to rendered proposal: https://github.com/stan-dev/design-docs/blob/stancli-user-api/designs/0034-stancli-api.md