Skip to content

Implementing custom rules on Rusty #1263

Answered by ghaith
jeremyjosephabraham asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @jeremyjosephabraham,
validations are in the validation module (src/validation.rs). They depend not on a generated model but on a parsed/indexed/resolved module. The driver will guide you through the procedures. Code generation happens at the end, so it can be ignored. You can usually skip generation using the check sub-command or the --check flag instead of the build sub-command.

As you said you intend to change the AST/parser, could you give us examples on how these modifications would look like?
Are you intending to contribute to the main source or do you want to use rusty as part of another project?
In case you want to use it in another project, RuSTy is built as a library. In g…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jeremyjosephabraham
Comment options

@ghaith
Comment options

Answer selected by jeremyjosephabraham
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants