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

Bootstrap for generate Shire #36

Closed
phodal opened this issue Jul 6, 2024 · 0 comments
Closed

Bootstrap for generate Shire #36

phodal opened this issue Jul 6, 2024 · 0 comments

Comments

@phodal
Copy link
Owner

phodal commented Jul 6, 2024

use LLM to geneerate shire script

phodal added a commit that referenced this issue Jul 8, 2024
Remove unnecessary disposableFlag and Disposer registration. Simplify isApplicable method.
phodal added a commit that referenced this issue Jul 8, 2024
Refactor the `execute` method in `SaveFileProcessor` for better readability and maintainability. Split the method into smaller functions for handling temp and project files separately.
phodal added a commit that referenced this issue Jul 9, 2024
- Update references to FrontmatterParser with HobbitHoleParser for consistency and clarity in codebase.
phodal added a commit that referenced this issue Jul 9, 2024
Refactor the HobbitHole class to include new properties like actionLocation, variables, and more. Add examples and explanations for each property.
phodal added a commit that referenced this issue Jul 9, 2024
Update the Hobbit Hole documentation with detailed information and examples based on the existing code and test cases.
phodal added a commit that referenced this issue Jul 9, 2024
Adds a new Tee subclass to PatternActionFunc for writing content to one or more files. The Tee class includes an append flag to determine whether to append or overwrite content. Updates to PatternFuncProcessor and HobbitHoleParser accommodate the new Tee functionality.
phodal added a commit that referenced this issue Jul 9, 2024
This commit extends the syntax of pipeline arguments in the ShireParser by allowing variable references. Additionally, it includes a new test case for the 'ContentTee' functionality.

The changes in the parser now permit the use of variables within function calls, enhancing the language's expressiveness. The new test ensures that the 'ContentTee' feature works as expected, covering the scenario where content is teed to a variable location.
```
phodal added a commit that referenced this issue Jul 9, 2024
Add a new `Append` functionality to the list of built-in post handlers.
Implement `AppendProcessor` to handle appending text to the generated output.
Update the shirecore.xml to include the new `AppendProcessor`.
phodal added a commit that referenced this issue Jul 9, 2024
#36

Expose the `compiledVariables` map in `PostCodeHandleContext`, `ShireRunner`, and `ShireTemplateCompiler` to allow for sharing and updating of compiled variables between different parts of the system. This ensures that variables are available throughout the execution flow, enhancing the overall templating and processing capabilities.
phodal added a commit that referenced this issue Jul 9, 2024
… functionality #36

- Enhance ShireTemplateCompiler by adding a new compileVariable function to handle variable compilation more efficiently.
- Update ShirePatternPipelineTest to reflect changes in the ShireTemplateCompiler usage and add a new assertion for the generated text.
- Modify AppendProcessor to handle variable substitution in the output text.
@phodal phodal closed this as completed Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant