This repository has been archived by the owner on Dec 6, 2024. It is now read-only.
[HIGH PRIORITY] Have a new builtin processor that works with regex #41
Labels
Context: intricated
deep understanding of the codebase required
Difficulty: intermediate
require some notions, but can be learned while doing
Duration: 2 days
will take about 2 days
Techno: cairo
cairo
Techno: rust
rust
Type: feature
a new feature to implement
Context
The cairo-rs vm has a trait
HintProcessor
, that is currently only implemented by theirBuiltinHintProcessor
.This processor let us add custom hints, matching the hint code with an hardcoded string.
Goal
We want to go further with these custom hints, and be able to have a hint processor that will match hints based on a regex.
This would let us provide arguments to the Rust hint function associated with a regex.
I did a PR for this in the vm repo, but it was suggested that this should live in our project directly.
You can find some documentation here to learn more about their hint processor concept: https://github.com/lambdaclass/cairo-rs/tree/main/docs/hint_processor
What we expect from you
RegexHintProcessor
used in our repo to be able to add regex-based custom hintsThe text was updated successfully, but these errors were encountered: