├── .bazelignore ├── .github ├── CODEOWNERS └── workflows │ └── build.yml ├── .gitignore ├── BUILD ├── LICENSE ├── README.md ├── WORKSPACE ├── clodl ├── BUILD └── clodl.bzl ├── docs └── BUILD ├── nixpkgs.nix ├── serve-docs.sh ├── shell.nix ├── src └── main │ ├── bash │ ├── common │ │ └── routines.sh │ ├── copy-closure.sh │ ├── darwin │ │ └── routines.sh │ └── routines.sh │ └── cc │ └── loader.cc └── tests ├── .bazelrc ├── BUILD ├── WORKSPACE ├── nixpkgs.nix └── src ├── main ├── cc │ └── bootstrap.c └── java │ └── io │ └── tweag │ └── jarify │ ├── HaskellLibraryLoader.java │ └── JarifyMain.java └── test ├── cc └── hello │ ├── lib.c │ └── main.c └── haskell └── hello └── Main.hs /.bazelignore: -------------------------------------------------------------------------------- 1 | tests 2 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @facundominguez 2 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/.gitignore -------------------------------------------------------------------------------- /BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/BUILD -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/README.md -------------------------------------------------------------------------------- /WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/WORKSPACE -------------------------------------------------------------------------------- /clodl/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/clodl/BUILD -------------------------------------------------------------------------------- /clodl/clodl.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/clodl/clodl.bzl -------------------------------------------------------------------------------- /docs/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/docs/BUILD -------------------------------------------------------------------------------- /nixpkgs.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/nixpkgs.nix -------------------------------------------------------------------------------- /serve-docs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/serve-docs.sh -------------------------------------------------------------------------------- /shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/shell.nix -------------------------------------------------------------------------------- /src/main/bash/common/routines.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/src/main/bash/common/routines.sh -------------------------------------------------------------------------------- /src/main/bash/copy-closure.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/src/main/bash/copy-closure.sh -------------------------------------------------------------------------------- /src/main/bash/darwin/routines.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/src/main/bash/darwin/routines.sh -------------------------------------------------------------------------------- /src/main/bash/routines.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/src/main/bash/routines.sh -------------------------------------------------------------------------------- /src/main/cc/loader.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/src/main/cc/loader.cc -------------------------------------------------------------------------------- /tests/.bazelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/tests/.bazelrc -------------------------------------------------------------------------------- /tests/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/tests/BUILD -------------------------------------------------------------------------------- /tests/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/tests/WORKSPACE -------------------------------------------------------------------------------- /tests/nixpkgs.nix: -------------------------------------------------------------------------------- 1 | ../nixpkgs.nix -------------------------------------------------------------------------------- /tests/src/main/cc/bootstrap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/tests/src/main/cc/bootstrap.c -------------------------------------------------------------------------------- /tests/src/main/java/io/tweag/jarify/HaskellLibraryLoader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/tests/src/main/java/io/tweag/jarify/HaskellLibraryLoader.java -------------------------------------------------------------------------------- /tests/src/main/java/io/tweag/jarify/JarifyMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/tests/src/main/java/io/tweag/jarify/JarifyMain.java -------------------------------------------------------------------------------- /tests/src/test/cc/hello/lib.c: -------------------------------------------------------------------------------- 1 | int f() { 2 | return 1; 3 | } 4 | -------------------------------------------------------------------------------- /tests/src/test/cc/hello/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/tests/src/test/cc/hello/main.c -------------------------------------------------------------------------------- /tests/src/test/haskell/hello/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweag/clodl/HEAD/tests/src/test/haskell/hello/Main.hs --------------------------------------------------------------------------------