A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jrnold/stan-language-definitions below:

jrnold/stan-language-definitions: Stan keywords and functions; used to create editor language modes and syntax highlighters

This is not literally the Stan Language definition, which is in the Stan Modeling Language User's Guide and Reference Manual. This repo contains stan-lang.json, which contains various keywords and built-in functions in Stan that I use in maintaining several editor modes and syntax highlighting defintions. In particular, this is used to generate the keyword and function lists in:

make all in this directory invokes the create_stan_lang.py Python script. This script parses the following manually maintained files to construct the stan-lang.json file. make clean will delete this file.

The stan-functions-*.txt file is generated by the extract_function_sigs.py script in the stan docs repo. For example, function signatures for Stan version 2.4.x can be generated as follows after cloning the stan-dev/docs repo.

git clone git@github.com:stan-dev/docs.git
cd docs
python3 extract_function_sigs.py

Copy the resulting file named stan-functions-2_24.txt to this repo.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4