-
Notifications
You must be signed in to change notification settings - Fork 21
[Py]Implement the dotprompt.ts in python #90
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
Labels
Comments
yesudeep
added a commit
that referenced
this issue
Mar 24, 2025
… not have an AST to walk #90 ISSUE: #90 The JS implementation of Handlebars exposes a parse method that returns an AST, which the `dotprompt.ts` implementation walks to identify partials in the template. Since, we couldn't find any methods in the Rust implementation yet that expose this functionality, we've resorted to using regular expressions to match and find partials in the template for now. CHANGELOG: - [ ] Use regexps to find partials in the template. - [ ] Add unit tests. - [ ] Fix some doc comments.
3 tasks
yesudeep
added a commit
that referenced
this issue
Mar 24, 2025
… not have an AST to walk #90 (#150) ISSUE: #90 The JS implementation of Handlebars exposes a parse method that returns an AST, which the `dotprompt.ts` implementation walks to identify partials in the template. Since, we couldn't find any methods in the Rust implementation yet that expose this functionality, we've resorted to using regular expressions to match and find partials in the template for now. CHANGELOG: - [ ] Use regexps to find partials in the template. - [ ] Add unit tests. - [ ] Fix some doc comments.
This was referenced Mar 25, 2025
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: