diff --git a/=23.0.0 b/=23.0.0 new file mode 100644 index 0000000..3a17054 --- /dev/null +++ b/=23.0.0 @@ -0,0 +1,20 @@ +Defaulting to user installation because normal site-packages is not writeable +Collecting black + Downloading black-25.11.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (85 kB) + ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.2/85.2 kB 6.0 MB/s eta 0:00:00 +Requirement already satisfied: click>=8.0.0 in /usr/lib/python3/dist-packages (from black) (8.1.6) +Collecting mypy-extensions>=0.4.3 (from black) + Downloading mypy_extensions-1.1.0-py3-none-any.whl.metadata (1.1 kB) +Requirement already satisfied: packaging>=22.0 in /usr/lib/python3/dist-packages (from black) (24.0) +Collecting pathspec>=0.9.0 (from black) + Downloading pathspec-0.12.1-py3-none-any.whl.metadata (21 kB) +Requirement already satisfied: platformdirs>=2 in /usr/local/lib/python3.12/dist-packages (from black) (4.5.0) +Collecting pytokens>=0.3.0 (from black) + Downloading pytokens-0.3.0-py3-none-any.whl.metadata (2.0 kB) +Downloading black-25.11.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.7 MB) + ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 51.7 MB/s eta 0:00:00 +Downloading mypy_extensions-1.1.0-py3-none-any.whl (5.0 kB) +Downloading pathspec-0.12.1-py3-none-any.whl (31 kB) +Downloading pytokens-0.3.0-py3-none-any.whl (12 kB) +Installing collected packages: pytokens, pathspec, mypy-extensions, black +Successfully installed black-25.11.0 mypy-extensions-1.1.0 pathspec-0.12.1 pytokens-0.3.0 diff --git a/examples/robot_arm.eigs b/examples/syntax_demos/robot_arm.eigs similarity index 100% rename from examples/robot_arm.eigs rename to examples/syntax_demos/robot_arm.eigs diff --git a/examples/robot_simple.eigs b/examples/syntax_demos/robot_simple.eigs similarity index 100% rename from examples/robot_simple.eigs rename to examples/syntax_demos/robot_simple.eigs diff --git a/src/eigenscript/compiler/codegen/llvm_backend.py b/src/eigenscript/compiler/codegen/llvm_backend.py index 7b0d792..59b7f6d 100644 --- a/src/eigenscript/compiler/codegen/llvm_backend.py +++ b/src/eigenscript/compiler/codegen/llvm_backend.py @@ -1144,7 +1144,7 @@ def _generate_relation(self, node: Relation) -> ir.Value: raise CompilerError( f"Function '{mangled_name}' not found", hint=f"Make sure module '{module_name}' is imported and compiled first", - node=node + node=node, ) # Generate the argument (same logic as user-defined functions) @@ -1160,9 +1160,7 @@ def _generate_relation(self, node: Relation) -> ir.Value: elif gen_arg.kind == ValueKind.EIGEN_PTR: call_arg = gen_arg.value else: - raise TypeError( - "Cannot pass List to function expecting EigenValue" - ) + raise TypeError("Cannot pass List to function expecting EigenValue") elif isinstance(gen_arg, ir.Value): if gen_arg.type == self.double_type: # JIT Promotion: Scalar -> Stack EigenValue @@ -1361,7 +1359,7 @@ def _generate_member_access(self, node: MemberAccess) -> GeneratedValue: raise CompilerError( "Member access only supported for module.function pattern", hint="Example: control.apply_damping", - node=node + node=node, ) module_name = node.object.name