Development Tips
This section is for people changing Ave itself. It avoids repeating the kernel language material from the tutorials and language reference and instead focuses on the compiler and debugging workflow.
Common Workflow
- Rebuild native code after C++ or binding changes.
- Run the narrowest Python or C++ test that covers the change.
- Dump LLVM IR or assembly when generated code is the issue.
- Add a focused regression test under
test/primitivesorlib/*_test.cc.
ninja -C build
PYTHONPATH=build/python:python python -m pytest test/primitives