-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stan CLI user API #49
base: master
Are you sure you want to change the base?
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