Skip to content
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

New version: JuliaBUGS v0.3.0 #101435

Merged

Conversation

JuliaRegistrator
Copy link
Contributor

@JuliaRegistrator JuliaRegistrator commented Feb 22, 2024

JuliaRegistrator referenced this pull request in TuringLang/JuliaBUGS.jl Feb 22, 2024
The PR includes the following updates:
* The `@bugs` macro that handle the Julia AST is simplified
* Previously, expression like `lhs ~ rhs` are change to `Expr(:~, lhs,
rhs)`; also ranges in indices and for loop are changed to the same form
* These modifications of AST are removed, the only possible modification
of AST now is filling in empty index, e.g. `x[]` is transformed to
`x[:]` and `cumulative`, `density`, and `deviance` (these three are
special functions, which all "take the distribution of the variable at
first argument")
* The parser is improved
* Now we allow use Julia reserved words as variable names in the
original BUGS, these words will be wrapped in `var""`
* Now the errors are displayed the same way as the Julia parser, and
throw the same exception `JuliaSyntax.ParseError`
* The error messages are also improved, as more specialized error
messages are created for different cases
    * Some bug fixes
* Tests of both the parser and `@bugs` macro are made more clear

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

github-actions bot commented Feb 22, 2024

Your new version pull request met all of the guidelines for auto-merging and is scheduled to be merged in the next round.


If you want to prevent this pull request from being auto-merged, simply leave a comment. If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment. You can edit blocking comments, adding [noblock] to them in order to unblock auto-merging.

UUID: ba9fb4c0-828e-4473-b6a1-cd2560fee5bf
Repo: https://github.com/TuringLang/JuliaBUGS.jl.git
Tree: e43798c8a67d0b386ed4a101e4a6c5f3c47b4374

Registrator tree SHA: 17aec322677d9b81cdd6b9b9236b09a3f1374c6a
@JuliaRegistrator JuliaRegistrator force-pushed the registrator-juliabugs-ba9fb4c0-v0.3.0-a890b4ef2d branch from 32606bb to 57460d3 Compare February 26, 2024 19:28
JuliaRegistrator referenced this pull request in TuringLang/JuliaBUGS.jl Feb 26, 2024
The original names `program!`, `for_loops!`, and `assignment!` are
confusing, so renamed them for better clarity.
Also some docstrings are removed: the code should be clear enough.
No actual changes.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@JuliaTagBot JuliaTagBot merged commit 4a99c91 into master Feb 26, 2024
11 checks passed
@JuliaTagBot JuliaTagBot deleted the registrator-juliabugs-ba9fb4c0-v0.3.0-a890b4ef2d branch February 26, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants