brendan-r / highlightjs_stan Goto Github PK
View Code? Open in Web Editor NEW:art: Syntax highlighting for the probabilistic programming language, Stan (http://mc-stan.org)
:art: Syntax highlighting for the probabilistic programming language, Stan (http://mc-stan.org)
Okay, this isn't really an issue, but it might be useful :-)
I haven't spent much time looking at it, but at first glance looks like the grammar for the highlightjs lexer is pretty similar to the one used by Atom/Sublime Text/Textmate. You should check out the patterns used in the grammar for the Atom package: https://github.com/jrnold/atom-language-stan. I'll also take a look at yours to see if there's anything I missed or you did better!
For every tagged version of Stan, there's a txt file with all the functions. For the latest tag, it's here:
https://raw.githubusercontent.com/stan-dev/stan/v2.9.0/doc/stan-functions-2.9.0.txt
I'm trying to use that file to reimplement stan_funcs.R
, but my guess is that you'll be faster than me at it. I'll work on it for a little bit and try to submit a pull request, but if you end up taking it on, mind dropping a comment?
Thanks. It looks great.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.