├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── README.md ├── examples ├── interp.rs ├── memoize.rs ├── print.rs ├── reassociate.rs ├── reorder.rs ├── simplify.rs ├── x86-harness.c └── x86.rs ├── nix ├── sources.json └── sources.nix ├── shell.nix └── src ├── codegen ├── mod.rs ├── regalloc.rs └── x86.rs ├── ir ├── interp.rs ├── io.rs ├── memoize.rs ├── mod.rs ├── reassociate.rs ├── reorder.rs └── simplify.rs └── lib.rs /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/README.md -------------------------------------------------------------------------------- /examples/interp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/examples/interp.rs -------------------------------------------------------------------------------- /examples/memoize.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/examples/memoize.rs -------------------------------------------------------------------------------- /examples/print.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/examples/print.rs -------------------------------------------------------------------------------- /examples/reassociate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/examples/reassociate.rs -------------------------------------------------------------------------------- /examples/reorder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/examples/reorder.rs -------------------------------------------------------------------------------- /examples/simplify.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/examples/simplify.rs -------------------------------------------------------------------------------- /examples/x86-harness.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/examples/x86-harness.c -------------------------------------------------------------------------------- /examples/x86.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/examples/x86.rs -------------------------------------------------------------------------------- /nix/sources.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/nix/sources.json -------------------------------------------------------------------------------- /nix/sources.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/nix/sources.nix -------------------------------------------------------------------------------- /shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/shell.nix -------------------------------------------------------------------------------- /src/codegen/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/src/codegen/mod.rs -------------------------------------------------------------------------------- /src/codegen/regalloc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/src/codegen/regalloc.rs -------------------------------------------------------------------------------- /src/codegen/x86.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/src/codegen/x86.rs -------------------------------------------------------------------------------- /src/ir/interp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/src/ir/interp.rs -------------------------------------------------------------------------------- /src/ir/io.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/src/ir/io.rs -------------------------------------------------------------------------------- /src/ir/memoize.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/src/ir/memoize.rs -------------------------------------------------------------------------------- /src/ir/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/src/ir/mod.rs -------------------------------------------------------------------------------- /src/ir/reassociate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/src/ir/reassociate.rs -------------------------------------------------------------------------------- /src/ir/reorder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/src/ir/reorder.rs -------------------------------------------------------------------------------- /src/ir/simplify.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/src/ir/simplify.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameysharp/live-long-and-prospero/HEAD/src/lib.rs --------------------------------------------------------------------------------