├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE.txt ├── README.md ├── assets ├── dalle_logo.png └── examples │ ├── dalle_logo.png │ ├── dalle_philip_seymour_in_cars_movie.jpg │ ├── dalle_ranch_testifying_in_court.jpg │ ├── ex1_dalle_red.jpg │ ├── ex2_circle_seymour.jpg │ ├── ex2_cropped_seymour.jpg │ ├── ex2_highlight_mcqueen.jpg │ ├── ex3_rotate_ranch.jpg │ └── ex4_circle_edge_range.jpg ├── src ├── ast.rs ├── attrs.rs ├── context.rs ├── ctx_ops.rs ├── eval.rs ├── float_ops.rs ├── iqparser.lalrpop ├── lib.rs └── main.rs └── tests ├── test_expressions.rs └── test_files ├── images ├── dalle_logo.png ├── dalle_philip_seymour_in_cars_movie.png └── dalle_ranch_testifying_in_court.png └── scripts ├── color_scale.iq ├── identity.iq ├── nested_match_and_alpha.iq └── sobel_edge_detection.iq /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /prototype 3 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/README.md -------------------------------------------------------------------------------- /assets/dalle_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/assets/dalle_logo.png -------------------------------------------------------------------------------- /assets/examples/dalle_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/assets/examples/dalle_logo.png -------------------------------------------------------------------------------- /assets/examples/dalle_philip_seymour_in_cars_movie.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/assets/examples/dalle_philip_seymour_in_cars_movie.jpg -------------------------------------------------------------------------------- /assets/examples/dalle_ranch_testifying_in_court.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/assets/examples/dalle_ranch_testifying_in_court.jpg -------------------------------------------------------------------------------- /assets/examples/ex1_dalle_red.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/assets/examples/ex1_dalle_red.jpg -------------------------------------------------------------------------------- /assets/examples/ex2_circle_seymour.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/assets/examples/ex2_circle_seymour.jpg -------------------------------------------------------------------------------- /assets/examples/ex2_cropped_seymour.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/assets/examples/ex2_cropped_seymour.jpg -------------------------------------------------------------------------------- /assets/examples/ex2_highlight_mcqueen.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/assets/examples/ex2_highlight_mcqueen.jpg -------------------------------------------------------------------------------- /assets/examples/ex3_rotate_ranch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/assets/examples/ex3_rotate_ranch.jpg -------------------------------------------------------------------------------- /assets/examples/ex4_circle_edge_range.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/assets/examples/ex4_circle_edge_range.jpg -------------------------------------------------------------------------------- /src/ast.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/src/ast.rs -------------------------------------------------------------------------------- /src/attrs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/src/attrs.rs -------------------------------------------------------------------------------- /src/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/src/context.rs -------------------------------------------------------------------------------- /src/ctx_ops.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/src/ctx_ops.rs -------------------------------------------------------------------------------- /src/eval.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/src/eval.rs -------------------------------------------------------------------------------- /src/float_ops.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/src/float_ops.rs -------------------------------------------------------------------------------- /src/iqparser.lalrpop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/src/iqparser.lalrpop -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/src/main.rs -------------------------------------------------------------------------------- /tests/test_expressions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/tests/test_expressions.rs -------------------------------------------------------------------------------- /tests/test_files/images/dalle_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/tests/test_files/images/dalle_logo.png -------------------------------------------------------------------------------- /tests/test_files/images/dalle_philip_seymour_in_cars_movie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/tests/test_files/images/dalle_philip_seymour_in_cars_movie.png -------------------------------------------------------------------------------- /tests/test_files/images/dalle_ranch_testifying_in_court.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/tests/test_files/images/dalle_ranch_testifying_in_court.png -------------------------------------------------------------------------------- /tests/test_files/scripts/color_scale.iq: -------------------------------------------------------------------------------- 1 | _ => color_scale(_, 0.0) 2 | -------------------------------------------------------------------------------- /tests/test_files/scripts/identity.iq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/tests/test_files/scripts/identity.iq -------------------------------------------------------------------------------- /tests/test_files/scripts/nested_match_and_alpha.iq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/tests/test_files/scripts/nested_match_and_alpha.iq -------------------------------------------------------------------------------- /tests/test_files/scripts/sobel_edge_detection.iq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelgiba/iq/HEAD/tests/test_files/scripts/sobel_edge_detection.iq --------------------------------------------------------------------------------