You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Motivation
<!-- Why is this change necessary? -->
# Content
<!-- Please include a summary of the change -->
# Testing
<!-- How was the change tested? -->
# Please check the following before marking your PR as ready for review
- [ ] I have added tests for my changes
- [ ] I have updated the documentation or added new documentation as
needed
- [ ] I have read and agree to the [Contributor License
Agreement](../CLA.md)
[](https://x.com/codegen)
19
20
20
21
</div>
21
22
@@ -41,7 +42,8 @@ for function in codebase.functions:
41
42
Write code that transforms code. Codegen combines the parsing power of [Tree-sitter](https://tree-sitter.github.io/tree-sitter/) with the graph algorithms of [rustworkx](https://github.com/Qiskit/rustworkx) to enable scriptable, multi-language code manipulation at scale.
42
43
43
44
## Installation and Usage
44
-
**This library requires Python 3.12 – 3.13.**
45
+
This library requires **Python 3.12 – 3.13**. Currently, Codegen only supports macOS.
46
+
45
47
```
46
48
# Install inside existing project
47
49
uv pip install codegen
@@ -54,7 +56,7 @@ cd path/to/repo
54
56
codegen init
55
57
codegen create test-function
56
58
57
-
# Run said codemod
59
+
# Run the codemod
58
60
codegen run test-function
59
61
60
62
# Create an isolated venv with codegen => open jupyter
@@ -63,20 +65,18 @@ codegen notebook
63
65
64
66
## Usage
65
67
66
-
See [https://docs.codegen.com/introduction/getting-started] for a full tutorial.
68
+
See [Getting Started](https://docs.codegen.com/introduction/getting-started) for a full tutorial.
Software development is fundamentally programmatic. Refactoring a codebase, enforcing patterns, or analyzing control flow - these are all operations that can (and should) be expressed as programs themselves.
0 commit comments